zelphus
zelphus

Reputation: 77

Example projects with Prometheus in ASP.NET Core MVC?

I want to monitor my ASP.NET Core MVC application with Prometheus. Following the instructions on https://github.com/prometheus-net/prometheus-net I managed to expose some metrics from my application as desired.

I have no previous experience using Prometheus and I am new to C# and ASP.NET Core MCV in general. Therefore I was interested in studying example projects.

Searching the web I've only managed to find minor code snippets, but nothing close to complete. Could someone guide me to example projects of this kind?

Some questions that I am interested in include

Upvotes: 6

Views: 12588

Answers (1)

phnx47
phnx47

Reputation: 635

I wrote some examples here: https://github.com/PrometheusClientNet/Prometheus.Client.Examples

But, I use my own fork: https://github.com/PrometheusClientNet/Prometheus.Client.

You can adapt for original library or you can use mine.

Your questions:

Upvotes: 6

Related Questions