From 0bced5604cd7ea7438cd6fd5020ee6de099bc486 Mon Sep 17 00:00:00 2001 From: reivilibre Date: Mon, 3 Oct 2022 17:16:50 +0000 Subject: deploy: b381701f8c07444fb86d80a79f561c8468a6c0b7 --- develop/metrics-howto.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'develop/metrics-howto.html') diff --git a/develop/metrics-howto.html b/develop/metrics-howto.html index 42041d6ccb..c5ec8269fb 100644 --- a/develop/metrics-howto.html +++ b/develop/metrics-howto.html @@ -263,7 +263,9 @@ The labels are used to group graphs in grafana.

Synapse 1.2 updates the Prometheus metrics to match the naming convention of the upstream prometheus_client. The old names are considered deprecated and will be removed in a future version of -Synapse.

+Synapse. +The old names will be disabled by default in Synapse v1.71.0 and removed +altogether in Synapse v1.73.0.

@@ -273,6 +275,13 @@ Synapse.

+ + + + + + + @@ -372,7 +381,7 @@ they are replacing.

Standard Metric Names

As of synapse version 0.18.2, the format of the process-wide metrics has been changed to fit prometheus standard naming conventions. Additionally -the units have been changed to seconds, from miliseconds.

+the units have been changed to seconds, from milliseconds.

New NameOld Name
python_gc_objects_collected_totalpython_gc_objects_collected
python_gc_objects_uncollectable_totalpython_gc_objects_uncollectable
synapse_federation_client_events_processed_totalsynapse_federation_client_events_processed
synapse_event_processing_loop_count_totalsynapse_event_processing_loop_count
synapse_event_processing_loop_room_count_totalsynapse_event_processing_loop_room_count
synapse_util_caches_cache_hitssynapse_util_caches_cache:hits
synapse_util_caches_cache_sizesynapse_util_caches_cache:size
synapse_util_caches_cache_evicted_sizesynapse_util_caches_cache:evicted_size
synapse_util_caches_cachesynapse_util_caches_cache:total
synapse_util_caches_response_cache_sizesynapse_util_caches_response_cache:size
synapse_util_caches_response_cache_hitssynapse_util_caches_response_cache:hits
synapse_util_caches_response_cache_evicted_sizesynapse_util_caches_response_cache:evicted_size
synapse_util_metrics_block_count_totalsynapse_util_metrics_block_count
synapse_util_metrics_block_time_seconds_totalsynapse_util_metrics_block_time_seconds
synapse_util_metrics_block_ru_utime_seconds_totalsynapse_util_metrics_block_ru_utime_seconds
-- cgit 1.5.1
New nameOld name
process_cpu_user_seconds_totalprocess_resource_utime / 1000
process_cpu_system_seconds_totalprocess_resource_stime / 1000