fix(observers): separate packet metrics from presence updates

This commit is contained in:
n30nex authored and MrAlders0n committed 2026-09-30 07:19:02 -04:00
1 parent fd7c6b3eb7
commit 5fbba24a4a
31 files changed
+844 -93

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ type Reader interface {
// GetObserverActivity returns bucketed heard-activity for an observer over the trailing window.
// interval >= 1h is served from the hourly rollup. Returns pgx.ErrNoRows for an unknown observer.
// Range and Interval on the result are left empty for the handler to fill.
GetObserverActivity(ctx context.Context, observerID uuid.UUID, window, interval time.Duration) (*ObserverActivity, error)
GetObserverActivity(ctx context.Context, observerID uuid.UUID, window, interval time.Duration, until time.Time) (*ObserverActivity, error)
// GetObserverScopes returns the names of all transport scopes an observer has
// been seen forwarding packets for, ordered alphabetically.