feat(observability): gated histogram buckets for firefly.* + honest exemplars doc#9
Merged
casc84ab merged 1 commit intoJul 16, 2026
Conversation
…xemplars doc Add management.metrics.distribution.percentiles-histogram.firefly, gated by FIREFLY_OBSERVABILITY_METRICS_HISTOGRAMS_ENABLED and DEFAULT OFF. When enabled it applies a Micrometer MeterFilter to every firefly.* meter so p99 becomes aggregable across pods (histogram_quantile()) and metric→trace exemplars can anchor to _bucket samples. Ships inert so there is no cardinality impact until the platform opts in; the client-side publishPercentiles are unaffected. Also correct the ExemplarsAutoConfiguration Javadoc: exemplars are NOT functional in the current scrape→collector→store pipeline (no buckets by default, 0.0.4 exposition, exemplars dropped in transit). Stop promising metric→trace click-through and document the three unmet preconditions.
casc84ab
deleted the
feat/observability-histogram-buckets-and-exemplars-doc
branch
July 16, 2026 10:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Response to the observability master document (metrics findings M3/M4).
M3 — histogram buckets (gated, default OFF)
firefly.*timers/summaries publish client-side percentiles only, with nolebuckets, so p99 is not aggregable across pods andhistogram_quantile()is impossible. This addsmanagement.metrics.distribution.percentiles-histogram.firefly, driven byFIREFLY_OBSERVABILITY_METRICS_HISTOGRAMS_ENABLED(default false).MeterFilter); the timer/summary builders are untouched.publishPercentilesgauges are unaffected.M4 — honest exemplars doc
ExemplarsAutoConfigurationis an empty marker and the scrape→collector→store pipeline drops OpenMetrics exemplars, so metric→trace click-through does not work today. The Javadoc now says so and lists the three unmet preconditions instead of promising jump-to-trace.No behavioural change on default config.