You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Runtime version (e.g. net461, net48, netcoreapp3.1, net5.0 etc. You can
find this information from the *.csproj file):
netcoreapp3.1
Symptom
Using sample code before we start instrumenting our application and the Prometheus Exporter is putting the counter metrics into separate TYPE headers rather than grouping them which causes issues when scraping
We are just starting to Instrument this application and whilst the OpenTelemetry-dotnet package doesn't have mainstream metrics support yet we are hoping to be able to use one package for metrics/logs/traces to avoid bloat so looking to be early adopters of this functionality!
NB. Updated to put the expected/actual behaviour the right way around in case anyone else comes across this issue and doesnt realise i messed up the ordering.
The text was updated successfully, but these errors were encountered:
jammiemil
changed the title
Prometheus Exporter not correctly grouping by #TYPE
Prometheus Exporter for Metrics not correctly grouping by #TYPE
Aug 26, 2021
Awesome thank you, i thought it might be known but couldnt see an issue for it :)
Any ideas on the timeline for that release? We started going down a seperate rabbit hole with OTLP in the meantime but if we know this will be fixed in the near future we can just park it for now.
(since we are still in alpha, issues are not really created for known issues as there'll be too many issues to track!. once we reach beta stage (mid september), we'll have issues opened for better tracking)
Bug Report
List of NuGet packages and
version that you are using (e.g.
OpenTelemetry 1.0.2
):https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/examples/Console/TestPrometheusExporter.cs
1.2.0-alpha2
Runtime version (e.g.
net461
,net48
,netcoreapp3.1
,net5.0
etc. You canfind this information from the
*.csproj
file):netcoreapp3.1
Symptom
Using sample code before we start instrumenting our application and the Prometheus Exporter is putting the counter metrics into separate TYPE headers rather than grouping them which causes issues when scraping
What is the expected behavior?
What is the actual behavior?
Reproduce
Recreated using:
https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/examples/Console/TestPrometheusExporter.cs
with flags:
Examples.Console.exe prometheus -d 60
Additional Context
We are just starting to Instrument this application and whilst the OpenTelemetry-dotnet package doesn't have mainstream metrics support yet we are hoping to be able to use one package for metrics/logs/traces to avoid bloat so looking to be early adopters of this functionality!
NB. Updated to put the expected/actual behaviour the right way around in case anyone else comes across this issue and doesnt realise i messed up the ordering.
The text was updated successfully, but these errors were encountered: