Observability for Nemotron Safety Guard NIM
NIM provides Prometheus metrics for request statistics. You can use these metrics to create dashboards with Grafana. By default, metrics are available at http://localhost:8000/v1/metrics.
Prometheus
Install Prometheus and configure its prometheus.yml file to scrape NIM at localhost:8000:
Start Prometheus:
Open http://localhost:9090/targets to verify that Prometheus detects the NIM target.
Grafana
Install Grafana, then start its server:
Open http://localhost:3000 and sign in with the default admin / admin credentials. Add Prometheus as a data source with the URL localhost:9090.