If we want to implement ceph-specific snap channels, we can query the ceph version from the p-c-e unit with:
cd /var/snap/prometheus-ceph-exporter/current ceph -c ceph.conf --id prometheus-ceph-exporter version
This will return a string like: ceph version 13.2.4 (b10be4d44915a4d78a8e06aa31919e74927b142e) mimic (stable)
Item 5 returned is the codename of the version on all supported revs.
If we want to implement ceph-specific snap channels, we can query the ceph version from the p-c-e unit with:
cd /var/snap/ prometheus- ceph-exporter/ current ceph-exporter version
ceph -c ceph.conf --id prometheus-
This will return a string like: d78a8e06aa31919 e74927b142e) mimic (stable)
ceph version 13.2.4 (b10be4d44915a4
Item 5 returned is the codename of the version on all supported revs.