Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus metrics #76

Open
davidban77 opened this issue Mar 23, 2023 · 0 comments
Open

Prometheus metrics #76

davidban77 opened this issue Mar 23, 2023 · 0 comments

Comments

@davidban77
Copy link

Environment

  • Nautobot version: 1.5.13 (to get metrics.py support)
  • nautobot-plugin-device-lifecycle-mgmt version: latest

Proposed Functionality

Expose Prometheus metrics for this app. Examples:

Get Value Secrets Total and Errors

Providers like AWS have get_value_secrets method which could expose metrics for its gets and its errors:

  • nautobot_secrets_provider_get_value_secrets_total{provider="aws"} 27.0
  • nautobot_secrets_provider_get_value_secrets_errors_total{provider="aws", error_code="DecryptionFailureException"} 2.0

These are just a few examples.

Use Case

Allow users of the platform to generate time series from their Nautobot instance. In the end this could troubleshoot and get more insight of their Nautobot platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant