From 8fe35d9a294d63281381c88a22202e47113fe664 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Tue, 24 Oct 2023 16:54:14 +0100 Subject: [PATCH] remove unneeded files --- Examples/otel-dotnet/Program.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Examples/otel-dotnet/Program.cs b/Examples/otel-dotnet/Program.cs index d569b2cdb0..fa31193fb8 100644 --- a/Examples/otel-dotnet/Program.cs +++ b/Examples/otel-dotnet/Program.cs @@ -88,17 +88,6 @@ builder.Services.AddOpenTelemetry() var app = builder.Build(); - - - -var value = 1; - -int getGuage() -{ - value++; - return value; -} - greeterMeter.CreateObservableGauge("ThreadCount", () => new[] { new Measurement(ThreadPool.ThreadCount) }); var countGreetings = greeterMeter.CreateCounter("greetings.count", description: "Counts the number of greetings");