mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-10-22 13:02:26 +00:00
fix(observers): separate packet metrics from presence updates
This commit is contained in:
1 parent
fd7c6b3eb7
commit
5fbba24a4a
31 files changed
+844
-93
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user