Skip to content

Commit

Permalink
add metrics exporter too
Browse files Browse the repository at this point in the history
  • Loading branch information
cartermp committed Sep 20, 2022
1 parent 03cacea commit 4974e72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Honeycomb.OpenTelemetry/MeterProviderBuilderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ public static MeterProviderBuilder AddHoneycomb(this MeterProviderBuilder builde
{
builder.AddMeter(meterName);
}

if (options.Debug)
{
builder.AddConsoleExporter();
}
}

return builder;
Expand Down

0 comments on commit 4974e72

Please sign in to comment.