Skip to content

Prometheus metric renames ​

Five metrics of the relay proxy did not follow the Prometheus naming conventions (a counter name ends in _total). They are renamed. Update the dashboards, the alerts and the recording rules that use them.

Old nameNew name
semaphore_all_flags_evaluations_total_with_flagsemaphore_all_flags_evaluations_with_flag_total
semaphore_flag_updatesemaphore_flag_update_by_flag_total
semaphore_flag_deletesemaphore_flag_delete_by_flag_total
semaphore_flag_createsemaphore_flag_create_by_flag_total
semaphore_force_refreshsemaphore_force_refresh_total

Labels and values are unchanged. The other metrics keep their names.

Legacy gofeatureflag_ metrics ​

The compatibility series exposed by exposeLegacyMetrics keep the names GO Feature Flag used, so existing dashboards that read them need no change: gofeatureflag_all_flags_evaluations_total_with_flag, gofeatureflag_flag_update, gofeatureflag_flag_delete, gofeatureflag_flag_create and gofeatureflag_force_refresh.

Released under the MIT License.