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

Metrics: Report software versions for operator #190

Open
spuiuk opened this issue Apr 28, 2022 · 7 comments
Open

Metrics: Report software versions for operator #190

spuiuk opened this issue Apr 28, 2022 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@spuiuk
Copy link
Collaborator

spuiuk commented Apr 28, 2022

It would be very useful to see the underlying software versions in the metrics page.

The software I am interested in are:

  1. Samba version.
  2. CTDB version (if in clustering mode).
@synarete
Copy link
Collaborator

@spuiuk What command should I issue to get the CTDB version?

@spuiuk
Copy link
Collaborator Author

spuiuk commented May 12, 2022

For ctdb specifically we can use the ctdb version command.

However maybe we should just rely on rpm commands - so something similar to
rpm -q ctdb samba python3
?

@spuiuk
Copy link
Collaborator Author

spuiuk commented May 12, 2022

also sambacc when we ship it as rpm.

@synarete
Copy link
Collaborator

Cool -- using rpm -q is the simplest solution. Thanks.

@obnoxxx
Copy link
Collaborator

obnoxxx commented Jan 18, 2023

ctdb had a separate version only in the very beginning. since ctdb code was merged into the samba git repo a long time go, the ctdb version is just the samba version. I don't even remember whether ctdb reports its own version any more ..., @synarete , @spuiuk

@obnoxxx obnoxxx added the enhancement New feature or request label Dec 4, 2024
@obnoxxx
Copy link
Collaborator

obnoxxx commented Dec 4, 2024

should this be an issue in the smbmetrics project? @spuiuk , @synarete

@synarete
Copy link
Collaborator

synarete commented Dec 4, 2024

should this be an issue in the smbmetrics project? @spuiuk , @synarete

Both of those values are already reported via labels on smb_metrics_status metric

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

No branches or pull requests

3 participants