Skip to content

Commit

Permalink
Update the metrics example (#2675)
Browse files Browse the repository at this point in the history
  • Loading branch information
reyang authored Nov 24, 2021
1 parent f4915ea commit 0b023a6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/metrics/extending-the-sdk/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ public static void Main(string[] args)
{
using var meterProvider = Sdk.CreateMeterProviderBuilder()
.AddMeter("MyCompany.MyProduct.MyLibrary")
/*
TODO: revisit once this exception is removed "System.InvalidOperationException: Only one Metricreader is allowed.".
.AddReader(new MyReader())
*/
.AddMyExporter()
.Build();

Expand Down

0 comments on commit 0b023a6

Please sign in to comment.