Observability
This guide explains how to monitor the health, queue depth, and throughput of the NIM for BGR. You can access operational metrics directly through the built-in status endpoint, or integrate with Prometheus and Grafana for continuous monitoring.
BGR-Specific Metrics
NIM for BGR exposes operational metrics using the GET /v1/status
endpoint. These metrics provide visibility into the batched geometry relaxation
workload.
Aggregate Metrics
Aggregate metrics track the combined geometry relaxation tasks, API requests, and overall queue depths across all active GPU workers:
Per-Worker Metrics
Each GPU worker reports its own metrics from the following:
Query Status
Query the status endpoint to retrieve metrics:
For the full response schema and an example, refer to the GET /v1/status endpoint in the API Reference.
Prometheus
NIM for BGR exposes Prometheus metrics
for request statistics at http://localhost:8000/v1/metrics.
To install Prometheus and scrape metrics:
-
Download the latest Prometheus release for your system:
-
Edit the
prometheus.ymlfile to scrape the NIM for BGR endpoint: -
Start the Prometheus server:
-
Verify the target in Prometheus by navigating to http://localhost:9090/targets?search=.
Grafana
Visualize metrics with Grafana.
-
Install the latest Grafana release for your system:
-
Start the Grafana server:
-
Access the dashboard by navigating to http://localhost:3000 and log in with the default credentials:
- Username:
admin - Password:
admin
- Username:
-
Configure the Prometheus data source:
- Click Data Source.
- Select Prometheus.
- Set the URL to
localhost:9090. - Save the configuration.
Related Topics
- API Reference for the
/v1/statusendpoint schema - Performance for benchmark results