refactor: Simplify telemetry metrics by removing site_id and enhancing tunnel_id usage

This commit is contained in:
Marc Schäfer
2025-10-07 18:43:09 +02:00
parent f8fd8e1bc5
commit a86b14d97d
10 changed files with 53 additions and 54 deletions

View File

@@ -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)