-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metrics page may appear blank after a few seconds. #5713
Comments
Is the scraping endpoint setup as well? (The code snippet above does not indicate so...) |
FYI: |
@mhdimsy, please give a chance to OpenTelemetry.Exporter.Prometheus.AspNetCore 1.9.0-beta.2. It was released yesterday. |
@Kielek , Thanks it works. |
@mhdimsy, please check https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/Instrumentation.AspNetCore-1.9.0/src/OpenTelemetry.Instrumentation.AspNetCore/README.md#metrics I am closing this as the issue was solved. Please create separate one if you fins some problems with metrics. |
What is the question?
Hello everyone.
The metrics page may appear blank after a few seconds.
Then Prometheus shows the job is up, but metrics are not scraped.
My config is
I use dotnet 6 and this packages:
OpenTelemetry.Exporter.Console 1.9.0
OpenTelemetry.Exporter.Prometheus.AspNetCore 1.9.0-beta.1
OpenTelemetry.Extensions.Hosting 1.9.0
OpenTelemetry.Instrumentation.AspNetCore 1.9.0
OpenTelemetry.Instrumentation.EntityFrameworkCore 1.0.0-beta.12
OpenTelemetry.Instrumentation.Http 1.9.0
OpenTelemetry.Instrumentation.Runtime 1.9.0
OpenTelemetry.Instrumentation.SqlClient 1.9.0-beta.1
Even though nothing is being collected, it takes 259.968 to complete(last scraping).
The text was updated successfully, but these errors were encountered: