Possible to show custom meters on Dashboard Metrics? #2383
-
I added a custom meter thinking that it would show up on the Metrics page of the Dashboard, but I still see only the defaults: Microsoft.AspNetCore.Hosting Wasn't the idea of the Dashboard combined with the OTLP exporter to show custom meters too? Otherwise you have to use a specific exporter like Prometheus and visualize custom metrics in a separate tool like Grafana. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
You need to explicitly add code to your application to make it show up. builder.Services.AddOpenTelemetry().WithMetrics(m => m.AddMeter("YourMeter")); |
Beta Was this translation helpful? Give feedback.
-
Hi, how can we achieve the same results when using the Aspire Dashboard as an independent Docker container? |
Beta Was this translation helpful? Give feedback.
You need to explicitly add code to your application to make it show up.