.NET library to instrument your code with Prometheus metrics
A library that makes this really easy for us is prometheus-net - we can create a minimal API that exposes metrics quickly and demonstrate a few different ways of creating metric data
A simple reference API for creating metrics and exposing them in Prometheus format via a /metrics endpoint
The source for this is in github at https://github.com/dylanmorley/dotnet-api-prometheus-metrics-reference
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
How to test the efficiency/speed of application
1 project | reddit.com/r/dotnet | 14 Apr 2022
How do you monitor your .NET web apps?
1 project | reddit.com/r/dotnet | 19 Feb 2022
Writing Prometheus exporters - the Lazy Dev way
3 projects | dev.to | 21 Dec 2021
Obsevabilidade em APIs ASP.NET core
1 project | dev.to | 26 Jul 2021
How to see Temperature data?
3 projects | reddit.com/r/PrometheusMonitoring | 8 Aug 2022