mirror of
https://github.com/fosrl/newt.git
synced 2026-03-26 20:46:41 +00:00
refactor: Simplify telemetry metrics by removing site_id and enhancing tunnel_id usage
This commit is contained in:
@@ -36,7 +36,7 @@ func TestMetricsSmoke(t *testing.T) {
|
||||
defer ts.Close()
|
||||
|
||||
// Record a simple metric and then fetch /metrics
|
||||
IncConnAttempt(ctx, "site-1", "websocket", "success")
|
||||
IncConnAttempt(ctx, "websocket", "success")
|
||||
// Give the exporter a tick to collect
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user