Victor
Victor

Reputation: 51

What is the recommended approach to collect and send metrics to Prometheus for .Net Core Worker Service?

I have a .net core worker service which will run in the background. I would like to capture metrics about the health status of the service and it needs to be consumed by Prometheus.

What is the recommended approach whether we need to use default pull model or pushgateway?

Upvotes: 5

Views: 610

Answers (1)

Gru97
Gru97

Reputation: 591

You can use a standalone server of prometheus-net package which is a great package for working with Prometheus in dotnet, as noted in it's documentation.

Upvotes: 1

Related Questions