kminion
kminion copied to clipboard
How to get version of the program?
I can't find any command line argument to get help or version number of installed kminion instance.
I'm using something like that
$ strings /usr/local/bin/kminion | grep 'main.builtAt' | tail -1 | cut -d '=' -f 3 | cut -d ' ' -f 1
Could you please help me with a proper way? Thank you.
Cool digging!
[docs/metrics.md] describes version label on the up metric, but it's empty for v2.2.12 and some earlier ones:
# HELP kminion_exporter_up Build info about this Prometheus Exporter. Gauge value is 0 if one or more scrapes have failed.
# TYPE kminion_exporter_up gauge
kminion_exporter_up{version=""} 1
Let's try figuring out why.