Skip to content

Introduce PrometheusLabelView in label_util to support zero-allocation hot-path Prometheus label formatting and lookup, previous FormatPrometheusLabels was using heap allocation even in cold path - #936

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_975095326
Sep 21, 2026

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Sep 16, 2026

Copy link
Copy Markdown

Introduce PrometheusLabelView in label_util to support zero-allocation hot-path Prometheus label formatting and lookup, previous FormatPrometheusLabels was using heap allocation even in cold path

@copybara-service copybara-service Bot changed the title telemetry: standardize BufferedMetricsExporter on label_util and add PrometheusLabelView Standardize BufferedMetricsExporter to use label_util directly for formatting and serializing Prometheus labels, and introduce PrometheusLabelView in label_util for zero-allocation hot-path metric lookups: Sep 16, 2026
@copybara-service copybara-service Bot changed the title Standardize BufferedMetricsExporter to use label_util directly for formatting and serializing Prometheus labels, and introduce PrometheusLabelView in label_util for zero-allocation hot-path metric lookups: Introduce PrometheusLabelView in label_util to support zero-allocation hot-path Prometheus label formatting and lookup, previous FormatPrometheusLabels was using heap allocation even in cold path Sep 21, 2026
…n hot-path Prometheus label formatting and lookup, previous FormatPrometheusLabels was using heap allocation even in cold path

PiperOrigin-RevId: 985077989
@copybara-service
copybara-service Bot merged commit eec6a77 into main Sep 21, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_975095326 branch September 21, 2026 07:39
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.

1 participant