Example of a docker composed Blazor WebAssembly application that includes support for both Prometheus and Grafana.
- Visual Studio 2022
- Docker
- Open BlazorWebAssemblyPrometheusExample.sln
- Run the "docker-compose" project
- The Blazor application can be found at http://localhost:4200/
- Prometheus can be found at http://localhost:9090/
- Grafana can be found at http://localhost:3000/
- Open Grafana
- Login into Grafana by using "admin" for both the username and password
- Enter a new password
- Go to Dashboards -> New -> Import
- Upload the JSON file called "GrafanaTestDashboard1.json"
- Select "Prometheus" as the data source