dotnet / dotnet/docs

prometheus scraping endpoint changed to UseOpenTelemetryPrometheusScrapingEndpoint

Open
#44,562 0 comments 0 reactions 0 assignees View on GitHub
:watch: Not Triaged dotnet-fundamentals/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

### 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](https://github.com/dotnet/docs/issues?q=is%3Aissue+is%3Aopen+59d4807e-8b88-9d39-cd51-977792064cf6)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.