Skip to content
Snippets Groups Projects
Commit cdf46c7b authored by Jan David Mol's avatar Jan David Mol
Browse files

added documentation

parent 9d87a64a
Branches
No related tags found
No related merge requests found
Pipeline #70330 skipped
...@@ -14,6 +14,8 @@ docker-compose build ...@@ -14,6 +14,8 @@ docker-compose build
docker-compose up docker-compose up
``` ```
## Look around
Once the stack has booted up, you can visit: Once the stack has booted up, you can visit:
* http://localhost:8000/polls to get to the entry point for the API of the demo app. * http://localhost:8000/polls to get to the entry point for the API of the demo app.
...@@ -34,6 +36,11 @@ django_model_inserts_total{model="question"} 0.0 ...@@ -34,6 +36,11 @@ django_model_inserts_total{model="question"} 0.0
django_model_inserts_total{model="choice"} 0.0 django_model_inserts_total{model="choice"} 0.0
``` ```
Furthermore, the default dashboard relies on ```prometheus/django.rules``` to evaluate those formulas faster ## Notes
when asked.
The plugin's documentation describes well how Django is to be extended to provide the above
metrics, and this repo allows you to play with such a setup.
The setup also includes a configuration for Prometheus. The provided dashboard in Grafana relies on
```prometheus/django.rules``` to be active, to evaluate its formulas faster when asked.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment