normalize cluster topic labels in metrics to prevent unbounded cardin…#8566
Conversation
…ality growth for more metrics
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Before (master): After (
|
local_mesh_size{topic="consensus-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ local_mesh_size{topic="consensus-cluster"}
graft_topic_total{topic="sync-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ graft_topic_total{topic="sync-cluster"}
prune_topic_total{topic="consensus-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ prune_topic_total{topic="consensus-cluster"}
received_ihave_message_ids{channel="sync-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ received_ihave_message_ids{channel="sync-cluster"}
time_in_mesh_quantum_count{channel="consensus-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ time_in_mesh_quantum_count{channel="consensus-cluster"}
mesh_message_delivery{channel="sync-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ mesh_message_delivery{channel="sync-cluster"}
first_message_delivery_count{channel="consensus-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ first_message_delivery_count{channel="consensus-cluster"}
invalid_message_delivery_count{channel="sync-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ invalid_message_delivery_count{channel="sync-cluster"}
inbound_message_size_bytes{channel="consensus-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ inbound_message_size_bytes{channel="consensus-cluster"}
outbound_message_size_bytes{channel="sync-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ outbound_message_size_bytes{channel="sync-cluster"}
duplicate_messages_dropped{channel="consensus-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ duplicate_messages_dropped{channel="consensus-cluster"}
current_messages_processing{topic="sync-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ current_messages_processing{topic="sync-cluster"}
engine_message_processing_time_seconds{topic="consensus-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ engine_message_processing_time_seconds{topic="consensus-cluster"}
direct_messages_in_progress{topic="sync-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ direct_messages_in_progress{topic="sync-cluster"}
unauthorized_messages_count{topic="consensus-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ unauthorized_messages_count{topic="consensus-cluster"}
rate_limited_unicast_messages_count{topic="sync-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ rate_limited_unicast_messages_count{topic="sync-cluster"}
reported_misbehavior_total{channel="consensus-cluster-cluster-232-d9efe2a782b6967a8c0854f9c23c9d3e..."}
→ reported_misbehavior_total{channel="consensus-cluster"}