Add information about a usable dashboard

Robert Drake 2025-09-25 12:05:32 -04:00
parent 8781102327
commit a052368eaf

@ -104,6 +104,8 @@ scrape_configs:
- job_name: netbox
static_configs:
- targets: ['netbox:8080']
labels:
app: 'netbox'
- job_name: postgresql
static_configs:
@ -135,3 +137,10 @@ The default credentials are `admin:admin`.
You will find several user-made [dashboards on the Grafana page](https://grafana.com/grafana/dashboards?dataSource=prometheus) which are easy to import using the Grafana Dashboard ID.
There are already dashboard for Nginx, PostgreSQL, Redis, Prometheus and also Django (which is the framework on which NetBox is built).
For more information see the [_importing a dashboard_ and _discover dashboards on grafana.com_ articles](https://grafana.com/docs/grafana/latest/dashboards/export-import/#importing-a-dashboard).
https://grafana.com/grafana/dashboards/17658-django/ works well with django-prometheus. It needs "app: 'netbox'" assigned in the labels which I have added to the example prometheus.yml above.
The "Cache Hit Ratio" does not work because netbox is not exposing it's cache information through django. I'm not sure if this is intentional or an oversite, but fixing the netbox settings.py file is an option if the django-prometheus caching is compatible.