netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.78k stars 2.54k forks source link

Report aggregate metrics for REST & GraphQL API requests #16012

Open jeremystretch opened 4 months ago

jeremystretch commented 4 months ago

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.

github-actions[bot] commented 3 weeks ago

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.