Skip to content

feat: remove high cardinality metric labels#219

Open
Wenliang-CHEN wants to merge 2 commits intoupstream/v2.246.0from
v2.246.0-reduced-metric-labels
Open

feat: remove high cardinality metric labels#219
Wenliang-CHEN wants to merge 2 commits intoupstream/v2.246.0from
v2.246.0-reduced-metric-labels

Conversation

@Wenliang-CHEN
Copy link
Collaborator

This MR removes these labels from the fmtLabel implementation of Outbound/InboundEndpointMetrics

These metrics will be removed: target_addr, dst_pod, dst_pod_template_hash, dst_zone, authority

They are all metrics with high cardinality

This MR also reduces the number of buckets for
response_latency_bucket_ms metric.

@Wenliang-CHEN Wenliang-CHEN force-pushed the v2.246.0-reduced-metric-labels branch 12 times, most recently from ab9faea to e3985db Compare May 19, 2025 13:49
This MR removes these labels from the fmtLabel implementation of
Outbound/InboundEndpointMetrics

These metrics will be removed:  target_addr, dst_pod, dst_pod_template_hash, dst_zone, authority

They are all metrics with high cardinality

This MR also reduces the number of buckets for
response_latency_bucket_ms metric.
@Wenliang-CHEN Wenliang-CHEN force-pushed the v2.246.0-reduced-metric-labels branch 7 times, most recently from 053c29a to eb5da06 Compare May 19, 2025 15:47
@Wenliang-CHEN Wenliang-CHEN force-pushed the v2.246.0-reduced-metric-labels branch from eb5da06 to 7a5fb85 Compare May 19, 2025 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants