Update the metrics example (#2675)

This commit is contained in:
Reiley Yang 2021-11-24 10:24:01 -08:00 committed by GitHub
parent f4915eaaa6
commit 0b023a6cd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -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();