Report aggregate metrics for REST & GraphQL API requests #9611

Open
opened 2025-12-29 21:19:43 +01:00 by adam · 1 comment
Owner

Originally created by @jeremystretch on GitHub (May 7, 2024).

NetBox version

v4.0.0

Feature type

New functionality

Proposed functionality

Introduce additional Prometheus metrics for reporting on the aggregate number of REST & GraphQL API requests over time.

Use case

These metrics will provide additional insight into how the NetBox APIs are consumed by external clients.

Database changes

None

External dependencies

This is expected to leverage the existing metrics functionality provided by django-prometheus; no new dependencies are anticipated.

Originally created by @jeremystretch on GitHub (May 7, 2024). ### NetBox version v4.0.0 ### Feature type New functionality ### Proposed functionality Introduce additional [Prometheus metrics](https://docs.netbox.dev/en/stable/integrations/prometheus-metrics/) for reporting on the aggregate number of REST & GraphQL API requests over time. ### Use case These metrics will provide additional insight into how the NetBox APIs are consumed by external clients. ### Database changes None ### External dependencies This is expected to leverage the existing metrics functionality provided by [django-prometheus](https://github.com/korfuri/django-prometheus); no new dependencies are anticipated.
adam added the type: featurenetboxstatus: backlogcomplexity: high labels 2025-12-29 21:19:43 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 20, 2024):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Aug 20, 2024): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9611