-
Notifications
You must be signed in to change notification settings - Fork 839
Open
Labels
Description
This is a general query and not an issue but more of a help needed in understanding how to push results to prometheus.
Below is my setup in Startup.cs
app.UseHealthChecksPrometheusExporter("/prometheus");
On browsing this endpoint I can see the page in Prometheus text format. Now how do I visualize or link this data in the actual prometheus environment or Grafana.
- I have a local environment of Prometheus running through docker in my system http://localhost:9090
- I have a local environment of Grafana running through docker in my system http://localhost:3030
Below are the references I am using in my .NET Core API :
- Microsoft.AspNetCore.Diagnostics.HealthChecks 2.2.0
- Microsoft.Extensions.Diagnostics.HealthChecks 3.1.4
- AspNetCore.HealthChecks.Prometheus.Metrics 3.1.3
saber13812002saber13812002saber13812002