Faster ASP.Net Core implementation of Exporter Prometheus #124
Labels
pkg:OpenTelemetry.Exporter.Prometheus.AspNetCore
Issues related to OpenTelemetry.Exporter.Prometheus.AspNetCore NuGet package
Milestone
As a dev using ASP.Net Core MVC, I mainly use the file
appsettings.json
to assign different settings. We could use that file to do the heavy lifting of setting-up Prometheus Exporter.Instead of using this method to init the Exporter:
We could promote something like this:
If you are interested, I could work on the parsing of the appsettings file. My json file structure might not be optimal, comments are welcomed. The only risk from this implementation is to make sure to not duplicate TagKeys considering they're declared in each of the "Views" themself.
The text was updated successfully, but these errors were encountered: