Skip to main content

Metrics & Monitoring Extension App



An App for Nautobot.

Metrics Endpoints

Nautobot already exposes some information via a Prometheus endpoint but the information currently available are mostly at the system level and not at the application level. System metrics and application level metrics are complementary with each other.

  • SYSTEM Metrics are very useful to instrument code, track ephemeral information and get a better visibility into what is happening. (Example of metrics: nbr of requests, requests per second, nbr of exceptions, response time, etc ...) The idea is that when multiple instances of Nautobot are running behind a load balancer each one will produce a different set of metrics and the monitoring system needs to collect these metrics from all running instances and aggregate them in a dashboard. Nautobot exposes some system metrics at localhost/metrics - read more in the Nautobot Documentation.
  • APPLICATION Metrics are at a higher level and represent information that is the same across all instances of an application running behind a load balancer. If I have 3 instances of Nautobot running, there is no point to ask each of them how many Device objects I have in the database, since they will always return the same information. In this case, the goal is to expose only 1 endpoint that can be served by any running instance. The prometheus endpoint is at /api/plugins/capacity-metrics/app-metrics.

Currently the app exposes these simple metrics by default:

  • Jobs stats
  • Models count (configurable via nautobot_config.py)

In addition, it is possible to use the app configuration to expose metrics about the versions of Python, Django, Nautobot and the installed Nautobot apps/apps.

Try it out!

This App is installed in the Nautobot Community Sandbox found over at demo.nautobot.com!

For a full list of all the available always-on sandbox environments, head over to the main page on networktocode.com.

Documentation

Full documentation for this App can be found over on the Nautobot Docs website:

Contributing to the Documentation

You can find all the Markdown source for the App documentation under the docs folder in this repository. For simple edits, a Markdown capable editor is sufficient: clone the repository and edit away.

If you need to view the fully-generated documentation site, you can build it with MkDocs. A container hosting the documentation can be started using the invoke commands (details in the Development Environment Guide) on http://localhost:8001. Using this container, as your changes to the documentation are saved, they will be automatically rebuilt and any pages currently being viewed will be reloaded in your browser.

Any PRs with fixes or improvements are very welcome!

Questions

For any questions or comments, please check the FAQ first. Feel free to also swing by the Network to Code Slack (channel #nautobot), sign up here if you don't have an account.

Metadata

Release files for nautobot-capacity-metrics 4.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nautobot-capacity-metrics 4.1.1
File Size Uploaded
nautobot_capacity_metrics-4.1.1.tar.gz 1.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for nautobot-capacity-metrics 4.1.1
File Interpreter ABI Platform
nautobot_capacity_metrics-4.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 2.7 MB

Release files / nautobot_capacity_metrics-4.1.1.tar.gz

Download URL nautobot_capacity_metrics-4.1.1.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
9bde7ae06d38f99ab36d2e17396fe3120222bd3cf619450d5d357bff85210da0
BLAKE2b-256 checksum
How to use checksums
3661fe7ed455738f85cd6e63de01c4893eb60734d1f5c67fa70e3ba07ec56586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 12, 2026.

Transparency log

Release files / nautobot_capacity_metrics-4.1.1-py3-none-any.whl

Download URL nautobot_capacity_metrics-4.1.1-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8dd95d634e65ebe5010283461d48402deef51d9e920abe6e5298efd93af26657
BLAKE2b-256 checksum
How to use checksums
80775d74a2302f29d66316cc058a2255fbac71ea29661c5dc763fd99b0f447c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 12, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page