This is a sample dockerized web API CRUD as a sole purpose to be a start point to work with Prometheus custom metrics and Grafana. What actually was done? It was created a custom gauge metric to scrape amount of orders from the last 10 days from database using a background job to keep constantly up to date.
The following dashboard template was used: prometheus-net
Please download the custom dashboard.
You need to change the stat panel to the following metric and label filter: total_order_count
and job = csharp-app
The final stage image uses the bookworm-slim
tag, which is smaller but do not contains tzdata, resulting on lack of globalization.
That's why there is no data at Start time of the process
panel.