Skip to content
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

prometheus scraping endpoint changed to UseOpenTelemetryPrometheusScrapingEndpoint #44562

Open
kejvi-doko opened this issue Jan 28, 2025 · 0 comments

Comments

@kejvi-doko
Copy link

kejvi-doko commented Jan 28, 2025

Type of issue

Outdated article

Description

To configure the Prometheus scraping endpoint the method have been updated to:

app.UseOpenTelemetryPrometheusScrapingEndpoint()

For more information follow this https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Exporter.Prometheus.AspNetCore/README.md

Page URL

https://learn.microsoft.com/en-us/dotnet/core/diagnostics/observability-prgrja-example

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/diagnostics/observability-prgrja-example.md

Document Version Independent Id

59d4807e-8b88-9d39-cd51-977792064cf6

Article author

@tommcdon

Metadata

  • ID: eded9b69-1a38-a8bb-7e76-2f72a2e78abe
  • Service: dotnet-fundamentals

Related Issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant