After update to 1.8 version and when using the ASP .Net Core Prometheus exporter and /metrics end point I get error on Prometheus some times. #5506
Labels
bug
Something isn't working
pkg:OpenTelemetry.Exporter.Prometheus.AspNetCore
Issues related to OpenTelemetry.Exporter.Prometheus.AspNetCore NuGet package
Bug Report
List of all OpenTelemetry NuGet
packages and version that you are
using (e.g.
OpenTelemetry 1.0.2
):Metrics I use:
.AddMeter("Microsoft.AspNetCore.Hosting",
"Microsoft.AspNetCore.Routing",
"Microsoft.AspNetCore.Diagnostics",
"Microsoft.AspNetCore.Server.Kestrel",
"Polly",
"MassTransit"
Symptom
PrometheusTargetMissing ***** (http monitor/prometheus critical)[FIRING:3]
With info:
A Prometheus target has disappeared. An exporter might be crashed.
The text mention:
"expected equal, got INVALID"
When I revert to version 1.7 the problem stops with the same meters on.
Same error in beta and rc1 version of 1.8 exporter. Not a valid output.
What did you see instead?
I get alarm from Prometheus with:
description = A Prometheus target has disappeared. An exporter might be crashed. VALUE = 0 LABELS =
Reproduce
Use 1.8 version of Open Telemetry and the 1.8 rc1 of the Prometheus asp.net core exporter
The text was updated successfully, but these errors were encountered: