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

Add a metric for software versions. #36

Merged
merged 4 commits into from
Dec 2, 2022

Conversation

Kircheneer
Copy link
Contributor

@Kircheneer Kircheneer commented Nov 4, 2022

Comes out like this

# HELP nautobot_app_versions Nautobot app versions
# TYPE nautobot_app_versions gauge
nautobot_app_versions{django="3.1.14",nautobot="1.2.11",nautobot_capacity_metrics="1.1.1",python="3.7.13"} 1.0

@nniehoff
Copy link
Contributor

nniehoff commented Nov 4, 2022

I'm concerned about the cardinality of this metric. @davidrichey84 do you think this makes sense for us to add?

@davidban77
Copy link
Contributor

@Kircheneer wondering if this could be configuration setting/flag - like SHOW_NAUTOBOT_PLUGIN_VERSIONS or something around those lines to make it optional.

We should be good to leave to the user the capability of setting up the level of detail they want in their metrics

@Kircheneer
Copy link
Contributor Author

@nniehoff I understand the concern, I have made the presence of the plugin/basic version numbers each toggle-able.

@Kircheneer Kircheneer requested review from glennmatthews and removed request for nniehoff November 9, 2022 09:20
docs/index.md Outdated Show resolved Hide resolved
nautobot_capacity_metrics/metrics.py Show resolved Hide resolved
@nniehoff nniehoff merged commit 1b94004 into nautobot:develop Dec 2, 2022
whitej6 pushed a commit that referenced this pull request Nov 27, 2023
* Add a metric for software versions.

* Make presence of plugin versions in metrics configurable.

* Update documentation and turn version metrics off by default.

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

Successfully merging this pull request may close these issues.

None yet

4 participants