3 # For quincy, the last_opt_revision remains at 1 since last_opt_revision
4 # was phased out for fresh installs of quincy.
5 LAST_OPT_REVISION
=$
(ceph config get mgr mgr
/telemetry
/last_opt_revision
)
6 if [ $LAST_OPT_REVISION -ne 1 ]; then
7 echo "last_opt_revision is incorrect"
14 COLLECTIONS
=$
(ceph telemetry collection
ls)
15 NEW_COLLECTIONS
=("perf_perf" "basic_mds_metadata" "basic_pool_usage" "basic_rook_v01" "perf_memory_metrics")
16 for col in ${NEW_COLLECTIONS[@]}; do
17 if ! [[ $COLLECTIONS == *$col* ]];
19 echo "COLLECTIONS does not contain" "'"$col"'."
25 ceph telemetry preview
26 ceph telemetry preview-device
27 ceph telemetry preview-all
29 # Opt in to new collections
30 # Currently, no new collections between latest quincy and reef (dev)
34 ceph telemetry show-device