Update docker.io/prom/prometheus Docker tag to v3.9.1
No issues with this by means of Docker-compose YAML automated GitOps minor update of the Docker container and on the K3s Kubernetes cluster by means of Flux with dependency update facilitated by Mend's Renovate Bot.
This MR contains the following updates:
| Package | Update | Change |
|---|---|---|
| docker.io/prom/prometheus | minor | v3.7.3 -> v3.9.1 |
Release Notes
prometheus/prometheus (docker.io/prom/prometheus)
v3.9.1: 3.9.1 / 2026-01-07
- [BUGFIX] Agent: fix crash shortly after startup from invalid type of object. #β17802
- [BUGFIX] Scraping: fix relabel keep/drop not working. #β17807
v3.9.0: 3.9.0 / 2026-01-06
Note for users of Native Histograms
In version 3.9, Native Histograms is no longer experimental, and the feature flag native-histogram has no effect. You must now turn on
the config setting scrape_native_histograms to collect Native Histogram samples from exporters.
Changelog
- [CHANGE] Native Histograms are no longer experimental! Make the
native-histogramfeature flag a no-op. Usescrape_native_histogramsconfig option instead. #β17528 - [CHANGE] API: Add maximum limit of 10,000 sets of statistics to TSDB status endpoint. #β17647
- [FEATURE] API: Add /api/v1/features for clients to understand which features are supported. #β17427
- [FEATURE] Promtool: Add
start_timestampfield for unit tests. #β17636 - [FEATURE] Promtool: Add
--format seriesjsonoption totsdb dumpto output just series labels in JSON format. #β13409 - [FEATURE] Add
--storage.tsdb.delay-compact-file.pathflag for better interoperability with Thanos. #β17435 - [FEATURE] UI: Add an option on the query drop-down menu to duplicate that query panel. #β17714
- [ENHANCEMENT]: TSDB: add flag
--storage.tsdb.block-reload-intervalto configure TSDB Block Reload Interval. #β16728 - [ENHANCEMENT] UI: Add graph option to start the chart's Y axis at zero. #β17565
- [ENHANCEMENT] Scraping: Classic protobuf format no longer requires the unit in the metric name. #β16834
- [ENHANCEMENT] PromQL, Rules, SD, Scraping: Add native histograms to complement existing summaries. #β17374
- [ENHANCEMENT] Notifications: Add a histogram
prometheus_notifications_latency_histogram_secondsto complement the existing summary. #β16637 - [ENHANCEMENT] Remote-write: Add custom scope support for AzureAD authentication. #β17483
- [ENHANCEMENT] SD: add a
configlabel with job name for mostprometheus_sd_refreshmetrics. #β17138 - [ENHANCEMENT] TSDB: New histogram
prometheus_tsdb_sample_ooo_delta, the distribution of out-of-order samples in seconds. Collected for all samples, accepted or not. #β17477 - [ENHANCEMENT] Remote-read: Validate histograms received via remote-read. #β17561
- [PERF] TSDB: Small optimizations to postings index. #β17439
- [PERF] Scraping: Speed up relabelling of series. #β17530
- [PERF] PromQL: Small optimisations in binary operators. #β17524, #β17519.
- [BUGFIX] UI: PromQL autocomplete now shows the correct type and HELP text for OpenMetrics counters whose samples end in
_total. #β17682 - [BUGFIX] UI: Fixed codemirror-promql incorrectly showing label completion suggestions after the closing curly brace of a vector selector. #β17602
- [BUGFIX] UI: Query editor no longer suggests a duration unit if one is already present after a number. #β17605
- [BUGFIX] PromQL: Fix some "vector cannot contain metrics with the same labelset" errors when experimental delayed name removal is enabled. #β17678
- [BUGFIX] PromQL: Fix possible corruption of PromQL text if the query had an empty
ignoring()and non-empty grouping. #β17643 - [BUGFIX] PromQL: Fix resets/changes to return empty results for anchored selectors when all samples are outside the range. #β17479
- [BUGFIX] PromQL: Check more consistently for many-to-one matching in filter binary operators. #β17668
- [BUGFIX] PromQL: Fix collision in unary negation with non-overlapping series. #β17708
- [BUGFIX] PromQL: Fix collision in label_join and label_replace with non-overlapping series. #β17703
- [BUGFIX] PromQL: Fix bug with inconsistent results for queries with OR expression when experimental delayed name removal is enabled. #β17161
- [BUGFIX] PromQL: Ensure that
rate/increase/deltaof histograms results in a gauge histogram. #β17608 - [BUGFIX] PromQL: Do not panic while iterating over invalid histograms. #β17559
- [BUGFIX] TSDB: Reject chunk files whose encoded chunk length overflows int. #β17533
- [BUGFIX] TSDB: Do not panic during resolution reduction of invalid histograms. #β17561
- [BUGFIX] Remote-write Receive: Avoid duplicate labels when experimental type-and-unit-label feature is enabled. #β17546
- [BUGFIX] OTLP Receiver: Only write metadata to disk when experimental metadata-wal-records feature is enabled. #β17472
v3.8.1: 3.8.1 / 2025-12-16
- [BUGFIX] remote: Fix Remote Write receiver, so it does not send wrong response headers for v1 flow and cause Prometheus senders to emit false partial error log and metrics. #β17683
v3.8.0: 3.8.0 / 2025-11-28
Note for users of Native Histograms
This is the first release with Native Histograms as a stable feature. However, scraping Native Histograms has to be activated explicitly via the scrape_native_histograms config setting (newly introduced in this release). To ease the transition, the --enable-feature=native-histograms flag is not a complete no-op in this release, but changes the default value of scrape_native_histograms to true. In the next release (v3.9), the feature flag will be a complete no-op, and the default value of scrape_native_histograms will always be false. If you have been using the feature flag so far, the recommended course of action is the following:
- Upgrade to v3.8 and keep the feature flag. Everything should work as before.
- At your own pace, set
scrape_native_histogramstotruein all relevant scrape configs. (There is a global and a per-scrape-config version ofscrape_native_histograms, allowing granular control if needed. It is a good idea to also setscrape_native_histogramsexplicitly tofalsewhere you do not want to scrape Native Histograms. In this way, you do not depend on the default value of the setting anymore.) - Remove the feature flag and make sure that everything still works as intended.
- Now you are ready for an upgrade to the next release (v3.9).
Changelog
- [CHANGE] Remote-write 2 (receiving): Update to 2.0-rc.4 spec. "created timestamp" (CT) is now called "start timestamp" (ST). #β17411
- [CHANGE] TSDB: Native Histogram Custom Bounds with a NaN threshold are now rejected. #β17287
- [FEATURE] OAuth2: support jwt-bearer grant-type (RFC7523 3.1). #β17592
- [FEATURE] Dockerfile: Add OpenContainers spec labels to Dockerfile. #β16483
- [FEATURE] SD: Add unified AWS service discovery for ec2, lightsail and ecs services. #β17046
- [FEATURE] Native histograms are now a stable, but optional feature, use the
scrape_native_histogramsconfig setting. #β17232 #β17315 - [FEATURE] UI: Support anchored and smoothed keyword in promql editor. #β17239
- [FEATURE] UI: Show detailed relabeling steps for each discovered target. #β17337
- [FEATURE] Alerting: Add urlQueryEscape to template functions. #β17403
- [FEATURE] Promtool: Add Remote-Write 2.0 support to
promtool push metricsvia the--protobuf_messageflag. #β17417 - [ENHANCEMENT] Clarify the docs about handling negative native histograms. #β17249
- [ENHANCEMENT] Mixin: Add static UID to the remote-write dashboard. #β17256
- [ENHANCEMENT] PromQL: Reconcile mismatched NHCB bounds in
AddandSub. #β17278 - [ENHANCEMENT] Alerting: Add "unknown" state for alerting rules that haven't been evaluated yet. #β17282
- [ENHANCEMENT] Scrape: Allow simultaneous use of classic histogram β NHCB conversion and zero-timestamp ingestion. #β17305
- [ENHANCEMENT] UI: Add smoothed/anchored in explain. #β17334
- [ENHANCEMENT] OTLP: De-duplicate any
target_infosamples with the same timestamp for the same series. #β17400 - [ENHANCEMENT] Document
use_fips_sts_endpointinsigv4config sections. #β17304 - [ENHANCEMENT] Document Prometheus Agent. #β14519
- [PERF] PromQL: Speed up parsing of variadic functions. #β17316
- [PERF] UI: Speed up alerts/rules/... pages by not rendering collapsed content. #β17485
- [PERF] UI: Performance improvement when getting label name and values in promql editor. #β17194
- [PERF] UI: Speed up /alerts for many firing alerts via virtual scrolling. #β17254
- [BUGFIX] PromQL: Fix slice indexing bug in info function on churning series. #β17199
- [BUGFIX] API: Reduce lock contention on
/api/v1/targets. #β17306 - [BUGFIX] PromQL: Consistent handling of gauge vs. counter histograms in aggregations. #β17312
- [BUGFIX] TSDB: Allow NHCB with -Inf as the first custom value. #β17320
- [BUGFIX] UI: Fix duplicate loading of data from the API speed up rendering of some pages. #β17357
- [BUGFIX] Old UI: Fix createExpressionLink to correctly build /graph URLs so links from Alerts/Rules work again. #β17365
- [BUGFIX] PromQL: Avoid panic when parsing malformed
infocall. #β17379 - [BUGFIX] PromQL: Include histograms when enforcing sample_limit. #β17390
- [BUGFIX] Config: Fix panic if TLS CA file is absent. #β17418
- [BUGFIX] PromQL: Fix
histogram_fractionfor classic histograms and NHCB if lower bound is in the first bucket. #β17424