From d4a32b6d56b8601f313c957ad334571242ca47f2 Mon Sep 17 00:00:00 2001 From: Pavlo Golub Date: Tue, 27 Aug 2024 16:19:11 +0200 Subject: [PATCH] [+] add `RPCSyncRequest` to `api` --- api/types.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/types.go b/api/types.go index 7d13126251..0adf38413d 100644 --- a/api/types.go +++ b/api/types.go @@ -2,6 +2,7 @@ package api import ( "github.com/cybertec-postgresql/pgwatch/v3/internal/metrics" + "github.com/cybertec-postgresql/pgwatch/v3/internal/sinks" ) type ( @@ -10,4 +11,6 @@ type ( // MeasurementEnvelope represents a collection of measurement messages wrapped up // with metadata such as metric name, source type, etc. MeasurementEnvelope = metrics.MeasurementEnvelope + // RPCSyncRequest represents a request to sync metrics with the remote RPC sink + RPCSyncRequest = sinks.SyncReq )