Skip to content

Commit

Permalink
[+] add RPCSyncRequest to api (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub authored Aug 27, 2024
1 parent fbc3762 commit af4696b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package api

import (
"github.com/cybertec-postgresql/pgwatch/v3/internal/metrics"
"github.com/cybertec-postgresql/pgwatch/v3/internal/sinks"
)

type (
Expand All @@ -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
)

0 comments on commit af4696b

Please sign in to comment.