feat(stats): add bounded path and hash-width analytics (#159)

This commit is contained in:
n30nex
2026-09-23 20:18:41 -04:00
committed by GitHub
parent 6107578c25
commit 8a3fa7e6bf
25 changed files with 1205 additions and 4 deletions
+3
View File
@@ -164,6 +164,9 @@ type Reader interface {
// GetSignalStats aggregates retained reception readings in [since, until).
GetSignalStats(ctx context.Context, since, until time.Time, iatas []string) (*SignalStats, error)
// GetPathStats counts received path entries and validated ordinary hash widths.
GetPathStats(ctx context.Context, since, until time.Time, iatas []string) (*PathStats, error)
// GetStatsPayloadBreakdown returns observation counts grouped by payload type.
// Pass nil for iatas to return stats across all IATAs.
// since defines the start of the window; pass zero time for default (last 24h).