-
Notifications
You must be signed in to change notification settings - Fork 40
chore(deps): update dependency prometheus/prometheus to v3 #672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
5de0d0f to
d20c060
Compare
d20c060 to
95fa5f1
Compare
95fa5f1 to
44197a4
Compare
44197a4 to
57f11ec
Compare
57f11ec to
c5ab24a
Compare
c5ab24a to
691f066
Compare
691f066 to
abe4707
Compare
abe4707 to
f11cb2f
Compare
f11cb2f to
184901c
Compare
184901c to
84a4c13
Compare
84a4c13 to
d8d7958
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
d1a4f01 to
c031116
Compare
c031116 to
97bc2cb
Compare
97bc2cb to
bba2ea0
Compare
bba2ea0 to
e78ac48
Compare
e78ac48 to
a02450c
Compare
62fc392 to
7514f19
Compare
7514f19 to
2b939f4
Compare
2b939f4 to
6062762
Compare
This PR contains the following updates:
v2.49.1→v3.9.1Release Notes
prometheus/prometheus (prometheus/prometheus)
v3.9.1Compare Source
v3.9.0Compare Source
v3.8.1: 3.8.1 / 2025-12-16Compare Source
v3.8.0: 3.8.0 / 2025-11-28Compare Source
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_histogramsconfig setting (newly introduced in this release). To ease the transition, the--enable-feature=native-histogramsflag is not a complete no-op in this release, but changes the default value ofscrape_native_histogramstotrue. In the next release (v3.9), the feature flag will be a complete no-op, and the default value ofscrape_native_histogramswill always befalse. If you have been using the feature flag so far, the recommended course of action is the following: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.)Changelog
scrape_native_histogramsconfig setting. #17232 #17315promtool push metricsvia the--protobuf_messageflag. #17417AddandSub. #17278target_infosamples with the same timestamp for the same series. #17400use_fips_sts_endpointinsigv4config sections. #17304/api/v1/targets. #17306infocall. #17379histogram_fractionfor classic histograms and NHCB if lower bound is in the first bucket. #17424v3.7.3: 3.7.3 / 2025-10-29Compare Source
-web.external-urlif-web.route-prefixis configured, which was introduced in #17240. #17389check configwould fail when--lint=noneflag was set. #17399 #17414v3.7.2: 3.7.2 / 2025-10-22Compare Source
labelmapaction validation with the legacy metric name validation scheme. #17372anchoredandsmoothedare used as metric names and label names. #17353smoothed/anchoredmodifier. #17354v3.7.1: 3.7.1 / 2025-10-16Compare Source
key_to label name when translating an OTel attribute name starting with a single underscore, and keep multiple consecutive underscores in label name when translating an OTel attribute name. This reverts the breaking changes introduced in 3.7.0. #17344v3.7.0: 3.7.0 / 2025-10-15Compare Source
Warning
We discovered a breaking change in the OTLP endpoint: OpenTelemetry attribute names starting with underscore, for example
_attrib, are no longer automatically translated tokey_attrib. Please use 3.7.1 instead for OTLP ingestion.Changelog
prometheus_remote_storage_samples_in_total, useprometheus_wal_watcher_records_read_total{type="samples"}andprometheus_remote_storage_samples_dropped_totalinstead,prometheus_remote_storage_histograms_in_total, useprometheus_wal_watcher_records_read_total{type=~".*histogram_samples"}andprometheus_remote_storage_histograms_dropped_totalinstead,prometheus_remote_storage_exemplars_in_total, useprometheus_wal_watcher_records_read_total{type="exemplars"}andprometheus_remote_storage_exemplars_dropped_totalinstead,prometheus_remote_storage_highest_timestamp_in_seconds, use the more accurateprometheus_remote_storage_queue_highest_timestamp_secondsinstead in dashboards and alerts to properly account for relabeling and for more accuracy. #17065promql-extended-range-selectors. #16457first_over_time(...)andts_of_first_over_time(...)behind feature flagexperimental-promql-functions. #16963 #17021type-and-unit-labelsfeature flag is enabled. #17033created-timestamp-zero-ingestionfeature flag is enabled. #16951ALERTSandALERTS_FOR_STATE. #17064replaceactions, etc.) within aalertmanager_config.alert_relabel_configsblock is now scoped correctly and no longer yields altered alerts to subsequent blocks. #17063metadata-wal-recordsexperimental feature for native histograms with custom buckets (NHCB) in protobuf scraping. #17156histogram_quantile(). #16794info()function on churning series. #17135400instead of5xxfor wrongly formatted Native Histograms. #17210Failed to calculate size of \"wal\" direrror logs during WAL clean-up. #17006-web.external-urlif-web.route-prefixis configured. #17240v3.6.0: 3.6.0 / 2025-09-17Compare Source
step(), andmin()andmax()on durations, behind feature flagpromql-duration-expr. #16777/v1/status/tsdb/blocksendpoint exposing metadata about loaded blocks. #16695toDuration()andnow()functions. #16619UnderscoreEscapingWithoutSuffixesstrategy viaotlp.translation_strategy. #16849otlp.promote_scope_metadata. #16878__type__and__unit__labels when feature flagtype-and-unit-labelsis enabled. #16630Query page settings. #16901_count/_sum/_bucketsuffixes. #16910prometheus_tsdb_head_stale_seriesmetric. #16925target_infosamples between the earliest and latest samples per resource. #16737NaNis passed as parameter totopk(),bottomk(),limitk()andlimit_ratio(). #16725rate()andincrease()on histograms when feature flagtype-and-unit-labelsis enabled. #16915slicelabelsbuilds. #16946created-timestamp-zero-ingestionis enabled. #16332v3.5.0: 3.5.0 / 2025-07-14Compare Source
3.5 is a Long Term Support (LTS) release; see release https://prometheus.io/docs/introduction/release-cycle/
There are a number of new features, and no known breaking changes in this release:
type-and-unit-labels. #16228 #16632 #16718 #16743ts_of_(min|max|last)_over_time, behind feature flagexperimental-promql-functions. #16722 #16733always_scrape_classic_histogramsto scrape a classic histogram even if it is also exposed as native. #16452promote_all_resource_attributesandignore_resource_attributes. #16426label_selectorto filter servers. #16512quantileandtopk. #16404keep_dropped_targetsoption. #16604/rulespage. #16605/targetspage. #16567histogramStatsIteratorwhere possible. #16686/targetspage. #16589last_over_time. #16744histogram_fractionorhistogram_quantileif classic and native histograms are present at the same timestamp. #16552[1001ms]to[1s]and similar. #16478histogram_countandhistogram_sum. #16682avgaggregation andavg_over_time. #16569 #16773Vary: Originheader to responses to avoid cache poisoning. #16008client_idto suppport system assigned managed identity. #16421otlp:block is unset. #16693v3.4.2: 3.4.2 / 2025-06-26Compare Source
otlp:block is unset in the config file. #16693v3.4.1: 3.4.1 / 2025-05-31Compare Source
v3.4.0: 3.4.0 / 2025-05-17Compare Source
--enable-feature=ooo-native-histograms) a no-op. Out-of-order native histograms are now always enabled whenout_of_order_time_windowis greater than zero and--enable-feature=native-histogramsis set. #16207prometheus_tsdb_wal_replay_unknown_refs_totalandprometheus_tsdb_wbl_replay_unknown_refs_totalmetrics to track unknown series references during WAL/WBL replay. #16166--alertmanager.notification-batch-size). #16254histogram_stddev()andhistogram_stdvar(). #16444v3.3.1: 3.3.1 / 2025-05-02Compare Source
v3.3.0: 3.3.0 / 2025-04-15Compare Source
idelta()andirate()for native histograms. #15853__meta_scaleway_instance_public_ipv4_addressesand__meta_scaleway_instance_public_ipv6_addresseslabels. #14228label_replace(). #15974tsdb create-blocks-from openmetricscan now read from a Pipe. #16011/prometheuswritable. #16073/api/v1/targets. #16085clusterlabel can be customized usingclusterLabel. #15826quantile_over_time(). #16018label_join()from producing duplicates. #15975scalar(),sort()andsort_desc(). #15964GoGCto the default value in case of an empty configuration. #16052__meta_meta_scaleway_instance_public_ipv4if it is an IPv6 address. #14228keep_firing_for. #16211v3.2.1: 3.2.1 / 2025-02-25Compare Source
escape=allow-utf-8whenmetric_name_validation_scheme: legacyis configured. #16061v3.2.0: 3.2.0 / 2025-02-17Compare Source
Prometheus v3.2.0 Changelog
targetLabelfield. Note that$<chars>or${<chars>}will be expanded. This also apply toreplacementfield forLabelMapaction. #15851{and}characters (due to common mistake checks). #15851otlp-deltatocumulativeto support conversion from delta to cumulative. #15165metadata-wal-recordsfeature. #15837too-long-scrape-interval. #15719/queryand/query_range. #15552/status. #15784<aggr_over_time>functions with histograms. #15711v3.1.0: 3.1.0 / 2025-01-02Compare Source
What's Changed
l=~".+"matcher. #15474, #15684absent,absent_over_timeandderivfunc with histograms. #15667resetsfunction for histograms. #15527changes()for mix of histograms and floats. #15469round()function did not remove__name__label. #15250count_valuesfor histograms. #15422boolmodifier and native histograms. #15413v3.0.1: 3.0.1 / 2024-11-28Compare Source
The first bug fix release for Prometheus 3.
v3.0.0: 3.0.0 / 2024-11-14Compare Source
This release includes new features such as a brand new UI and UTF-8 support enabled by default. As this marks the first new major version in seven years, several breaking changes are introduced. The breaking changes are mainly around the removal of deprecated feature flags and CLI arguments, and the full list can be found below. For users that want to upgrade we recommend to read through our migration guide.
GOMAXPROCSvariable automatically to match the Linux CPU quota. Use--no-auto-gomaxprocsto disable it. Theauto-gomaxprocsfeature flag was removed. #15376GOMEMLIMITvariable automatically to match the Linux container memory limit. Use--no-auto-gomemlimitto disable it. Theauto-gomemlimitfeature flag was removed. #15373fallback_scrape_protocolin the scrape config. #15136scrape_classic_histogramswas renamed toalways_scrape_classic_histograms. #15178.now matches all characters (performance improvement). #14505holt_wintersis now calleddouble_exponential_smoothingand moves behind the experimental-promql-functions feature flag. #14930--web.enable-otlp-receiverinstead of--enable-feature=otlp-write-receiver. #14894no-default-scrape-portfeature flag removed. #14160_createdtimeseries if feature-flagcreated-timestamp-zero-ingestionis enabled. #14738Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.