Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulritter/opentelemetryprometheusrepro
https://github.com/paulritter/opentelemetryprometheusrepro
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/paulritter/opentelemetryprometheusrepro
- Owner: PaulRitter
- Created: 2024-01-16T11:55:42.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-17T09:46:27.000Z (12 months ago)
- Last Synced: 2024-01-18T00:48:59.455Z (12 months ago)
- Language: C#
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Reproduction of how the Prometheus Exporter does not return any data if used in a dotnet 6 project. (Issue: https://github.com/open-telemetry/opentelemetry-dotnet/issues/5224)
Inside this Repo you will find two completely identical projects, the only distinction being that one targets net6, while the other targets net8.
To run a project, navigate to either WebMetric6 or WebMetric8.
For WebMetric6, use:
```
docker build -t temp6 .
docker run -p 8080:80 temp6
```
For WebMetric8, use:
```
docker build -t temp8 .
docker run -p 8080:8080 temp8
```Now navigate to http://localhost:8080/ to generate some metrics, then head over to http://localhost:8080/metrics to see metrics if you ran the WebMetric8 project, or if you ran WebMetric6, to see `# EOF`.