Skip to content

Commit

Permalink
Disable unit counters, as they break prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
miniduikboot committed May 22, 2024
1 parent 5f00020 commit 63b3607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Boot.Metrics/BootMetricsPluginStartup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void ConfigureServices(IServiceCollection services)
.AddMeter("Boot.Metrics.*")

// Export to Prometheus
.AddPrometheusExporter());
.AddPrometheusExporter(o => o.DisableTotalNameSuffixForCounters = true));

// tracing omitted because that'd require adding spans in Impostor
}
Expand Down

0 comments on commit 63b3607

Please sign in to comment.