Prometheus - Package Updates
-
[2.1.0]
- Update prometheus to 3.1.0
- Full Changelog
- [SECURITY] upgrade golang.org/x/crypto to address reported CVE-2024-45337. #15691
- [CHANGE] Notifier: Increment prometheus_notifications_errors_total by the number of affected alerts rather than per batch. #15428
- [CHANGE] API: list rules field "groupNextToken:omitempty" renamed to "groupNextToken". #15400
- [ENHANCEMENT] OTLP translate: keep identifying attributes in target_info. #15448
- [ENHANCEMENT] Paginate rule groups, add infinite scroll to rules within groups. #15677
- [ENHANCEMENT] TSDB: Improve calculation of space used by labels. #13880
- [ENHANCEMENT] Rules: new metric rule_group_last_rule_duration_sum_seconds. #15672
- [ENHANCEMENT] Observability: Export 'go_sync_mutex_wait_total_seconds_total' metric. #15339
- [ENHANCEMEN] Remote-Write: optionally use a DNS resolver that picks a random IP. #15329
-
[2.2.0]
- Update prometheus to 3.2.0
- Full Changelog
- [CHANGE] relabel: Replace actions can now use UTF-8 characters in
targetLabelfield. Note that$<chars>or${<chars>}will be expanded. This also apply toreplacementfield forLabelMapaction. #15851 - [CHANGE] rulefmt: Rule names can use UTF-8 characters, except
{and}characters (due to common mistake checks). #15851 - [FEATURE] remote/otlp: Add feature flag
otlp-deltatocumulativeto support conversion from delta to cumulative. #15165 - [ENHANCEMENT] openstack SD: Discover Octavia loadbalancers. #15539
- [ENHANCEMENT] scrape: Add metadata for automatic metrics to WAL for
metadata-wal-recordsfeature. #15837 - [ENHANCEMENT] promtool: Support linting of scrape interval, through lint option
too-long-scrape-interval. #15719 - [ENHANCEMENT] promtool: Add --ignore-unknown-fields option. #15706
- [ENHANCEMENT] ui: Make "hide empty rules" and hide empty rules" persistent #15807
- [ENHANCEMENT] web/api: Add a limit parameter to
/queryand/query_range. #15552 - [ENHANCEMENT] api: Add fields Node and ServerTime to
/status. #15784 - [PERF] Scraping: defer computing labels for dropped targets until they are needed by the UI. #15261
- [BUGFIX] remotewrite2: Fix invalid metadata bug for metrics without metadata. #15829
- [BUGFIX] remotewrite2: Fix the unit field propagation. #15825
- [BUGFIX] scrape: Fix WAL metadata for histograms and summaries. #15832
- [BUGFIX] ui: Merge duplicate "Alerts page settings" sections. #15810
- [BUGFIX] PromQL: Fix
<aggr_over_time>functions with histograms. #15711
-
[2.2.1]
- Update prometheus to 3.2.1
- Full Changelog
- [BUGFIX] Don't send Accept
headerescape=allow-utf-8whenmetric_name_validation_scheme: legacy` is configured. #16061
-
[2.3.0]
- Update base image to 5.0.0
-
[2.3.1]
- Update prometheus to 3.3.0
-
[2.3.2]
- Update prometheus to 3.3.1
- Full Changelog
- [BUGFIX] Azure SD: Fix panic on malformed log message. #16434 #16210
- [BUGFIX] Config: Update GOGC before loading TSDB. #16491
-
[2.4.0]
- Update prometheus to 3.4.0
- Full Changelog
- [CHANGE] Config: Make setting out-of-order native histograms feature (
--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. #16207 - [FEATURE] OTLP translate: Add feature flag for optionally translating OTel explicit bucket histograms into native histograms with custom buckets. #15850
- [FEATURE] OTLP translate: Add option to receive OTLP metrics without translating names or attributes. #16441
- [FEATURE] PromQL: allow arithmetic operations in durations in PromQL parser. #16249
- [FEATURE] OTLP receiver: Add primitive support for ingesting OTLP delta metrics as-is. #16360
- [BUGFIX] Config: Fix auto-reload on changes to rule and scrape config files. #16340
- [BUGFIX] Scraping: Skip native histogram series if ingestion is disabled. #16218
- [BUGFIX] TSDB: Handle metadata/tombstones/exemplars for duplicate series during WAL replay. #16231
- [BUGFIX] TSDB: Avoid processing exemplars outside the valid time range during WAL replay. #16242
- [BUGFIX] Promtool: Add feature flags for PromQL features. #16443
-
[2.4.1]
- Update prometheus to 3.4.1
- Full Changelog
- [BUGFIX] Parser: Add reproducer for a dangling-reference issue in parsers. #16633
-
[2.4.2]
- Update prometheus to 3.4.2
- Full Changelog
- [BUGFIX] OTLP receiver: Fix default configuration not being respected if the
otlp:block is unset in the config file. #16693
-
[2.5.0]
- Update prometheus to 3.5.0
- Full Changelog
- [FEATURE] PromQL: Add experimental type and unit metadata labels, behind feature flag
type-and-unit-labels. #16228 #16632 #16718 #16743 - [FEATURE] PromQL: Add
ts_of_(min|max|last)_over_time, behind feature flagexperimental-promql-functions. #16722 #16733 - [FEATURE] Scraping: Add global option
always_scrape_classic_histogramsto scrape a classic histogram even if it is also exposed as native. #16452 - [FEATURE] OTLP: New config options
promote_all_resource_attributesandignore_resource_attributes. #16426 - [FEATURE] Discovery: New service discovery for STACKIT Cloud. #16401
- [BUGFIX] Top-level: Update GOGC before loading TSDB. #16491
- [BUGFIX] Config: Respect GOGC environment variable if no "runtime" block exists. #16558
- [BUGFIX] PromQL: Fix native histogram
last_over_time. #16744 - [BUGFIX] PromQL: Fix reported parser position range in errors for aggregations wrapped in ParenExpr #16041 #16754
- [BUGFIX] PromQL: Don't emit a value from
histogram_fractionorhistogram_quantileif classic and native histograms are present at the same timestamp. #16552
-
[2.6.0]
- Update prometheus to 3.6.0
- Full Changelog
- [FEATURE] PromQL: Add
step(), andmin()andmax()on durations, behind feature flagpromql-duration-expr. #16777 - [FEATURE] API: Add a
/v1/status/tsdb/blocksendpoint exposing metadata about loaded blocks. #16695 - [FEATURE] Templates: Add
toDuration()andnow()functions. #16619 - [BUGFIX] Config: Fix "unknown global name escaping method" error messages produced during config validation. #16801
- [BUGFIX] Discovery: Fix race condition during shutdown. #16820
- [BUGFIX] OTLP: Generate
target_infosamples between the earliest and latest samples per resource. #16737 - [BUGFIX] PromQL: Fail when
NaNis passed as parameter totopk(),bottomk(),limitk()andlimit_ratio(). #16725 - [BUGFIX] PromQL: Fix extrapolation for native counter histograms. #16828
- [BUGFIX] PromQL: Reduce numerical errors by disabling some optimizations. #16895
- [BUGFIX] PromQL: Fix inconsistencies when using native histograms in subqueries. #16879
-
[2.7.0]
- Update prometheus to 3.7.0
- Full Changelog
- [CHANGE] Remote-write: the following metrics are deprecated:
- [FEATURE] PromQL: Add support for experimental anchored and smoothed rate behind feature flag
promql-extended-range-selectors. #16457 - [FEATURE] Federation: Add support for native histograms with custom buckets (NHCB). #17215
- [FEATURE] PromQL: Add
first_over_time(...)andts_of_first_over_time(...)behind feature flagexperimental-promql-functions. #16963 #17021 - [FEATURE] Remote-write: Add support for Azure Workload Identity as an authentication method for the receiver. #16788
- [FEATURE] Remote-write: Add type and unit labels to outgoing time series in remote-write 2.0 when the
type-and-unit-labelsfeature flag is enabled. #17033 - [FEATURE] OTLP: Write start time of metrics as created time zero samples into TSDB when
created-timestamp-zero-ingestionfeature flag is enabled. #16951 - [BUGFIX] Alerting: Mutating alerts relabeling (using
replaceactions, etc.) within aalertmanager_config.alert_relabel_configsblock is now scoped correctly and no longer yields altered alerts to subsequent blocks. #17063 - [BUGFIX] Config: Infer valid escaping scheme when scrape config validation scheme is set. #16923
- [BUGFIX] TSDB: Correctly handle appending mixed-typed samples to the same series. #17071 #17241 #17290 #17295 #17296
-
[2.7.1]
- Update prometheus to 3.7.1
- Full Changelog
- [BUGFIX] OTLP: Prefix
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. #17344
-
[2.7.2]
- Update prometheus to 3.7.2
- Full Changelog
- [BUGFIX] AWS SD: Fix AWS SDK v2 credentials handling for EC2 and Lightsail discovery. #17355
- [BUGFIX] AWS SD: Load AWS region from IMDS when not set. #17376
- [BUGFIX] Relabeling: Fix
labelmapaction validation with the legacy metric name validation scheme. #17372 - [BUGFIX] PromQL: Fix parsing failure when
anchoredandsmoothedare used as metric names and label names. #17353 - [BUGFIX] PromQL: Fix formatting of range vector selectors with
smoothed/anchoredmodifier. #17354