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:
@@ -25,7 +25,7 @@ cfg := Config{ServiceName: "newt", PromEnabled: true, AdminAddr: "127.0.0.1:0",
|
||||
defer ts.Close()
|
||||
|
||||
// Trigger a counter
|
||||
IncConnAttempt(ctx, "ignored", "websocket", "success")
|
||||
IncConnAttempt(ctx, "websocket", "success")
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
|
||||
resp, err := http.Get(ts.URL)
|
||||
|
||||
Reference in New Issue
Block a user