Skip to content

Commit

Permalink
fix: add meter
Browse files Browse the repository at this point in the history
  • Loading branch information
kengwang committed Oct 25, 2024
1 parent 8e42712 commit 2aec365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GZCTF/Extensions/TelemetryExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static void AddGZCTFMetrics(this MeterProviderBuilder metrics)
{
var gzctfMeter = new Meter(typeof(Program).Assembly.GetName().Name ?? "GZCTF",
typeof(Program).Assembly.GetName().Version?.ToString(3));

metrics.AddMeter(gzctfMeter.Name);
metrics.ConfigureServices(
services =>
{
Expand Down

0 comments on commit 2aec365

Please sign in to comment.