Update the metrics example (#2675)
This commit is contained in:
parent
f4915eaaa6
commit
0b023a6cd1
|
@ -42,10 +42,7 @@ public class Program
|
|||
{
|
||||
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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue