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

Expose mongodb_exporter version metric #700

Open
tumd opened this issue Aug 17, 2023 · 1 comment
Open

Expose mongodb_exporter version metric #700

tumd opened this issue Aug 17, 2023 · 1 comment

Comments

@tumd
Copy link

tumd commented Aug 17, 2023

Is your feature request related to a problem? Please describe.
While debugging an issue with one of our mongodb clusters, it was very helpful to be able to establish mongodb version upgrade-path & dates, which is exported in the mongodb_version_info-metric.
The same version information would be helpful related to mongodb_exporter itself.

Describe the solution you'd like
Add a similar metric like mongodb_version_info but for mongodb_exporter itself. It should contain at least a label with the version, and preferably also include labels with commit and perhaps build_date.

Describe alternatives you've considered
None.

Additional context
Something like;

mongodb_exporter_version_info{version="0.36.0", commit="917800b", build_date="2023-01-03T11:57:03Z"} 1
@linrl3
Copy link

linrl3 commented Aug 19, 2023

@BupycHuk @tumd Can I create a PR for this?

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

No branches or pull requests

3 participants