Skip to content

prometheus scraping endpoint changed to UseOpenTelemetryPrometheusScrapingEndpoint #44562

@kejvi-doko

Description

@kejvi-doko

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions