From 4f79bda5d298fe7f8a14bf43068672fe02dac684 Mon Sep 17 00:00:00 2001 From: Joel Rebello Date: Tue, 3 Sep 2024 12:30:11 +0200 Subject: [PATCH] cmd/run: include app name with run mode to differentiate telemetry --- cmd/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/run.go b/cmd/run.go index a60c2f21..bd5650c3 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -68,7 +68,7 @@ func runWorker(ctx context.Context, mode model.RunMode) { // serve metrics endpoint metrics.ListenAndServe() - ctx, otelShutdown := otelinit.InitOpenTelemetry(ctx, "flasher") + ctx, otelShutdown := otelinit.InitOpenTelemetry(ctx, "flasher-"+string(mode)) defer otelShutdown(ctx) // Setup cancel context with cancel func.