Comment 8 for bug 1899030

Revision history for this message
Drew Freiberger (afreiberger) wrote : Re: Exporter returns malformed or invalid data using latest/edge channel

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.