Recent Releases of https://github.com/prometheus/prometheus

https://github.com/prometheus/prometheus - 3.6.0-rc.0 / 2025-08-12

  • [FEATURE] PromQL: Add step(), and min() and max() on durations, behind feature flag promql-duration-expr. #16777
  • [FEATURE] API: Add a /v1/status/tsdb/blocks endpoint exposing metadata about loaded blocks. #16695
  • [FEATURE] Templates: Add toDuration() and now() functions. #16619
  • [ENHANCEMENT] Discovery: Add support for attaching namespace metadata to targets. #16831
  • [ENHANCEMENT] OTLP: Support new UnderscoreEscapingWithoutSuffixes strategy via otlp.translation_strategy. #16849
  • [ENHANCEMENT] OTLP: Support including scope metadata as metric labels via otlp.promote_scope_metadata. #16878
  • [ENHANCEMENT] OTLP: Add __type__ and __unit__ labels when feature flag type-and-unit-labels is enabled. #16630
  • [ENHANCEMENT] Tracing: Send the traceparent HTTP header during scrapes. #16425
  • [ENHANCEMENT] UI: Add option to disable info and warning query messages under Query page settings. #16901
  • [ENHANCEMENT] UI: Improve metadata handling for _count/_sum/_bucket suffixes. #16910
  • [PERF] PromQL: Improve performance due to internal optimizations. #16797
  • [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_info samples between the earliest and latest samples per resource. #16737
  • [BUGFIX] PromQL: Fail when NaN is passed as parameter to topk(), bottomk(), limitk() and limit_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
  • [BUGFIX] PromQL: Fix inconsistent annotations for rate() and increase() on histograms when feature flag type-and-unit-labels is enabled. #16915
  • [BUGFIX] Scraping: Fix memory corruption in slicelabels builds. #16946
  • [BUGFIX] TSDB: Fix panic on append when feature flag created-timestamp-zero-ingestion is enabled. #16332
  • [BUGFIX] TSDB: Fix panic on append for native histograms with empty buckets. #16893

- Go
Published by prombot 6 months ago

https://github.com/prometheus/prometheus - 3.5.0 / 2025-07-14

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:

  • [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 flag experimental-promql-functions. #16722 #16733
  • [FEATURE] Scraping: Add global option always_scrape_classic_histograms to scrape a classic histogram even if it is also exposed as native. #16452
  • [FEATURE] OTLP: New config options promote_all_resource_attributes and ignore_resource_attributes. #16426
  • [FEATURE] Discovery: New service discovery for STACKIT Cloud. #16401
  • [ENHANCEMENT] Hetzner SD: Add label_selector to filter servers. #16512
  • [ENHANCEMENT] PromQL: support non-constant parameter in aggregations like quantile and topk. #16404
  • [ENHANCEMENT] UI: Better total target count display when using keep_dropped_targets option. #16604
  • [ENHANCEMENT] UI: Add simple filtering on the /rules page. #16605
  • [ENHANCEMENT] UI: Display query stats in hover tooltip over table query tab. #16723
  • [ENHANCEMENT] UI: Clear search field on /targets page. #16567
  • [ENHANCEMENT] Rules: Check that rules parse without error earlier at startup. #16601
  • [ENHANCEMENT] Promtool: Optional fuzzy float64 comparison in rules unittests. #16395
  • [PERF] PromQL: Reuse histogramStatsIterator where possible. #16686
  • [PERF] PromQL: Reuse storage for custom bucket values for native histograms. #16565
  • [PERF] UI: Optimize memoization and search debouncing on /targets page. #16589
  • [PERF] UI: Fix full-page re-rendering when opening status nav menu. #16590
  • [PERF] Kubernetes SD: use service cache.Indexer to achieve better performance. #16365
  • [PERF] TSDB: Optionally use Direct IO for chunks writing. #15365
  • [PERF] TSDB: When fetching label values, stop work earlier if the limit is reached. #16158
  • [PERF] Labels: Simpler/faster stringlabels encoding. #16069
  • [PERF] Scraping: Reload scrape pools concurrently. #16595 #16783
  • [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_fraction or histogram_quantile if classic and native histograms are present at the same timestamp. #16552
  • [BUGFIX] PromQL: Incorrect rounding of [1001ms] to [1s] and similar. #16478
  • [BUGFIX] PromQL: Fix inconsistent / sometimes negative histogram_count and histogram_sum. #16682
  • [BUGFIX] PromQL: Improve handling of NaNs in native histograms. #16724
  • [BUGFIX] PromQL: Fix unary operator precedence in duration expressions. #16713
  • [BUGFIX] PromQL: Improve consistency of avg aggregation and avg_over_time. #16569 #16773
  • [BUGFIX] UI: Add query warnings and info to graph view. #16753 #16759
  • [BUGFIX] API: Add HTTP Vary: Origin header to responses to avoid cache poisoning. #16008
  • [BUGFIX] Discovery: Avoid deadlocks by taking locks in consistent order. #16587
  • [BUGFIX] Remote-write: For Azure AD auth, allow empty client_id to suppport system assigned managed identity. #16421
  • [BUGFIX] Scraping: Fix rare memory corruption bug. #16623
  • [BUGFIX] Scraping: continue handling custom-bucket histograms after an exponential histogram is encountered. #16720
  • [BUGFIX] OTLP: Default config not respected when otlp: block is unset. #16693

- Go
Published by prombot 8 months ago

https://github.com/prometheus/prometheus - 3.5.0-rc.1 / 2025-07-08

3.5 will be 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.

The following feature was removed since RC.1, since problems were discovered: * [FEATURE] OTLP: Support promoting OTel scope name/version/schema URL/attributes as metric labels, via otlp.promote_scope_metadata. #16730 #16760

What's Changed

  • [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 flag experimental-promql-functions. #16722 #16733
  • [FEATURE] Scraping: Add global option always_scrape_classic_histograms to scrape a classic histogram even if it is also exposed as native. #16452
  • [FEATURE] OTLP: New config options promote_all_resource_attributes and ignore_resource_attributes. #16426
  • [FEATURE] Discovery: New service discovery for STACKIT Cloud. #16401
  • [ENHANCEMENT] Hetzner SD: Add label_selector to filter servers. #16512
  • [ENHANCEMENT] PromQL: support non-constant parameter in aggregations like quantile and topk. #16404
  • [ENHANCEMENT] UI: Better total target count display when using keep_dropped_targets option. #16604
  • [ENHANCEMENT] UI: Add simple filtering on the /rules page. #16605
  • [ENHANCEMENT] UI: Display query stats in hover tooltip over table query tab. #16723
  • [ENHANCEMENT] UI: Clear search field on /targets page. #16567
  • [ENHANCEMENT] Rules: Check that rules parse without error earlier at startup. #16601
  • [ENHANCEMENT] Promtool: Optional fuzzy float64 comparison in rules unittests. #16395
  • [PERF] PromQL: Reuse histogramStatsIterator where possible. #16686
  • [PERF] PromQL: Reuse storage for custom bucket values for native histograms. #16565
  • [PERF] UI: Optimize memoization and search debouncing on /targets page. #16589
  • [PERF] UI: Fix full-page re-rendering when opening status nav menu. #16590
  • [PERF] Kubernetes SD: use service cache.Indexer to achieve better performance. #16365
  • [PERF] TSDB: Optionally use Direct IO for chunks writing. #15365
  • [PERF] TSDB: When fetching label values, stop work earlier if the limit is reached. #16158
  • [PERF] Labels: Simpler/faster stringlabels encoding. #16069
  • [PERF] Scraping: Reload scrape pools concurrently. #16595 #16783
  • [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_fraction or histogram_quantile if classic and native histograms are present at the same timestamp. #16552
  • [BUGFIX] PromQL: Incorrect rounding of [1001ms] to [1s] and similar. #16478
  • [BUGFIX] PromQL: Fix inconsistent / sometimes negative histogram_count and histogram_sum. #16682
  • [BUGFIX] PromQL: Improve handling of NaNs in native histograms. #16724
  • [BUGFIX] PromQL: Fix unary operator precedence in duration expressions. #16713
  • [BUGFIX] PromQL: Improve consistency of avg aggregation and avg_over_time. #16569 #16773
  • [BUGFIX] UI: Add query warnings and info to graph view. #16753 #16759
  • [BUGFIX] API: Add HTTP Vary: Origin header to responses to avoid cache poisoning. #16008
  • [BUGFIX] Discovery: Avoid deadlocks by taking locks in consistent order. #16587
  • [BUGFIX] Remote-write: For Azure AD auth, allow empty client_id to suppport system assigned managed identity. #16421
  • [BUGFIX] Scraping: Fix rare memory corruption bug. #16623
  • [BUGFIX] Scraping: continue handling custom-bucket histograms after an exponential histogram is encountered. #16720
  • [BUGFIX] OTLP: Default config not respected when otlp: block is unset. #16693

- Go
Published by prombot 8 months ago

https://github.com/prometheus/prometheus - 3.5.0-rc.0 / 2025-06-25

3.5 will be 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.

What's Changed

  • [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 flag experimental-promql-functions. #16722 #16733
  • [FEATURE] Scraping: Add global option always_scrape_classic_histograms to scrape a classic histogram even if it is also exposed as native. #16452
  • [FEATURE] OTLP: Support promoting OTel scope name/version/schema URL/attributes as metric labels, via otlp.promote_scope_metadata. #16730 #16760
  • [FEATURE] OTLP: New config options promote_all_resource_attributes and ignore_resource_attributes. #16426
  • [FEATURE] Discovery: New service discovery for STACKIT Cloud. #16401
  • [ENHANCEMENT] Hetzner SD: Add label_selector to filter servers. #16512
  • [ENHANCEMENT] PromQL: support non-constant parameter in aggregations like quantile and topk. #16404
  • [ENHANCEMENT] UI: Better total target count display when using keep_dropped_targets option. #16604
  • [ENHANCEMENT] UI: Add simple filtering on the /rules page. #16605
  • [ENHANCEMENT] UI: Display query stats in hover tooltip over table query tab. #16723
  • [ENHANCEMENT] UI: Clear search field on /targets page. #16567
  • [ENHANCEMENT] Rules: Check that rules parse without error earlier at startup. #16601
  • [ENHANCEMENT] Promtool: Optional fuzzy float64 comparison in rules unittests. #16395
  • [PERF] PromQL: Reuse histogramStatsIterator where possible. #16686
  • [PERF] PromQL: Reuse storage for custom bucket values for native histograms. #16565
  • [PERF] UI: Optimize memoization and search debouncing on /targets page. #16589
  • [PERF] UI: Fix full-page re-rendering when opening status nav menu. #16590
  • [PERF] Kubernetes SD: use service cache.Indexer to achieve better performance. #16365
  • [PERF] TSDB: Optionally use Direct IO for chunks writing. #15365
  • [PERF] TSDB: When fetching label values, stop work earlier if the limit is reached. #16158
  • [PERF] Labels: Simpler/faster stringlabels encoding. #16069
  • [PERF] Scraping: Reload scrape pools concurrently. #16595 #16783
  • [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_fraction or histogram_quantile if classic and native histograms are present at the same timestamp. #16552
  • [BUGFIX] PromQL: Incorrect rounding of [1001ms] to [1s] and similar. #16478
  • [BUGFIX] PromQL: Fix inconsistent / sometimes negative histogram_count and histogram_sum. #16682
  • [BUGFIX] PromQL: Improve handling of NaNs in native histograms. #16724
  • [BUGFIX] PromQL: Fix unary operator precedence in duration expressions. #16713
  • [BUGFIX] PromQL: Improve consistency of avg aggregation and avg_over_time. #16569 #16773
  • [BUGFIX] UI: Add query warnings and info to graph view. #16753 #16759
  • [BUGFIX] API: Add HTTP Vary: Origin header to responses to avoid cache poisoning. #16008
  • [BUGFIX] Discovery: Avoid deadlocks by taking locks in consistent order. #16587
  • [BUGFIX] Remote-write: For Azure AD auth, allow empty client_id to suppport system assigned managed identity. #16421
  • [BUGFIX] Scraping: Fix rare memory corruption bug. #16623
  • [BUGFIX] Scraping: continue handling custom-bucket histograms after an exponential histogram is encountered. #16720
  • [BUGFIX] OTLP: Default config not respected when otlp: block is unset. #16693

- Go
Published by prombot 8 months ago

https://github.com/prometheus/prometheus - 2.53.5 / 2025-06-27

[LTS patch release]

  • [ENHANCEMENT] TSDB: Add backward compatibility with the upcoming TSDB block index v3 #16762
  • [BUGFIX] Top-level: Update GOGC before loading TSDB #16521

- Go
Published by prombot 8 months ago

https://github.com/prometheus/prometheus - 3.4.2 / 2025-06-26

  • [BUGFIX] OTLP receiver: Fix default configuration not being respected if the otlp: block is unset in the config file. #16693

- Go
Published by prombot 8 months ago

https://github.com/prometheus/prometheus - 3.4.1 / 2025-05-31

  • [BUGFIX] Parser: Add reproducer for a dangling-reference issue in parsers. #16633

- Go
Published by prombot 9 months ago

https://github.com/prometheus/prometheus - 3.4.0 / 2025-05-17

  • [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 when out_of_order_time_window is greater than zero and --enable-feature=native-histograms is 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
  • [ENHANCEMENT] PromQL: histogram_fraction for bucket histograms. #16095
  • [ENHANCEMENT] TSDB: add prometheus_tsdb_wal_replay_unknown_refs_total and prometheus_tsdb_wbl_replay_unknown_refs_total metrics to track unknown series references during WAL/WBL replay. #16166
  • [ENHANCEMENT] Scraping: Add config option for escaping scheme request. #16066
  • [ENHANCEMENT] Config: Add global config option for convertclassichistogramstonhcb. #16226
  • [ENHANCEMENT] Alerting: make batch size configurable (--alertmanager.notification-batch-size). #16254
  • [PERF] Kubernetes SD: make endpointSlice discovery more efficient. #16433
  • [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
  • [BUGFIX] Rules: correct logging of alert name & template data. #15093
  • [BUGFIX] PromQL: Use arithmetic mean for histogram_stddev() and histogram_stdvar() . #16444

- Go
Published by prombot 10 months ago

https://github.com/prometheus/prometheus - 3.4.0-rc.0 / 2025-04-29

  • [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 when out_of_order_time_window is greater than zero and --enable-feature=native-histograms is 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
  • [ENHANCEMENT] PromQL: histogram_fraction for bucket histograms. #16095
  • [ENHANCEMENT] TSDB: add prometheus_tsdb_wal_replay_unknown_refs_total and prometheus_tsdb_wbl_replay_unknown_refs_total metrics to track unknown series references during WAL/WBL replay. #16166
  • [ENHANCEMENT] Scraping: Add config option for escaping scheme request. #16066
  • [ENHANCEMENT] Config: Add global config option for convertclassichistogramstonhcb. #16226
  • [ENHANCEMENT] Alerting: make batch size configurable (--alertmanager.notification-batch-size). #16254
  • [PERF] Kubernetes SD: make endpointSlice discovery more efficient. #16433
  • [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
  • [BUGFIX] Rules: correct logging of alert name & template data. #15093
  • [BUGFIX] PromQL: Use arithmetic mean for histogram_stddev() and histogram_stdvar() . #16444

- Go
Published by prombot 10 months ago

https://github.com/prometheus/prometheus - 3.3.1 / 2025-05-02

  • [BUGFIX] Azure SD: Fix panic on malformed log message. #16434 #16210
  • [BUGFIX] Config: Update GOGC before loading TSDB. #16491

- Go
Published by prombot 10 months ago

https://github.com/prometheus/prometheus - 3.3.0 / 2025-04-15

  • [FEATURE] PromQL: Implement idelta() and irate() for native histograms. #15853
  • [ENHANCEMENT] Scaleway SD: Add __meta_scaleway_instance_public_ipv4_addresses and __meta_scaleway_instance_public_ipv6_addresses labels. #14228
  • [ENHANCEMENT] TSDB: Reduce locking while reloading blocks. #12920
  • [ENHANCEMENT] PromQL: Allow UTF-8 labels in label_replace(). #15974
  • [ENHANCEMENT] Promtool: tsdb create-blocks-from openmetrics can now read from a Pipe. #16011
  • [ENHANCEMENT] Rules: Add support for anchors and aliases in rule files. #14957
  • [ENHANCEMENT] Dockerfile: Make /prometheus writable. #16073
  • [ENHANCEMENT] API: Include scrape pool name for dropped targets in /api/v1/targets. #16085
  • [ENHANCEMENT] UI: Improve time formatting and copying of selectors. #15999 #16165
  • [ENHANCEMENT] UI: Bring back vertical grid lines and graph legend series toggling instructions. #16163 #16164
  • [ENHANCEMENT] Mixin: The cluster label can be customized using clusterLabel. #15826
  • [PERF] TSDB: Optimize some operations on head chunks by taking shortcuts. #12659
  • [PERF] TSDB & Agent: Reduce memory footprint during WL replay. #15778
  • [PERF] Remote-Write: Reduce memory footprint during WAL replay. #16197
  • [PERF] API: Reduce memory footprint during header parsing. #16001
  • [PERF] Rules: Improve dependency evaluation, enabling better concurrency. #16039
  • [PERF] Scraping: Improve scraping performance for native histograms. #15731
  • [PERF] Scraping: Improve parsing of created timestamps. #16072
  • [BUGFIX] Scraping: Bump cache iteration after error to avoid false duplicate detections. #16174
  • [BUGFIX] Scraping: Skip native histograms series when ingestion is disabled. #16218
  • [BUGFIX] PromQL: Fix counter reset detection for native histograms. #15902 #15987
  • [BUGFIX] PromQL: Fix inconsistent behavior with an empty range. #15970
  • [BUGFIX] PromQL: Fix inconsistent annotation in quantile_over_time(). #16018
  • [BUGFIX] PromQL: Prevent label_join() from producing duplicates. #15975
  • [BUGFIX] PromQL: Ignore native histograms in scalar(), sort() and sort_desc(). #15964
  • [BUGFIX] PromQL: Fix annotations for binary operations between incompatible native histograms. #15895
  • [BUGFIX] Alerting: Consider alert relabeling when deciding whether alerts are dropped. #15979
  • [BUGFIX] Config: Set GoGC to the default value in case of an empty configuration. #16052
  • [BUGFIX] TSDB: Fix unknown series errors and potential data loss during WAL replay when inactive series are removed from the head and reappear before the next WAL checkpoint. #16060
  • [BUGFIX] Scaleway SD: The public IP will no longer be set to __meta_meta_scaleway_instance_public_ipv4 if it is an IPv6 address. #14228
  • [BUGFIX] UI: Display the correct value of Alerting rules' keep_firing_for. #16211

- Go
Published by prombot 10 months ago

https://github.com/prometheus/prometheus - 3.3.0-rc.1 / 2025-04-02

  • [BUGFIX] Remote-Write: Reduce memory footprint during WAL replay. #16197
  • [BUGFIX] Scraping: Skip native histograms series when ingestion is disabled. #16218
  • [BUGFIX] UI: Display the correct value of Alerting rules' keep_firing_for. #16211
  • [BUGFIX] PromQL: return NaN from irate() if second-last sample is NaN. #16199 #15853

- Go
Published by prombot 11 months ago

https://github.com/prometheus/prometheus - 3.3.0-rc.0 / 2025-03-11

  • [FEATURE] PromQL: Implement idelta() and irate() for native histograms. #15853
  • [ENHANCEMENT] Scaleway SD: Add __meta_scaleway_instance_public_ipv4_addresses and __meta_scaleway_instance_public_ipv6_addresses labels. #14228
  • [ENHANCEMENT] TSDB: Reduce locking while reloading blocks. #12920
  • [ENHANCEMENT] PromQL: Allow UTF-8 labels in label_replace(). #15974
  • [ENHANCEMENT] Promtool: tsdb create-blocks-from openmetrics can now read from a Pipe. #16011
  • [ENHANCEMENT] Rules: Add support for anchors and aliases in rule files. #14957
  • [ENHANCEMENT] Dockerfile: Make /prometheus writable. #16073
  • [ENHANCEMENT] API: Include scrape pool name for dropped targets in /api/v1/targets. #16085
  • [ENHANCEMENT] UI: Improve time formatting and copying of selectors. #15999 #16165
  • [ENHANCEMENT] UI: Bring back vertical grid lines and graph legend series toggling instructions. #16163 #16164
  • [ENHANCEMENT] Mixin: The cluster label can be customized using clusterLabel. #15826
  • [PERF] TSDB: Optimize some operations on head chunks by taking shortcuts. #12659
  • [PERF] TSDB & Agent: Reduce memory footprint during WL replay. #15778
  • [PERF] API: Reduce memory footprint during header parsing. #16001
  • [PERF] Rules: Improve dependency evaluation, enabling better concurrency. #16039
  • [PERF] Scraping: Improve scraping performance for native histograms. #15731
  • [PERF] Scraping: Improve parsing of created timestamps. #16072
  • [BUGFIX] PromQL: Fix counter reset detection for native histograms. #15902 #15987
  • [BUGFIX] Scaleway SD: The public IP will no longer be set to __meta_meta_scaleway_instance_public_ipv4 if it is an IPv6 address. #14228
  • [BUGFIX] PromQL: Fix inconsistent behavior with an empty range. #15970
  • [BUGFIX] PromQL: Fix inconsistent annotation in quantile_over_time(). #16018
  • [BUGFIX] PromQL: Prevent label_join() from producing duplicates. #15975
  • [BUGFIX] PromQL: Ignore native histograms in scalar(), sort() and sort_desc(). #15964
  • [BUGFIX] Alerting: Consider alert relabeling when deciding whether alerts are dropped. #15979
  • [BUGFIX] Config: Set GoGC to the default value in case of an empty configuration. #16052
  • [BUGFIX] TSDB: Fix unknown series errors and potential data loss during WAL replay when inactive series are removed from the head and reappear before the next WAL checkpoint. #16060
  • [BUGFIX] Scraping: Bump cache iteration after error to avoid false duplicate detections. #16174
  • [BUGFIX] PromQL: Fix annotations for binary operations between incompatible native histograms. #15895

- Go
Published by prombot 11 months ago

https://github.com/prometheus/prometheus - 2.53.4 / 2025-03-18

  • [BUGFIX] Runtime: fix GOGC is being set to 0 when installed with empty prometheus.yml file resulting high cpu usage. #16090
  • [BUGFIX] Scrape: fix dropping valid metrics after previous scrape failed. #16220

- Go
Published by prombot 12 months ago

https://github.com/prometheus/prometheus - 3.2.1 / 2025-02-25

  • [BUGFIX] Don't send Accept header escape=allow-utf-8 when metric_name_validation_scheme: legacy is configured. #16061

- Go
Published by prombot about 1 year ago

https://github.com/prometheus/prometheus - 3.2.0 / 2025-02-17

Prometheus v3.2.0 Changelog

  • [CHANGE] relabel: Replace actions can now use UTF-8 characters in targetLabel field. Note that $<chars> or ${<chars>} will be expanded. This also apply to replacement field for LabelMap action. #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-deltatocumulative to 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-records feature. #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 /query and /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

- Go
Published by prombot about 1 year ago

https://github.com/prometheus/prometheus - 3.2.0-rc.1 / 2025-01-29

  • [CHANGE] relabel: Replace actions can now use UTF-8 characters in targetLabel field. Note that $<chars> or ${<chars>} will be expanded. This also apply to replacement field for LabelMap action. #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-deltatocumulative to 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-records feature. #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 /query and /query_range. #15552
  • [ENHANCEMENT] api: Add fields Node and ServerTime to /status. #15784
  • [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

- Go
Published by prombot about 1 year ago

https://github.com/prometheus/prometheus - 3.1.0 / 2025-01-02

What's Changed

  • [SECURITY] upgrade golang.org/x/crypto to address reported CVE-2024-45337. #15691
  • [CHANGE] Notifier: Increment prometheusnotificationserrors_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 rulegrouplastruledurationsumseconds. #15672
  • [ENHANCEMENT] Observability: Export 'gosyncmutexwaittotalsecondstotal' metric. #15339
  • [ENHANCEMEN] Remote-Write: optionally use a DNS resolver that picks a random IP. #15329
  • [PERF] Optimize l=~".+" matcher. #15474, #15684
  • [PERF] TSDB: Cache all symbols for compaction . #15455
  • [PERF] TSDB: MemPostings: keep a map of label values slices. #15426
  • [PERF] Remote-Write: Remove interning hook. #15456
  • [PERF] Scrape: optimize string manipulation for experimental native histograms with custom buckets. #15453
  • [PERF] TSDB: reduce memory allocations. #15465, #15427
  • [PERF] Storage: Implement limit in mergeGenericQuerier. #14489
  • [PERF] TSDB: Optimize inverse matching. #14144
  • [PERF] Regex: use stack memory for lowercase copy of string. #15210
  • [PERF] TSDB: When deleting from postings index, pause to unlock and let readers read. #15242
  • [BUGFIX] Main: Avoid possible segfault at exit. (#15724)
  • [BUGFIX] Rules: Do not run rules concurrently if uncertain about dependencies. #15560
  • [BUGFIX] PromQL: Adds test for absent, absent_over_time and deriv func with histograms. #15667
  • [BUGFIX] PromQL: Fix various bugs related to quoting UTF-8 characters. #15531
  • [BUGFIX] Scrape: fix nil panic after scrape loop reload. #15563
  • [BUGFIX] Remote-write: fix panic on repeated log message. #15562
  • [BUGFIX] Scrape: reload would ignore alwaysscrapeclassichistograms and convertclassichistogramsto_nhcb configs. #15489
  • [BUGFIX] TSDB: fix data corruption in experimental native histograms. #15482
  • [BUGFIX] PromQL: Ignore histograms in all time related functions. #15479
  • [BUGFIX] OTLP receiver: Convert metric metadata. #15416
  • [BUGFIX] PromQL: Fix resets function for histograms. #15527
  • [BUGFIX] PromQL: Fix behaviour of changes() for mix of histograms and floats. #15469
  • [BUGFIX] PromQL: Fix behaviour of some aggregations with histograms. #15432
  • [BUGFIX] allow quoted exemplar keys in openmetrics text format. #15260
  • [BUGFIX] TSDB: fixes for rare conditions when loading write-behind-log (WBL). #15380
  • [BUGFIX] round() function did not remove __name__ label. #15250
  • [BUGFIX] Promtool: analyze block shows metric name with 0 cardinality. #15438
  • [BUGFIX] PromQL: Fix count_values for histograms. #15422
  • [BUGFIX] PromQL: fix issues with comparison binary operations with bool modifier and native histograms. #15413
  • [BUGFIX] PromQL: fix incorrect "native histogram ignored in aggregation" annotations. #15414
  • [BUGFIX] PromQL: Corrects the behaviour of some operator and aggregators with Native Histograms. #15245
  • [BUGFIX] TSDB: Always return unknown hint for first sample in non-gauge histogram chunk. #15343
  • [BUGFIX] PromQL: Clamp functions: Ignore any points with native histograms. #15169
  • [BUGFIX] TSDB: Fix race on stale values in headAppender. #15322
  • [BUGFIX] UI: Fix selector / series formatting for empty metric names. #15340
  • [BUGFIX] OTLP receiver: Allow colons in non-standard units. #15710

- Go
Published by prombot about 1 year ago

https://github.com/prometheus/prometheus - 3.1.0-rc.1 / 2024-12-30

Since RC.0: * [BUGFIX] avoid possible segfault at exit. (#15724) * [BUGFIX] OTLP receiver: Allow colons in non-standard units. #15710

Included in RC.0: * [SECURITY] upgrade golang.org/x/crypto to address reported CVE-2024-45337. #15691 * [CHANGE] Notifier: Increment prometheusnotificationserrorstotal 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 targetinfo. #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 rulegrouplastruledurationsumseconds. #15672 * [ENHANCEMENT] Observability: Export 'gosyncmutexwaittotalsecondstotal' metric. #15339 * [ENHANCEMEN] Remote-Write: optionally use a DNS resolver that picks a random IP. #15329 * [PERF] Optimize l=~".+" matcher. #15474, #15684 * [PERF] TSDB: Cache all symbols for compaction . #15455 * [PERF] TSDB: MemPostings: keep a map of label values slices. #15426 * [PERF] TSDB: reduce memory allocations. #15465, #15427 * [PERF] TSDB: Optimize inverse matching. #14144 * [PERF] TSDB: When deleting from postings index, pause to unlock and let readers read. #15242 * [PERF] Scrape: optimize string manipulation for experimental native histograms with custom buckets. #15453 * [PERF] Storage: Implement limit in mergeGenericQuerier. #14489 * [PERF] Regex: use stack memory for lowercase copy of string. #15210 * [PERF] Remote-Write: Remove interning hook. #15456 * [BUGFIX] Rules: Do not run rules concurrently if uncertain about dependencies. #15560 * [BUGFIX] Scrape: fix nil panic after scrape loop reload. #15563 * [BUGFIX] Remote-write: fix panic on repeated log message. #15562 * [BUGFIX] Scrape: reload would ignore alwaysscrapeclassichistograms and convertclassichistogramstonhcb configs. #15489 * [BUGFIX] TSDB: fix data corruption in experimental native histograms. #15482 * [BUGFIX] OTLP receiver: Convert metric metadata. #15416 * [BUGFIX] allow quoted exemplar keys in openmetrics text format. #15260 * [BUGFIX] PromQL: round() function did not remove `namelabel. #15250 * [BUGFIX] PromQL: Fix various bugs related to quoting UTF-8 characters. #15531 * [BUGFIX] PromQL: Fixresetsfunction for histograms. #15527 * [BUGFIX] PromQL: Fix behaviour ofchanges()for mix of histograms and floats. #15469 * [BUGFIX] PromQL: Fix behaviour of some aggregations with histograms. #15432 * [BUGFIX] PromQL: Fixcountvaluesfor histograms. #15422 * [BUGFIX] PromQL: fix issues with comparison binary operations withbool` modifier and native histograms. #15413 * [BUGFIX] PromQL: fix incorrect "native histogram ignored in aggregation" annotations. #15414 * [BUGFIX] PromQL: Corrects the behaviour of some operator and aggregators with Native Histograms. #15245 * [BUGFIX] PromQL: Clamp functions: Ignore any points with native histograms. #15169 * [BUGFIX] PromQL: Ignore histograms in all time related functions. #15479 * [BUGFIX] Promtool: analyze block shows metric name with 0 cardinality. #15438 * [BUGFIX] TSDB: fixes for rare conditions when loading write-behind-log (WBL). #15380 * [BUGFIX] TSDB: Always return unknown hint for first sample in non-gauge histogram chunk. #15343 * [BUGFIX] TSDB: Fix race on stale values in headAppender. #15322 * [BUGFIX] UI: Fix selector / series formatting for empty metric names. #15340

- Go
Published by prombot about 1 year ago

https://github.com/prometheus/prometheus - 3.1.0-rc.0 / 2024-12-18

  • [SECURITY] upgrade golang.org/x/crypto to address reported CVE-2024-45337. #15691
  • [CHANGE] Notifier: Increment prometheusnotificationserrors_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 rulegrouplastruledurationsumseconds. #15672
  • [ENHANCEMENT] Observability: Export 'gosyncmutexwaittotalsecondstotal' metric. #15339
  • [ENHANCEMEN] Remote-Write: optionally use a DNS resolver that picks a random IP. #15329
  • [PERF] Optimize l=~".+" matcher. #15474, #15684
  • [PERF] TSDB: Cache all symbols for compaction . #15455
  • [PERF] TSDB: MemPostings: keep a map of label values slices. #15426
  • [PERF] Remote-Write: Remove interning hook. #15456
  • [PERF] Scrape: optimize string manipulation for experimental native histograms with custom buckets. #15453
  • [PERF] TSDB: reduce memory allocations. #15465, #15427
  • [PERF] Storage: Implement limit in mergeGenericQuerier. #14489
  • [PERF] TSDB: Optimize inverse matching. #14144
  • [PERF] Regex: use stack memory for lowercase copy of string. #15210
  • [PERF] TSDB: When deleting from postings index, pause to unlock and let readers read. #15242
  • [BUGFIX] Rules: Do not run rules concurrently if uncertain about dependencies. #15560
  • [BUGFIX] PromQL: Adds test for absent, absent_over_time and deriv func with histograms. #15667
  • [BUGFIX] PromQL: Fix various bugs related to quoting UTF-8 characters. #15531
  • [BUGFIX] Scrape: fix nil panic after scrape loop reload. #15563
  • [BUGFIX] Remote-write: fix panic on repeated log message. #15562
  • [BUGFIX] Scrape: reload would ignore alwaysscrapeclassichistograms and convertclassichistogramsto_nhcb configs. #15489
  • [BUGFIX] TSDB: fix data corruption in experimental native histograms. #15482
  • [BUGFIX] PromQL: Ignore histograms in all time related functions. #15479
  • [BUGFIX] OTLP receiver: Convert metric metadata. #15416
  • [BUGFIX] PromQL: Fix resets function for histograms. #15527
  • [BUGFIX] PromQL: Fix behaviour of changes() for mix of histograms and floats. #15469
  • [BUGFIX] PromQL: Fix behaviour of some aggregations with histograms. #15432
  • [BUGFIX] allow quoted exemplar keys in openmetrics text format. #15260
  • [BUGFIX] TSDB: fixes for rare conditions when loading write-behind-log (WBL). #15380
  • [BUGFIX] round() function did not remove __name__ label. #15250
  • [BUGFIX] Promtool: analyze block shows metric name with 0 cardinality. #15438
  • [BUGFIX] PromQL: Fix count_values for histograms. #15422
  • [BUGFIX] PromQL: fix issues with comparison binary operations with bool modifier and native histograms. #15413
  • [BUGFIX] PromQL: fix incorrect "native histogram ignored in aggregation" annotations. #15414
  • [BUGFIX] PromQL: Corrects the behaviour of some operator and aggregators with Native Histograms. #15245
  • [BUGFIX] TSDB: Always return unknown hint for first sample in non-gauge histogram chunk. #15343
  • [BUGFIX] PromQL: Clamp functions: Ignore any points with native histograms. #15169
  • [BUGFIX] TSDB: Fix race on stale values in headAppender. #15322
  • [BUGFIX] UI: Fix selector / series formatting for empty metric names. #15340

- Go
Published by prombot about 1 year ago

https://github.com/prometheus/prometheus - 3.0.1 / 2024-11-28

The first bug fix release for Prometheus 3.

  • [BUGFIX] Promql: Make subqueries left open. #15431
  • [BUGFIX] Fix memory leak when query log is enabled. #15434
  • [BUGFIX] Support utf8 names on /v1/label/:name/values endpoint. #15399

- Go
Published by prombot about 1 year ago

https://github.com/prometheus/prometheus - 3.0.0 / 2024-11-14

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.

  • [CHANGE] Set the GOMAXPROCS variable automatically to match the Linux CPU quota. Use --no-auto-gomaxprocs to disable it. The auto-gomaxprocs feature flag was removed. #15376
  • [CHANGE] Set the GOMEMLIMIT variable automatically to match the Linux container memory limit. Use --no-auto-gomemlimit to disable it. The auto-gomemlimit feature flag was removed. #15373
  • [CHANGE] Scraping: Remove implicit fallback to the Prometheus text format in case of invalid/missing Content-Type and fail the scrape instead. Add ability to specify a fallback_scrape_protocol in the scrape config. #15136
  • [CHANGE] Remote-write: default enable_http2 to false. #15219
  • [CHANGE] Scraping: normalize "le" and "quantile" label values upon ingestion. #15164
  • [CHANGE] Scraping: config scrape_classic_histograms was renamed to always_scrape_classic_histograms. #15178
  • [CHANGE] Config: remove expand-external-labels flag, expand external labels env vars by default. #14657
  • [CHANGE] Disallow configuring AM with the v1 api. #13883
  • [CHANGE] regexp . now matches all characters (performance improvement). #14505
  • [CHANGE] holt_winters is now called double_exponential_smoothing and moves behind the experimental-promql-functions feature flag. #14930
  • [CHANGE] API: The OTLP receiver endpoint can now be enabled using --web.enable-otlp-receiver instead of --enable-feature=otlp-write-receiver. #14894
  • [CHANGE] Prometheus will not add or remove port numbers from the target address. no-default-scrape-port feature flag removed. #14160
  • [CHANGE] Logging: the format of log lines has changed a little, along with the adoption of Go's Structured Logging package. #14906
  • [CHANGE] Don't create extra _created timeseries if feature-flag created-timestamp-zero-ingestion is enabled. #14738
  • [CHANGE] Float literals and time durations being the same is now a stable fetaure. #15111
  • [CHANGE] UI: The old web UI has been replaced by a completely new one that is less cluttered and adds a few new features (PromLens-style tree view, better metrics explorer, "Explain" tab). However, it is still missing some features of the old UI (notably, exemplar display and heatmaps). To switch back to the old UI, you can use the feature flag --enable-feature=old-ui for the time being. #14872
  • [CHANGE] PromQL: Range selectors and the lookback delta are now left-open, i.e. a sample coinciding with the lower time limit is excluded rather than included. #13904
  • [CHANGE] Kubernetes SD: Remove support for discovery.k8s.io/v1beta1 API version of EndpointSlice. This version is no longer served as of Kubernetes v1.25. #14365
  • [CHANGE] Kubernetes SD: Remove support for networking.k8s.io/v1beta1 API version of Ingress. This version is no longer served as of Kubernetes v1.22. #14365
  • [CHANGE] UTF-8: Enable UTF-8 support by default. Prometheus now allows all UTF-8 characters in metric and label names. The corresponding utf8-name feature flag has been removed. #14705
  • [CHANGE] Console: Remove example files for the console feature. Users can continue using the console feature by supplying their own JavaScript and templates. #14807
  • [CHANGE] SD: Enable the new service discovery manager by default. This SD manager does not restart unchanged discoveries upon reloading. This makes reloads faster and reduces pressure on service discoveries' sources. The corresponding new-service-discovery-manager feature flag has been removed. #14770
  • [CHANGE] Agent mode has been promoted to stable. The feature flag agent has been removed. To run Prometheus in Agent mode, use the new --agent cmdline arg instead. #14747
  • [CHANGE] Remove deprecated remote-write-receiver,promql-at-modifier, and promql-negative-offset feature flags. #13456, #14526
  • [CHANGE] Remove deprecated storage.tsdb.allow-overlapping-blocks, alertmanager.timeout, and storage.tsdb.retention flags. #14640, #14643
  • [FEATURE] OTLP receiver: Ability to skip UTF-8 normalization using otlp.translation_strategy = NoUTF8EscapingWithSuffixes configuration option. #15384
  • [FEATURE] Support config reload automatically - feature flag auto-reload-config. #14769
  • [ENHANCEMENT] Scraping, rules: handle targets reappearing, or rules moving group, when out-of-order is enabled. #14710
  • [ENHANCEMENT] Tools: add debug printouts to promtool rules unit testing #15196
  • [ENHANCEMENT] Scraping: support Created-Timestamp feature on native histograms. #14694
  • [ENHANCEMENT] UI: Many fixes and improvements. #14898, #14899, #14907, #14908, #14912, #14913, #14914, #14931, #14940, #14945, #14946, #14972, #14981, #14982, #14994, #15096
  • [ENHANCEMENT] UI: Web UI now displays notifications, e.g. when starting up and shutting down. #15082
  • [ENHANCEMENT] PromQL: Introduce exponential interpolation for native histograms. #14677
  • [ENHANCEMENT] TSDB: Add support for ingestion of out-of-order native histogram samples. #14850, #14546
  • [ENHANCEMENT] Alerts: remove metrics for removed Alertmanagers. #13909
  • [ENHANCEMENT] Kubernetes SD: Support sidecar containers in endpoint discovery. #14929
  • [ENHANCEMENT] Consul SD: Support catalog filters. #11224
  • [ENHANCEMENT] Move AM discovery page from "Monitoring status" to "Server status". #14875
  • [PERF] TSDB: Parallelize deletion of postings after head compaction. #14975
  • [PERF] TSDB: Chunk encoding: shorten some write sequences. #14932
  • [PERF] TSDB: Grow postings by doubling. #14721
  • [PERF] Relabeling: Optimize adding a constant label pair. #12180
  • [BUGFIX] UI: fix selector / series formatting for empty metric names. #15341
  • [BUGFIX] PromQL: Fix stddev+stdvar aggregations to always ignore native histograms. #14941
  • [BUGFIX] PromQL: Fix stddev+stdvar aggregations to treat Infinity consistently. #14941
  • [BUGFIX] OTLP receiver: Preserve colons when generating metric names in suffix adding mode (this mode is always enabled, unless one uses Prometheus as a library). #15251
  • [BUGFIX] Scraping: Unit was missing when using protobuf format. #15095
  • [BUGFIX] PromQL: Only return "possible non-counter" annotation when rate returns points. #14910
  • [BUGFIX] TSDB: Chunks could have one unnecessary zero byte at the end. #14854
  • [BUGFIX] "superfluous response.WriteHeader call" messages in log. #14884
  • [BUGFIX] PromQL: Unary negation of native histograms. #14821
  • [BUGFIX] PromQL: Handle stale marker in native histogram series (e.g. if series goes away and comes back). #15025
  • [BUGFIX] Autoreload: Reload invalid yaml files. #14947
  • [BUGFIX] Scrape: Do not override target parameter labels with config params. #11029

Full Changelog: https://github.com/prometheus/prometheus/compare/v2.55.0...v3.0.0

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 3.0.0-rc.1 / 2024-11-11

This is the next Release Candidate of Prometheus 3.0.0.

Please test it out on non-critical environments; nothing further will be changed in 3.0.0 except to fix bugs.

Prometheus 3.0.0 includes new features such as a brand new UI and UTF-8 support enabled by default.

Migration guide is here.

New changes since v3.0.0-rc.0:

  • [CHANGE] Set the GOMAXPROCS variable automatically to match the Linux CPU quota. Use --no-auto-gomaxprocs to disable it. The auto-gomaxprocs feature flag was removed. #15376
  • [CHANGE] Set the GOMEMLIMIT variable automatically to match the Linux container memory limit. Use --no-auto-gomemlimit to disable it. The auto-gomemlimit feature flag was removed. #15373
  • [FEATURE] OTLP receiver: Ability to skip UTF-8 normalization using otlp.translation_strategy = NoUTF8EscapingWithSuffixes configuration option. #15384
  • [BUGFIX] Scraping: Don't log errors on empty scrapes. #15357
  • [BUGFIX] UI: fix selector / series formatting for empty metric names. #15341

Full Changelog: https://github.com/prometheus/prometheus/compare/v2.55.0...v3.0.0-rc.1

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.55.1 / 2024-11-04

  • [BUGFIX] round() function did not remove __name__ label. #15250

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.53.3 / 2024-11-04

  • [BUGFIX] Scraping: allow multiple samples on same series, with explicit timestamps. #14685, #14740

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 3.0.0-rc.0 / 2024-10-31

This is the first Release Candidate of Prometheus 3.0.0. Please test it out on non-critical environments; nothing further will be changed in 3.0.0 except to fix bugs.

Prometheus 3.0.0 includes new features such as a brand new UI and UTF-8 support enabled by default.

New changes since v3.0.0-beta.1:

  • [CHANGE] Scraping: Remove implicit fallback to the Prometheus text format in case of invalid/missing Content-Type and fail the scrape instead. Add ability to specify a fallback_scrape_protocol in the scrape config. #15136
  • [CHANGE] Remote-write: default enable_http2 to false. #15219
  • [CHANGE] Scraping: normalize "le" and "quantile" label values upon ingestion. #15164
  • [CHANGE] Scraping: config scrape_classic_histograms was renamed to always_scrape_classic_histograms. #15178
  • [CHANGE] Config: remove expand-external-labels flag, expand external labels env vars by default. #14657
  • [CHANGE] Disallow configuring AM with the v1 api. #13883
  • [ENHANCEMENT] Scraping, rules: handle targets reappearing, or rules moving group, when out-of-order is enabled. #14710
  • [ENHANCEMENT] Tools: add debug printouts to promtool rules unit testing #15196
  • [ENHANCEMENT] Scraping: support Created-Timestamp feature on native histograms. #14694
  • [BUGFIX] PromQL: Fix stddev+stdvar aggregations to always ignore native histograms. #14941
  • [BUGFIX] PromQL: Fix stddev+stdvar aggregations to treat Infinity consistently. #14941
  • [BUGFIX] OTLP receiver: Preserve colons when generating metric names in suffix adding mode (this mode is always enabled, unless one uses Prometheus as a library). #15251

Changes from v3.0.0-beta.1 and v3.0.0-beta.0 are also included in this version.

Full Changelog: https://github.com/prometheus/prometheus/compare/v2.55.0...v3.0.0-rc.0

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.55.0 / 2024-10-22

What's Changed

  • [FEATURE] PromQL: Add experimental info function. #14495
  • [FEATURE] Support UTF-8 characters in label names - feature flag utf8-names. #14482, #14880, #14736, #14727
  • [FEATURE] Scraping: Add the ability to set custom http_headers in config. #14817
  • [FEATURE] Scraping: Support feature flag created-timestamp-zero-ingestion in OpenMetrics. #14356, #14815
  • [FEATURE] Scraping: scrape_failure_log_file option to log failures to a file. #14734
  • [FEATURE] OTLP receiver: Optional promotion of resource attributes to series labels. #14200
  • [FEATURE] Remote-Write: Support Google Cloud Monitoring authorization. #14346
  • [FEATURE] Promtool: tsdb create-blocks new option to add labels. #14403
  • [FEATURE] Promtool: promtool test adds --junit flag to format results. #14506
  • [FEATURE] TSDB: Add delayed-compaction feature flag, for people running many Prometheus to randomize timing. #12532
  • [ENHANCEMENT] OTLP receiver: Warn on exponential histograms with zero count and non-zero sum. #14706
  • [ENHANCEMENT] OTLP receiver: Interrupt translation on context cancellation/timeout. #14612
  • [ENHANCEMENT] Remote Read client: Enable streaming remote read if the server supports it. #11379
  • [ENHANCEMENT] Remote-Write: Don't reshard if we haven't successfully sent a sample since last update. #14450
  • [ENHANCEMENT] PromQL: Delay deletion of __name__ label to the end of the query evaluation. This is experimental and enabled under the feature-flag promql-delayed-name-removal. #14477
  • [ENHANCEMENT] PromQL: Experimental sort_by_label and sort_by_label_desc sort by all labels when label is equal. #14655, #14985
  • [ENHANCEMENT] PromQL: Clarify error message logged when Go runtime panic occurs during query evaluation. #14621
  • [ENHANCEMENT] PromQL: Use Kahan summation for better accuracy in avg and avg_over_time. #14413
  • [ENHANCEMENT] Tracing: Improve PromQL tracing, including showing the operation performed for aggregates, operators, and calls. #14816
  • [ENHANCEMENT] API: Support multiple listening addresses. #14665
  • [ENHANCEMENT] TSDB: Backward compatibility with upcoming index v3. #14934
  • [PERF] TSDB: Query in-order and out-of-order series together. #14354, #14693, #14714, #14831, #14874, #14948, #15120
  • [PERF] TSDB: Streamline reading of overlapping out-of-order head chunks. #14729
  • [BUGFIX] PromQL: make sortbylabel stable. #14985
  • [BUGFIX] SD: Fix dropping targets (with feature flag new-service-discovery-manager). #13147
  • [BUGFIX] SD: Stop storing stale targets (with feature flag new-service-discovery-manager). #13622
  • [BUGFIX] Scraping: exemplars could be dropped in protobuf scraping. #14810
  • [BUGFIX] Remote-Write: fix metadata sending for experimental Remote-Write V2. #14766
  • [BUGFIX] Remote-Write: Return 4xx not 5xx when timeseries has duplicate label. #14716
  • [BUGFIX] Experimental Native Histograms: many fixes for incorrect results, panics, warnings. #14513, #14575, #14598, #14609, #14611, #14771, #14821
  • [BUGFIX] TSDB: Only count unknown record types in record_decode_failures_total metric. #14042

New Contributors

  • @maxamins made their first contribution in https://github.com/prometheus/prometheus/pull/14346
  • @cuiweiyuan made their first contribution in https://github.com/prometheus/prometheus/pull/14626
  • @harshitasao made their first contribution in https://github.com/prometheus/prometheus/pull/14690
  • @patilsuraj767 made their first contribution in https://github.com/prometheus/prometheus/pull/14403
  • @riskrole made their first contribution in https://github.com/prometheus/prometheus/pull/14751
  • @jcreixell made their first contribution in https://github.com/prometheus/prometheus/pull/14477
  • @kevinrawal made their first contribution in https://github.com/prometheus/prometheus/pull/14765
  • @electron0zero made their first contribution in https://github.com/prometheus/prometheus/pull/14650
  • @shandongzhejiang made their first contribution in https://github.com/prometheus/prometheus/pull/14700

Full Changelog: https://github.com/prometheus/prometheus/compare/v2.54.1...v2.55.0

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.55.0-rc.1 / 2024-10-16

The next release candidate of Prometheus v2.55 has a few bug-fixes to queries, plus the experimental info function which we are including to facilitate feedback.
The auto-reload-config feature was removed from v2.55 as it needed more fixes; it is available in v3.0 beta 1.

  • [FEATURE] PromQL: Add experimental info function. #14495
  • [BUGFIX] PromQL: make sortbylabel stable. #14985
  • [BUGFIX] TSDB: Don't read in-order chunks from before head MinTime #15162

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - v3.0.0-beta.1 / 2024-10-14

This is yet another beta release for Prometheus 3.0 and is not ready for production usage.

The changes mentioned below are all the new changes since v3.0.0-beta.0. For a complete changelog for 3.0 please read the notes from both beta.0 and beta.1.

  • [CHANGE] regexp . now matches all characters (performance improvement). #14505
  • [CHANGE] holtwinters is now called doubleexponential_smoothing and moves behind the experimental-promql-functions feature flag. #14930
  • [CHANGE] API: The OTLP receiver endpoint can now be enabled using --web.enable-otlp-receiver instead of --enable-feature=otlp-write-receiver. #14894
  • [CHANGE] Prometheus will not add or remove port numbers from the target address. no-default-scrape-port feature flag removed. #14160
  • [CHANGE] Logging: the format of log lines has changed a little, along with the adoption of Go's Structured Logging package. #14906
  • [CHANGE] Don't create extra _created timeseries if feature-flag `created-timestamp-zero-ingestion' is enabled. #14738
  • [CHANGE] Float literals and time durations being the same is now a stable fetaure. #15111
  • [ENHANCEMENT] UI: Many fixes and improvements. #14898, #14899, #14907, #14908, #14912, #14913, #14914, #14931, #14940, #14945, #14946, #14972, #14981, #14982, #14994, #15096
  • [ENHANCEMENT] UI: Web UI now displays notifications, e.g. when starting up and shutting down. #15082
  • [ENHANCEMENT] PromQL: Introduce exponential interpolation for native histograms. #14677
  • [ENHANCEMENT] TSDB: Add support for ingestion of out-of-order native histogram samples. #14850, #14546
  • [ENHANCEMENT] Alerts: remove metrics for removed Alertmanagers. #13909
  • [ENHANCEMENT] Scraping: support Created-Timestamp feature on native histograms. #14694
  • [ENHANCEMENT] Kubernetes SD: Support sidecar containers in endpoint discovery. #14929
  • [ENHANCEMENT] Consul SD: Support catalog filters. #11224
  • [PERF] TSDB: Parallelize deletion of postings after head compaction. #14975
  • [PERF] TSDB: Chunk encoding: shorten some write sequences. #14932
  • [PERF] TSDB: Grow postings by doubling. #14721
  • [PERF] Relabeling: Optimize adding a constant label pair. #12180
  • [BUGFIX] Scraping: Unit was missing when using protobuf format. #15095
  • [BUGFIX] PromQL: Only return "possible non-counter" annotation when rate returns points. #14910
  • [BUGFIX] TSDB: Chunks could have one unnecessary zero byte at the end. #14854
  • [BUGFIX] "superfluous response.WriteHeader call" messages in log. #14884
  • [BUGFIX] PromQL: Unary negation of native histograms. #14821
  • [BUGFIX] PromQL: Handle stale marker in native histogram series (e.g. if series goes away and comes back). #15025
  • [BUGFIX] Autoreload: Reload invalid yaml files. #14947

- Go
Published by ArthurSens over 1 year ago

https://github.com/prometheus/prometheus - 2.55.0-rc.0 / 2024-09-20

While all the excitement is focused on Prometheus 3.0, we are preparing release 2.55.

This release has quite a few new features, some of which require a feature-flag to enable, a major optimisation of queries when out-of-order data is present, and a number of bug-fixes.

  • [FEATURE] Support UTF-8 characters in label names - feature flag utf8-names. #14482, #14880, #14736, #14727
  • [FEATURE] Support config reload automatically - feature flag auto-reload-config. #14769
  • [FEATURE] Scraping: Add the ability to set custom http_headers in config. #14817
  • [FEATURE] Scraping: Support feature flag created-timestamp-zero-ingestion in OpenMetrics. #14356, #14815
  • [FEATURE] Scraping: scrape_failure_log_file option to log failures to a file. #14734
  • [FEATURE] PromQL: Delay removal of __name__ label - feature flag promql-delayed-name-removal. #14477
  • [FEATURE] OTLP receiver: Optional promotion of resource attributes to series labels. #14200
  • [FEATURE] API: Support multiple --web.listen-address. #14665
  • [FEATURE] Remote-Write: Support Google Cloud Monitoring authorization. #14346
  • [FEATURE] Promtool: tsdb create-blocks new option to add labels. #14403
  • [FEATURE] Promtool: promtool test adds --junit flag to format results. #14506
  • [ENHANCEMENT] OTLP receiver: Warn on exponential histograms with zero count and non-zero sum. #14706
  • [ENHANCEMENT] OTLP receiver: Interrupt translation on context cancellation/timeout. #14612
  • [ENHANCEMENT] PromQL: Improve detail in distributed tracing. #14816
  • [ENHANCEMENT] PromQL: Experimental sort_by_label and sort_by_label_desc sort by all labels when label is equal. #14655
  • [ENHANCEMENT] PromQL: Clarify error message logged when Go runtime panic occurs during query evaluation. #14621
  • [ENHANCEMENT] PromQL: Use Kahan summation for better accuracy in avg and avg_over_time. #14413
  • [ENHANCEMENT] TSDB: Backward compatibility with upcoming index v3. #14934
  • [PERF] Remote-Read: Support streaming mode. #11379
  • [PERF] TSDB: Query in-order and out-of-order series together. #14354, #14693, #14714, #14831, #14874, #14948
  • [PERF] TSDB: Streamline reading of overlapping out-of-order head chunks. #14729
  • [BUGFIX] SD: Fix dropping targets (with feature flag new-service-discovery-manager). #13147
  • [BUGFIX] SD: Stop storing stale targets (with feature flag new-service-discovery-manager). #13622
  • [BUGFIX] fix(utf8): propagate validationScheme config to scraping options. #14880
  • [BUGFIX] PromQL: Experimental Native Histograms: Do not re-use spans between histograms. #14771
  • [BUGFIX] Scraping: exemplars could be dropped in protobuf scraping. #14810
  • [BUGFIX] Remote-Write: fix metadata sending for experimental Remote-Write V2. #14766
  • [BUGFIX] Remote-Write: Return 4xx not 5xx when timeseries has duplicate label. #14716
  • [BUGFIX] Experimental Native Histograms: many fixes for incorrect results, panics, warnings. #14598, #14611, #14609, #14575, #14513, #14821
  • [BUGFIX] TSDB: Only count unknown record types in record_decode_failures_total metric. #14042
  • [ENHANCEMENT] Remote-Write: Don't reshard if we haven't successfully sent a sample since last update. #14450

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.54.0+dedupelabels / 2024-08-09

Special release candidate build that incorporates performance improvements using the dedupelabels Go tag. The new labels data structure deduplicates label names and values via symbol or intern tables, trading off ~10% higher CPU usage for lower memory usage. Improves on 2.51.0+dedupelabels by squashing some leaks.

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 3.0.0-beta.0 / 2024-09-05

Release 3.0.0-beta.0 includes new features such as a brand new UI and UTF-8 support enabled by default. As a new major version, 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. Most users should be able to try this release out of the box without any configuration changes.

As is traditional with a beta release, we do not recommend users install 3.0.0-beta on critical production systems, but we do want everyone to test it out and find bugs.

  • [CHANGE] UI: The old web UI has been replaced by a completely new one that is less cluttered and adds a few new features (PromLens-style tree view, better metrics explorer, "Explain" tab). However, it is still missing some features of the old UI (notably, exemplar display and heatmaps). To switch back to the old UI, you can use the feature flag --enable-feature=old-ui for the time being. #14872
  • [CHANGE] PromQL: Range selectors and the lookback delta are now left-open, i.e. a sample coinciding with the lower time limit is excluded rather than included. #13904
  • [CHANGE] Kubernetes SD: Remove support for discovery.k8s.io/v1beta1 API version of EndpointSlice. This version is no longer served as of Kubernetes v1.25. #14365
  • [CHANGE] Kubernetes SD: Remove support for networking.k8s.io/v1beta1 API version of Ingress. This version is no longer served as of Kubernetes v1.22. #14365
  • [CHANGE] UTF-8: Enable UTF-8 support by default. Prometheus now allows all UTF-8 characters in metric and label names. The corresponding utf8-name feature flag has been removed. #14705
  • [CHANGE] Console: Remove example files for the console feature. Users can continue using the console feature by supplying their own JavaScript and templates. #14807
  • [CHANGE] SD: Enable the new service discovery manager by default. This SD manager does not restart unchanged discoveries upon reloading. This makes reloads faster and reduces pressure on service discoveries' sources. The corresponding new-service-discovery-manager feature flag has been removed. #14770
  • [CHANGE] Agent mode has been promoted to stable. The feature flag agent has been removed. To run Prometheus in Agent mode, use the new --agent cmdline arg instead. #14747
  • [CHANGE] Remove deprecated remote-write-receiver,promql-at-modifier, and promql-negative-offset feature flags. #13456, #14526
  • [CHANGE] Remove deprecated storage.tsdb.allow-overlapping-blocks, alertmanager.timeout, and storage.tsdb.retention flags. #14640, #14643
  • [FEATURE] Promtool: Allow additional labels to be added to blocks created from openmetrics. #14402
  • [FEATURE] OTLP receiver: Add new option otlp.promote_resource_attributes, for any OTel resource attributes that should be promoted to metric labels. #14200
  • [FEATURE] Automatic reloading of the Prometheus configuration file at a specified interval #14769
  • [ENHANCEMENT] OTLP receiver: Warn when encountering exponential histograms with zero count and non-zero sum. #14706
  • [ENHANCEMENT] OTLP receiver: Interrupt translation on context cancellation/timeout. #14612
  • [ENHANCEMENT] Scrape: Only parse created timestamp if created-timestamp-zero-ingestion feature flag is enabled. This is as a lot of memory is used when parsing the created timestamp in the OM text format. #14815
  • [ENHANCEMENT] Scrape: Add support for logging scrape failures to a specified file. #14734
  • [ENHANCEMENT] Remote Read client: Enable streaming remote read if the server supports it. #11379
  • [ENHANCEMENT] PromQL: Delay deletion of __name__ label to the end of the query evaluation. This is experimental and enabled under the feature-flag promql-delayed-name-removal. #14477
  • [ENHANCEMENT] Move AM discovery page from "Monitoring status" to "Server status". #14875
  • [ENHANCEMENT] Tracing: Improve PromQL tracing, including showing the operation performed for aggregates, operators, and calls.#14816
  • [ENHANCEMENT] Add support for multiple listening addresses. #14665
  • [ENHANCEMENT] Add the ability to set custom HTTP headers. #14817
  • [BUGFIX] TSDB: Fix shard initialization after WAL repair. #14731
  • [BUGFIX] UTF-8: Ensure correct validation when legacy mode turned on. #14736
  • [BUGFIX] SD: Make discovery manager notify consumers of dropped targets for still defined jobs. #13147
  • [BUGFIX] SD: Prevent the new service discovery manager from storing stale targets. #13622
  • [BUGFIX] Remote Write 2.0: Ensure metadata records are sent from the WAL to remote write during WAL replay. #14766
  • [BUGFIX] Scrape: Do no override target parameter labels with config params. #11029
  • [BUGFIX] Scrape: Reset exemplar position when scraping histograms in protobuf. #14810
  • [BUGFIX] Native Histograms: Do not re-use spans between histograms. #14771
  • [BUGFIX] Scrape: Only parse created timestamp if created-timestamp-zero-ingestion feature flag is enabled. This is as a lot of memory is used when parsing the created timestamp in the OM text format. #14815
  • [BUGFIX] TSDB: Fix panic in query during truncation with OOO head. #14831
  • [BUGFIX] TSDB: Fix panic in chunk querier. #14874
  • [BUGFIX] promql.Engine.Close: No-op if nil. #14861
  • [BUGFIX] tsdb/wlog.Watcher.readSegmentForGC: Only count unknown record types against recorddecodefailures_total metric. #14042

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.54.1 / 2024-08-27

  • [BUGFIX] Scraping: allow multiple samples on same series, with explicit timestamps. #14685
  • [BUGFIX] Docker SD: fix crash in match_first_network mode when container is reconnected to a new network. #14654
  • [BUGFIX] PromQL: fix experimental native histogram counter reset detection on stale samples. #14514
  • [BUGFIX] PromQL: fix experimental native histograms getting corrupted due to vector selector bug in range queries. #14538
  • [BUGFIX] PromQL: fix experimental native histogram memory corruption when using histogramcount or histogramsum. #14605

Full Changelog: https://github.com/prometheus/prometheus/compare/v2.54.0...v2.54.1

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.53.2 / 2024-08-09

Fix a bug where Prometheus would crash with a segmentation fault if a remote-read request accessed a block on disk at about the same time as TSDB created a new block.

[BUGFIX] Remote-Read: Resolve occasional segmentation fault on query. #14515,#14523

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.54.0 / 2024-08-09

Release 2.54 brings a release candidate of a major new version of Remote Write: 2.0. This is experimental at this time and may still change. Remote-write v2 is enabled by default, but can be disabled via feature-flag web.remote-write-receiver.accepted-protobuf-messages.

  • [CHANGE] Remote-Write: highest_timestamp_in_seconds and queue_highest_sent_timestamp_seconds metrics now initialized to 0. #14437
  • [CHANGE] API: Split warnings from info annotations in API response. #14327
  • [FEATURE] Remote-Write: Version 2.0 experimental, plus metadata in WAL via feature flag metadata-wal-records (defaults on). #14395,#14427,#14444
  • [FEATURE] PromQL: add limitk() and limit_ratio() aggregation operators. #12503
  • [ENHANCEMENT] PromQL: Accept underscores in literal numbers, e.g. 1000000 for 1 million. #12821
  • [ENHANCEMENT] PromQL: float literal numbers and durations are now interchangeable (experimental). Example: time() - my_timestamp > 10m. #9138
  • [ENHANCEMENT] PromQL: use Kahan summation for sum(). #14074,#14362
  • [ENHANCEMENT] PromQL (experimental native histograms): Optimize histogram_count and histogram_sum functions. #14097
  • [ENHANCEMENT] TSDB: Better support for out-of-order experimental native histogram samples. #14438
  • [ENHANCEMENT] TSDB: Optimise seek within index. #14393
  • [ENHANCEMENT] TSDB: Optimise deletion of stale series. #14307
  • [ENHANCEMENT] TSDB: Reduce locking to optimise adding and removing series. #13286,#14286
  • [ENHANCEMENT] TSDB: Small optimisation: streamline special handling for out-of-order data. #14396,#14584
  • [ENHANCEMENT] Regexps: Optimize patterns with multiple prefixes. #13843,#14368
  • [ENHANCEMENT] Regexps: Optimize patterns containing multiple literal strings. #14173
  • [ENHANCEMENT] AWS SD: expose Primary IPv6 addresses as _metaec2primaryipv6_addresses. #14156
  • [ENHANCEMENT] Docker SD: add MatchFirstNetwork for containers with multiple networks. #10490
  • [ENHANCEMENT] OpenStack SD: Use flavor.original_name if available. #14312
  • [ENHANCEMENT] UI (experimental native histograms): more accurate representation. #13680,#14430
  • [ENHANCEMENT] Agent: out_of_order_time_window config option now applies to agent. #14094
  • [ENHANCEMENT] Notifier: Send any outstanding Alertmanager notifications when shutting down. #14290
  • [ENHANCEMENT] Rules: Add label-matcher support to Rules API. #10194
  • [ENHANCEMENT] HTTP API: Add url to message logged on error while sending response. #14209
  • [BUGFIX] CLI: escape | characters when generating docs. #14420
  • [BUGFIX] PromQL (experimental native histograms): Fix some binary operators between native histogram values. #14454
  • [BUGFIX] TSDB: LabelNames API could fail during compaction. #14279
  • [BUGFIX] TSDB: Fix rare issue where pending OOO read can be left dangling if creating querier fails. #14341
  • [BUGFIX] TSDB: fix check for context cancellation in LabelNamesFor. #14302
  • [BUGFIX] Rules: Fix rare panic on reload. #14366
  • [BUGFIX] Config: In YAML marshalling, do not output a regexp field if it was never set. #14004
  • [BUGFIX] Remote-Write: reject samples with future timestamps. #14304
  • [BUGFIX] Remote-Write: Fix data corruption in remote write if maxsampleage is applied. #14078
  • [BUGFIX] Notifier: Fix Alertmanager discovery not updating under heavy load. #14174
  • [BUGFIX] Regexes: some Unicode characters were not matched by case-insensitive comparison. #14170,#14299
  • [BUGFIX] Remote-Read: Resolve occasional segmentation fault on query. #14515

Many thanks to the Prometheus Team and contributors: @zenador @jjo @rexagod @darshanime @charleskorn @fpetkovski @carrieedwards @colega
@pracucci @akunszt @DrAuYueng @paulojmdias @Maniktherana @rabenhorst
@saswatamcode @B1F030 @yeya24 @rapphil @liam-howe-maersk @jkroepke @FUSAKLA @Ranveer777

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.54.0-rc.1 / 2024-08-05

RC1 includes a fix to a bug introduced in RC0:

  • [BUGFIX] TSDB: Exclude OOO chunks mapped after compaction starts (introduced by #14396). #14584

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.54.0-rc.0+dedupelabels / 2024-08-01

Special release candidate build that incorporates performance improvements using the dedupelabels Go tag. The new labels data structure deduplicates label names and values via symbol or intern tables, trading off ~10% higher CPU usage for lower memory usage.

docker pull prom/prometheus:v2.54.0-rc.0-dedupelabels

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.54.0-rc.0 / 2024-07-19

Release 2.54 brings a release candidate of a major new version of Remote Write: 2.0. This is experimental at this time and may still change. Remote-write v2 is enabled by default, but can be disabled via feature-flag web.remote-write-receiver.accepted-protobuf-messages.

  • [CHANGE] Remote-Write: highest_timestamp_in_seconds and queue_highest_sent_timestamp_seconds metrics now initialized to 0. #14437
  • [CHANGE] API: Split warnings from info annotations in API response. #14327
  • [FEATURE] Remote-Write: Version 2.0 experimental, plus metadata in WAL via feature flag metadata-wal-records (defaults on). #14395,#14427,#14444
  • [FEATURE] PromQL: add limitk() and limit_ratio() aggregation operators. #12503
  • [ENHANCEMENT] PromQL: Accept underscores in literal numbers, e.g. 1000000 for 1 million. #12821
  • [ENHANCEMENT] PromQL: float literal numbers and durations are now interchangeable (experimental). Example: time() - my_timestamp > 10m. #9138
  • [ENHANCEMENT] PromQL: use Kahan summation for sum(). #14074,#14362
  • [ENHANCEMENT] PromQL (experimental native histograms): Optimize histogram_count and histogram_sum functions. #14097
  • [ENHANCEMENT] TSDB: Better support for out-of-order experimental native histogram samples. #14438
  • [ENHANCEMENT] TSDB: Optimise seek within index. #14393
  • [ENHANCEMENT] TSDB: Optimise deletion of stale series. #14307
  • [ENHANCEMENT] TSDB: Reduce locking to optimise adding and removing series. #13286,#14286
  • [ENHANCEMENT] Regexps: Optimize patterns with multiple prefixes. #13843,#14368
  • [ENHANCEMENT] Regexps: Optimize patterns containing multiple literal strings. #14173
  • [ENHANCEMENT] AWS SD: expose Primary IPv6 addresses as _metaec2primaryipv6_addresses. #14156
  • [ENHANCEMENT] Docker SD: add MatchFirstNetwork for containers with multiple networks. #10490
  • [ENHANCEMENT] OpenStack SD: Use flavor.original_name if available. #14312
  • [ENHANCEMENT] UI (experimental native histograms): more accurate representation. #13680,#14430
  • [ENHANCEMENT] Agent: out_of_order_time_window config option now applies to agent. #14094
  • [ENHANCEMENT] Notifier: Send any outstanding Alertmanager notifications when shutting down. #14290
  • [ENHANCEMENT] Rules: Add label-matcher support to Rules API. #10194
  • [ENHANCEMENT] HTTP API: Add url to message logged on error while sending response. #14209
  • [BUGFIX] CLI: escape | characters when generating docs. #14420
  • [BUGFIX] PromQL (experimental native histograms): Fix some binary operators between native histogram values. #14454
  • [BUGFIX] TSDB: LabelNames API could fail during compaction. #14279
  • [BUGFIX] TSDB: Fix rare issue where pending OOO read can be left dangling if creating querier fails. #14341
  • [BUGFIX] TSDB: fix check for context cancellation in LabelNamesFor. #14302
  • [BUGFIX] Rules: Fix rare panic on reload. #14366
  • [BUGFIX] Config: In YAML marshalling, do not output a regexp field if it was never set. #14004
  • [BUGFIX] Remote-Write: reject samples with future timestamps. #14304
  • [BUGFIX] Remote-Write: Fix data corruption in remote write if maxsampleage is applied. #14078
  • [BUGFIX] Notifier: Fix Alertmanager discovery not updating under heavy load. #14174
  • [BUGFIX] Regexes: some Unicode characters were not matched by case-insensitive comparison. #14170,#14299
  • [BUGFIX] Remote-Read: Resolve occasional segmentation fault on query. #14515

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.53.1 / 2024-07-10

This is a bug-fix release, reverting a change introduced in v2.51.0.

The bug was that remote-write would drop samples if the sending flow stalled for longer than it takes to write one "WAL segment". How long this takes depends on the data rate of your Prometheus; as a rough guide with 10 million series scraping once per minute it could be about 5 minutes. The issue is #14087.

  • [BUGFIX] Remote-write: stop dropping samples in catch-up #14446

As usual, container images are available at https://quay.io/repository/prometheus/prometheus?tab=tags and https://hub.docker.com/r/prom/prometheus/tags

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.45.6 / 2024-06-21

This release contains security fixes in dependencies and has been built with go1.21.11. #14309.

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.53.0 / 2024-06-16

This release changes the default for GOGC, the Go runtime control for the trade-off between excess memory use and CPU usage. We have found that Prometheus operates with minimal additional CPU usage, but greatly reduced memory by adjusting the upstream Go default from 100 to 75.

  • [CHANGE] Rules: Execute 1 query instead of N (where N is the number of alerts within alert rule) when restoring alerts. #13980 #14048
  • [CHANGE] Runtime: Change GOGC threshold from 100 to 75 #14176 #14285
  • [FEATURE] Rules: Add new option query_offset for each rule group via rule group configuration file and rule_query_offset as part of the global configuration to have more resilience for remote write delays. #14061 #14216 #14273
  • [ENHANCEMENT] Rules: Add rule_group_last_restore_duration_seconds metric to measure the time it takes to restore a rule group. #13974
  • [ENHANCEMENT] OTLP: Improve remote write format translation performance by using label set hashes for metric identifiers instead of string based ones. #14006 #13991
  • [ENHANCEMENT] TSDB: Optimize querying with regexp matchers. #13620
  • [BUGFIX] OTLP: Don't generate target_info unless there are metrics and at least one identifying label is defined. #13991
  • [BUGFIX] Scrape: Do no try to ingest native histograms when the native histograms feature is turned off. This happened when protobuf scrape was enabled by for example the created time feature. #13987
  • [BUGFIX] Scaleway SD: Use the instance's public IP if no private IP is available as the __address__ meta label. #13941
  • [BUGFIX] Query logger: Do not leak file descriptors on error. #13948
  • [BUGFIX] TSDB: Let queries with heavy regex matches be cancelled and not use up the CPU. #14096 #14103 #14118 #14199
  • [BUGFIX] API: Do not warn if result count is equal to the limit, only when exceeding the limit for the series, label-names and label-values APIs. #14116
  • [BUGFIX] TSDB: Fix head stats and hooks when replaying a corrupted snapshot. #14079

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.53.0-rc.1 / 2024-06-11

This release changes the default for GOGC, the Go runtime control for the trade-off between excess memory use and CPU usage. We have found that Prometheus operates with minimal additional CPU usage, but greatly reduced memory by adjusting the upstream Go default from 100 to 75.

  • [CHANGE] Runtime: Change GOGC threshold from 50 to 75 #14285
  • [BUGFIX] Rules: Fix Group.Equals() to take in account the new queryOffset too. Followup to #14061. #14273

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.53.0-rc.0 / 2024-06-06

This release changes the default for GOGC, the Go runtime control for the trade-off between excess memory use and CPU usage. We have found that Prometheus operates with minimal additional CPU usage, but greatly reduced memory by adjusting the upstream Go default from 100 to 50.

  • [CHANGE] Rules: Execute 1 query instead of N (where N is the number of alerts within alert rule) when restoring alerts. #13980 #14048
  • [CHANGE] Runtime: Change GOGC threshold from 100 to 50 #14176
  • [FEATURE] Rules: Add new option query_offset for each rule group via rule group configuration file and rule_query_offset as part of the global configuration to have more resilience for remote write delays. #14061 #14216
  • [ENHANCEMENT] Rules: Add rule_group_last_restore_duration_seconds metric to measure the time it takes to restore a rule group. #13974
  • [ENHANCEMENT] OTLP: Improve remote write format translation performance by using label set hashes for metric identifiers instead of string based ones. #14006 #13991
  • [ENHANCEMENT] TSDB: Optimize querying with regexp matchers. #13620
  • [BUGFIX] OTLP: Don't generate target_info unless there are metrics and at least one identifying label is defined. #13991
  • [BUGFIX] Scrape: Do no try to ingest native histograms when the native histograms feature is turned off. This happened when protobuf scrape was enabled by for example the created time feature. #13987
  • [BUGFIX] Scaleway SD: Use the instance's public IP if no private IP is available as the __address__ meta label. #13941
  • [BUGFIX] Query logger: Do not leak file descriptors on error. #13948
  • [BUGFIX] TSDB: Let queries with heavy regex matches be cancelled and not use up the CPU. #14096 #14103 #14118 #14199
  • [BUGFIX] API: Do not warn if result count is equal to the limit, only when exceeding the limit for the series, label-names and label-values APIs. #14116
  • [BUGFIX] TSDB: Fix head stats and hooks when replaying a corrupted snapshot. #14079

- Go
Published by prombot over 1 year ago

https://github.com/prometheus/prometheus - 2.52.0 / 2024-05-07

  • [CHANGE] TSDB: Fix the predicate checking for blocks which are beyond the retention period to include the ones right at the retention boundary. #9633
  • [FEATURE] Kubernetes SD: Add a new metric prometheus_sd_kubernetes_failures_total to track failed requests to Kubernetes API. #13554
  • [FEATURE] Kubernetes SD: Add node and zone metadata labels when using the endpointslice role. #13935
  • [FEATURE] Azure SD/Remote Write: Allow usage of Azure authorization SDK. #13099
  • [FEATURE] Alerting: Support native histogram templating. #13731
  • [FEATURE] Linode SD: Support IPv6 range discovery and region filtering. #13774
  • [ENHANCEMENT] PromQL: Performance improvements for queries with regex matchers. #13461
  • [ENHANCEMENT] PromQL: Performance improvements when using aggregation operators. #13744
  • [ENHANCEMENT] PromQL: Validate label_join destination label. #13803
  • [ENHANCEMENT] Scrape: Increment prometheus_target_scrapes_sample_duplicate_timestamp_total metric on duplicated series during one scrape. #12933
  • [ENHANCEMENT] TSDB: Many improvements in performance. #13742 #13673 #13782
  • [ENHANCEMENT] TSDB: Pause regular block compactions if the head needs to be compacted (prioritize head as it increases memory consumption). #13754
  • [ENHANCEMENT] Observability: Improved logging during signal handling termination. #13772
  • [ENHANCEMENT] Observability: All log lines for drop series use "num_dropped" key consistently. #13823
  • [ENHANCEMENT] Observability: Log chunk snapshot and mmaped chunk replay duration during WAL replay. #13838
  • [ENHANCEMENT] Observability: Log if the block is being created from WBL during compaction. #13846
  • [BUGFIX] PromQL: Fix inaccurate sample number statistic when querying histograms. #13667
  • [BUGFIX] PromQL: Fix histogram_stddev and histogram_stdvar for cases where the histogram has negative buckets. #13852
  • [BUGFIX] PromQL: Fix possible duplicated label name and values in a metric result for specific queries. #13845
  • [BUGFIX] Scrape: Fix setting native histogram schema factor during scrape. #13846
  • [BUGFIX] TSDB: Fix counting of histogram samples when creating WAL checkpoint stats. #13776
  • [BUGFIX] TSDB: Fix cases of compacting empty heads. #13755
  • [BUGFIX] TSDB: Count float histograms in WAL checkpoint. #13844
  • [BUGFIX] Remote Read: Fix memory leak due to broken requests. #13777
  • [BUGFIX] API: Stop building response for /api/v1/series/ when the API request was cancelled. #13766
  • [BUGFIX] promtool: Fix panic on promtool tsdb analyze --extended when no native histograms are present. #13976

- Go
Published by prombot almost 2 years ago

https://github.com/prometheus/prometheus - 2.52.0-rc.1 / 2024-05-03

  • [BUGFIX] API: Fix missing comma during JSON encoding of API results. #14047

- Go
Published by prombot almost 2 years ago

https://github.com/prometheus/prometheus - 2.45.5 / 2024-05-02

  • [BUGFIX] tsdb/agent: ensure that new series get written to WAL on rollback. #12592
  • [BUGFIX] Remote write: Avoid a race condition when applying configuration. #13135

- Go
Published by prombot almost 2 years ago

https://github.com/prometheus/prometheus - 2.52.0-rc.0 / 2024-04-22

  • [CHANGE] TSDB: Fix the predicate checking for blocks which are beyond the retention period to include the ones right at the retention boundary. #9633
  • [FEATURE] Kubernetes SD: Add a new metric prometheus_sd_kubernetes_failures_total to track failed requests to Kubernetes API. #13554
  • [FEATURE] Kubernetes SD: Add node and zone metadata labels when using the endpointslice role. #13935
  • [FEATURE] Azure SD/Remote Write: Allow usage of Azure authorization SDK. #13099
  • [FEATURE] Alerting: Support native histogram templating. #13731
  • [FEATURE] Linode SD: Support IPv6 range discovery and region filtering. #13774
  • [ENHANCEMENT] PromQL: Performance improvements for queries with regex matchers. #13461
  • [ENHANCEMENT] PromQL: Performance improvements when using aggregation operators. #13744
  • [ENHANCEMENT] PromQL: Validate label_join destination label. #13803
  • [ENHANCEMENT] Scrape: Increment prometheus_target_scrapes_sample_duplicate_timestamp_total metric on duplicated series during one scrape. #12933
  • [ENHANCEMENT] TSDB: Many improvements in performance. #13742 #13673 #13782
  • [ENHANCEMENT] TSDB: Pause regular block compactions if the head needs to be compacted (prioritize head as it increases memory consumption). #13754
  • [ENHANCEMENT] Observability: Improved logging during signal handling termination. #13772
  • [ENHANCEMENT] Observability: All log lines for drop series use "num_dropped" key consistently. #13823
  • [ENHANCEMENT] Observability: Log chunk snapshot and mmaped chunk replay duration during WAL replay. #13838
  • [ENHANCEMENT] Observability: Log if the block is being created from WBL during compaction. #13846
  • [BUGFIX] PromQL: Fix inaccurate sample number statistic when querying histograms. #13667
  • [BUGFIX] PromQL: Fix histogram_stddev and histogram_stdvar for cases where the histogram has negative buckets. #13852
  • [BUGFIX] PromQL: Fix possible duplicated label name and values in a metric result for specific queries. #13845
  • [BUGFIX] Scrape: Fix setting native histogram schema factor during scrape. #13846
  • [BUGFIX] TSDB: Fix counting of histogram samples when creating WAL checkpoint stats. #13776
  • [BUGFIX] TSDB: Fix cases of compacting empty heads. #13755
  • [BUGFIX] TSDB: Count float histograms in WAL checkpoint. #13844
  • [BUGFIX] Remote Read: Fix memory leak due to broken requests. #13777
  • [BUGFIX] API: Stop building response for /api/v1/series/ when the API request was cancelled. #13766
  • [BUGFIX] promtool: Fix panic on promtool tsdb analyze --extended when no native histograms are present. #13976

- Go
Published by prombot almost 2 years ago

https://github.com/prometheus/prometheus - 2.51.2 / 2024-04-09

Bugfix release.

[BUGFIX] Notifier: could hang when using relabeling on alerts #13861

- Go
Published by prombot almost 2 years ago

https://github.com/prometheus/prometheus - 2.51.1 / 2024-03-27

Bugfix release.

  • [BUGFIX] PromQL: Re-instate validation of label_join destination label #13803
  • [BUGFIX] Scraping (experimental native histograms): Fix handling of the min bucket factor on sync of targets #13846
  • [BUGFIX] PromQL: Some queries could return the same series twice (library use only) #13845

- Go
Published by prombot almost 2 years ago

https://github.com/prometheus/prometheus - 2.51.0+dedupelabels / 2024-03-19

Special release build that incorporates performance improvements using the dedupelabels Go tag. The new labels data structure deduplicates label names and values via symbol or intern tables, reducing memory usage.

- Go
Published by prombot almost 2 years ago

https://github.com/prometheus/prometheus - 2.51.0 / 2024-03-18

This version is built with Go 1.22.1.

There is a new optional build tag "dedupelabels", which should reduce memory consumption (#12304). It is off by default; there will be an optional alternative image to try it out.

  • [CHANGE] Scraping: Do experimental timestamp alignment even if tolerance is bigger than 1% of scrape interval #13624, #13737
  • [FEATURE] Alerting: Relabel rules for AlertManagerConfig; allows routing alerts to different alertmanagers #12551, #13735
  • [FEATURE] API: add limit param to series, label-names and label-values APIs #13396
  • [FEATURE] UI (experimental native histograms): Add native histogram chart to Table view #13658
  • [FEATURE] Promtool: Add a "tsdb dump-openmetrics" to dump in OpenMetrics format. #13194
  • [FEATURE] PromQL (experimental native histograms): Add histogram_avg function #13467
  • [ENHANCEMENT] Rules: Evaluate independent rules concurrently #12946, #13527
  • [ENHANCEMENT] Scraping (experimental native histograms): Support exemplars #13488
  • [ENHANCEMENT] Remote Write: Disable resharding during active retry backoffs #13562
  • [ENHANCEMENT] Observability: Add native histograms to latency/duration metrics #13681
  • [ENHANCEMENT] Observability: Add 'type' label to prometheustsdbheadoutofordersamplesappendedtotal #13607
  • [ENHANCEMENT] API: Faster generation of targets into JSON #13469, #13484
  • [ENHANCEMENT] Scraping, API: Use faster compression library #10782
  • [ENHANCEMENT] OpenTelemetry: Performance improvements in OTLP parsing #13627
  • [ENHANCEMENT] PromQL: Optimisations to reduce CPU and memory #13448, #13536
  • [BUGFIX] PromQL: Constrain extrapolation in rate() to half of sample interval #13725
  • [BUGFIX] Remote Write: Stop slowing down when a new WAL segment is created #13583, #13628
  • [BUGFIX] PromQL: Fix wrongly scoped range vectors with @ modifier #13559
  • [BUGFIX] Kubernetes SD: Pod status changes were not discovered by Endpoints service discovery #13337
  • [BUGFIX] Azure SD: Fix 'error: parameter virtualMachineScaleSetName cannot be empty' (#13702)
  • [BUGFIX] Remote Write: Fix signing for AWS sigv4 transport #13497
  • [BUGFIX] Observability: Exemplars emitted by Prometheus use "trace_id" not "traceID" #13589

- Go
Published by prombot almost 2 years ago

https://github.com/prometheus/prometheus - 2.51.0-rc.0+dedupelabels / 2024-03-14

Special release candidate build that incorporates performance improvements using the dedupelabels Go tag. The new labels data structure deduplicates label names and values via symbol or intern tables, reducing memory usage.

- Go
Published by prombot almost 2 years ago

https://github.com/prometheus/prometheus - 2.45.4 / 2024-03-18

  • [BUGFIX] Remote read: Release querier resources before encoding the results. #13777

- Go
Published by prombot almost 2 years ago

https://github.com/prometheus/prometheus - 2.51.0-rc.0 / 2024-03-07

This version is built with Go 1.22.1.

There is a new optional build tag "dedupelabels", which should reduce memory consumption (#12304). It is off by default; there will be an optional alternative image to try it out.

  • [CHANGE] Scraping: Do experimental timestamp alignment even if tolerance is bigger than 1% of scrape interval #13624, #13737
  • [FEATURE] Alerting: Relabel rules for AlertManagerConfig; allows routing alerts to different alertmanagers #12551, #13735
  • [FEATURE] API: add limit param to series, label-names and label-values APIs #13396
  • [FEATURE] UI (experimental native histograms): Add native histogram chart to Table view #13658
  • [FEATURE] Promtool: Add a "tsdb dump-openmetrics" to dump in OpemMetrics format. #13194
  • [FEATURE] PromQL (experimental native histograms): Add histogram_avg function #13467
  • [ENHANCEMENT] Rules: Evaluate independent rules concurrently #12946, #13527
  • [ENHANCEMENT] Scraping (experimental native histograms): Support exemplars #13488
  • [ENHANCEMENT] Remote Write: Disable resharding during active retry backoffs #13562
  • [ENHANCEMENT] Observability: Add native histograms to latency/duration metrics #13681
  • [ENHANCEMENT] Observability: Add 'type' label to prometheustsdbheadoutofordersamplesappendedtotal #13607
  • [ENHANCEMENT] API: Faster generation of targets into JSON #13469, #13484
  • [ENHANCEMENT] Scraping, API: Use faster compression library #10782
  • [ENHANCEMENT] OpenTelemetry: Performance improvements in OTLP parsing #13627
  • [ENHANCEMENT] PromQL: Optimisations to reduce CPU and memory #13448, #13536
  • [BUGFIX] PromQL: Constrain extrapolation in rate() to half of sample interval #13725
  • [BUGFIX] Remote Write: Stop slowing down when a new WAL segment is created #13583, #13628
  • [BUGFIX] PromQL: Fix wrongly scoped range vectors with @ modifier #13559
  • [BUGFIX] Kubernetes SD: Pod status changes were not discovered by Endpoints service discovery #13337
  • [BUGFIX] Azure SD: Fix 'error: parameter virtualMachineScaleSetName cannot be empty' (#13702)
  • [BUGFIX] Remote Write: Fix signing for AWS sigv4 transport #13497
  • [BUGFIX] Observability: Exemplars emitted by Prometheus use "trace_id" not "traceID" #13589

- Go
Published by prombot almost 2 years ago

https://github.com/prometheus/prometheus - 2.50.1 / 2024-02-26

This is a bug-fix release for an issue that broke the /metadata API.

  • [BUGFIX] API: Fix metadata API using wrong field names. #13633

Thanks to @itsmylife for the fix.

- Go
Published by prombot about 2 years ago

https://github.com/prometheus/prometheus - 2.50.0 / 2024-02-22

  • [CHANGE] Remote Write: Error storage.ErrTooOldSample is now generating HTTP error 400 instead of HTTP error 500. #13335
  • [FEATURE] Remote Write: Drop old inmemory samples. Activated using the config entry sample_age_limit. #13002
  • [FEATURE] Experimental: Add support for ingesting zeros as created timestamps. (enabled under the feature-flag created-timestamp-zero-ingestion). #12733 #13279
  • [FEATURE] Promtool: Add analyze histograms command. #12331
  • [FEATURE] TSDB/compaction: Add a way to enable overlapping compaction. #13282 #13393 #13398
  • [FEATURE] Add automatic memory limit handling. Activated using the feature flag. auto-gomemlimit #13395
  • [ENHANCEMENT] Promtool: allow specifying multiple matchers in promtool tsdb dump. #13296
  • [ENHANCEMENT] PromQL: Restore more efficient version of NewPossibleNonCounterInfo annotation. #13022
  • [ENHANCEMENT] Kuma SD: Extend configuration to allow users to specify client ID. #13278
  • [ENHANCEMENT] PromQL: Use natural sort in sort_by_label and sort_by_label_desc. This is experimental. #13411
  • [ENHANCEMENT] Native Histograms: support native_histogram_min_bucket_factor in scrape_config. #13222
  • [ENHANCEMENT] Native Histograms: Issue warning if histogramRate is applied to the wrong kind of histogram. #13392
  • [ENHANCEMENT] TSDB: Make transaction isolation data structures smaller. #13015
  • [ENHANCEMENT] TSDB/postings: Optimize merge using Loser Tree. #12878
  • [ENHANCEMENT] TSDB: Simplify internal series delete function. #13261
  • [ENHANCEMENT] Agent: Performance improvement by making the global hash lookup table smaller. #13262
  • [ENHANCEMENT] PromQL: faster execution of metric functions, e.g. abs(), rate() #13446
  • [ENHANCEMENT] TSDB: Optimize label values with matchers by taking shortcuts. #13426
  • [ENHANCEMENT] Kubernetes SD: Check preconditions earlier and avoid unnecessary checks or iterations in kube_sd. #13408
  • [ENHANCEMENT] Promtool: Improve visibility for promtool test rules with JSON colored formatting. #13342
  • [ENHANCEMENT] Consoles: Exclude iowait and steal from CPU Utilisation. #9593
  • [ENHANCEMENT] Various improvements and optimizations on Native Histograms. #13267, #13215, #13276 #13289, #13340
  • [BUGFIX] Scraping: Fix quality value in HTTP Accept header. #13313
  • [BUGFIX] UI: Fix usage of the function time() that was crashing. #13371
  • [BUGFIX] Azure SD: Fix SD crashing when it finds a VM scale set. #13578
Commits * Enable reusing memory when converting between histogram types by @fpetkovski in https://github.com/prometheus/prometheus/pull/13215 * Append Created Timestamps by @ArthurSens in https://github.com/prometheus/prometheus/pull/12733 * tsdb: use Go standard errors by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13155 * Sync golangci-lint version by @SuperQ in https://github.com/prometheus/prometheus/pull/13269 * tsdb: remove unused option by @GiedriusS in https://github.com/prometheus/prometheus/pull/13282 * Tweak line wrappings in docs/storage.md by @windsonsea in https://github.com/prometheus/prometheus/pull/11583 * `chunks.Reader`: Fix typo in `ChunkOrIterable` doc string by @aknuds1 in https://github.com/prometheus/prometheus/pull/13205 * Allow non-default registry to be used for metrics of SD components by @ptodev in https://github.com/prometheus/prometheus/pull/13023 * postings: use Loser Tree for merge by @bboreham in https://github.com/prometheus/prometheus/pull/12878 * Get VM Scale Set NIC by @daniel-resdiary in https://github.com/prometheus/prometheus/pull/13283 * Reuse float histogram objects by @fpetkovski in https://github.com/prometheus/prometheus/pull/13276 * Document feature flag 'created-timestamp-zero-ingestion' by @ArthurSens in https://github.com/prometheus/prometheus/pull/13279 * kuma_sd: Extend Kuma SD configuration to allow users to specify ClientId by @Automaat in https://github.com/prometheus/prometheus/pull/13278 * scripts: Add minimal permissions to script golangci-lint.yml by @diogoteles08 in https://github.com/prometheus/prometheus/pull/13288 * build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/resourcemanager by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13294 * Dedup code handling getting network interface by @daniel-resdiary in https://github.com/prometheus/prometheus/pull/13285 * scrape: consistent function names for metadata by @bboreham in https://github.com/prometheus/prometheus/pull/13177 * relabel: improve logic for target labels by @bboreham in https://github.com/prometheus/prometheus/pull/13308 * Move metric type definitions to common/model by @bboreham in https://github.com/prometheus/prometheus/pull/13176 * scrape: simplify TargetsActive function by @bboreham in https://github.com/prometheus/prometheus/pull/13167 * bug: Fix quality value in accept header by @kalpadiptyaroy in https://github.com/prometheus/prometheus/pull/13313 * Fix reusing float histograms by @fpetkovski in https://github.com/prometheus/prometheus/pull/13289 * Adding small test update for temp dir using t.TempDir by @zedGGs in https://github.com/prometheus/prometheus/pull/13293 * Revert "Adding small test update for temp dir using t.TempDir (#13293)" by @bboreham in https://github.com/prometheus/prometheus/pull/13344 * agent: make the global hash lookup table smaller by @bboreham in https://github.com/prometheus/prometheus/pull/13262 * build(deps): bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 in /documentation/examples/remote_storage by @dependabot in https://github.com/prometheus/prometheus/pull/13354 * Bump client_golang to v1.18.0 by @tpaschalis in https://github.com/prometheus/prometheus/pull/13373 * remote: consider storage.ErrTooOldSample as non-retryable by returning 400 by @nmdanny in https://github.com/prometheus/prometheus/pull/13335 * Drop old inmemory samples by @marctc in https://github.com/prometheus/prometheus/pull/13002 * ui: fix handling of scalar and string in isHeatmapData by @kevinmingtarja in https://github.com/prometheus/prometheus/pull/13371 * tsdb/{index,compact}: allow using custom postings encoding format by @GiedriusS in https://github.com/prometheus/prometheus/pull/13242 * build(deps): bump actions/setup-go from 3.5.0 to 5.0.0 in /scripts by @dependabot in https://github.com/prometheus/prometheus/pull/13362 * build(deps): bump github/codeql-action from 2.22.8 to 3.22.12 by @dependabot in https://github.com/prometheus/prometheus/pull/13358 * put @nexucis has a release shepherd for the next release by @Nexucis in https://github.com/prometheus/prometheus/pull/13383 * protobuf: add unit parser by @vesari in https://github.com/prometheus/prometheus/pull/13299 * Add analyze histograms command to promtool by @zenador in https://github.com/prometheus/prometheus/pull/12331 * tsdb: add enable overlapping compaction by @GiedriusS in https://github.com/prometheus/prometheus/pull/13393 * tsdb/compact: fix passing merge func by @GiedriusS in https://github.com/prometheus/prometheus/pull/13391 * allow setting multiple matchers to "promtool tsdb dump" by @machine424 in https://github.com/prometheus/prometheus/pull/13296 * Merge 2.49.0 release to main by @bwplotka in https://github.com/prometheus/prometheus/pull/13399 * tsdb/main: wire "EnableOverlappingCompaction" to tsdb.Options by @GiedriusS in https://github.com/prometheus/prometheus/pull/13398 * Restore more efficient version of NewPossibleNonCounterInfo annotation by @zenador in https://github.com/prometheus/prometheus/pull/13022 * fix slice copy in 1.20 by @tylitianrui in https://github.com/prometheus/prometheus/pull/13389 * Query Basics: link to rate by @tredondo in https://github.com/prometheus/prometheus/pull/10538 * Examples: link to `rate` for new users by @tredondo in https://github.com/prometheus/prometheus/pull/10535 * add cluster variable to Overview dashboard by @the-it in https://github.com/prometheus/prometheus/pull/13180 * Fix regressions introduced by #13242 by @pracucci in https://github.com/prometheus/prometheus/pull/13407 * promql: use natural sort in sort_by_label and sort_by_label_desc by @bobrik in https://github.com/prometheus/prometheus/pull/13411 * Native Histograms: support `native_histogram_min_bucket_factor` in scrape_config by @fatsheep9146 in https://github.com/prometheus/prometheus/pull/13222 * Add warnings for histogramRate applied with isCounter not matching counter/gauge histogram by @zenador in https://github.com/prometheus/prometheus/pull/13392 * remove obsolete build tag by @tylitianrui in https://github.com/prometheus/prometheus/pull/13416 * scripts: sort file list in embed directive by @jan--f in https://github.com/prometheus/prometheus/pull/13363 * build(deps): bump github.com/prometheus/prometheus from 0.48.0 to 0.48.1 in /documentation/examples/remote_storage by @dependabot in https://github.com/prometheus/prometheus/pull/13353 * build(deps): bump github.com/influxdata/influxdb from 1.11.2 to 1.11.4 in /documentation/examples/remote_storage by @dependabot in https://github.com/prometheus/prometheus/pull/13352 * Upgrade some golang dependencies for resty 2.11 by @iblancasa in https://github.com/prometheus/prometheus/pull/13417 * TestLabelValuesWithMatchers: Add test case by @aknuds1 in https://github.com/prometheus/prometheus/pull/13415 * build(deps): bump github.com/hetznercloud/hcloud-go/v2 from 2.4.0 to 2.6.0 by @dependabot in https://github.com/prometheus/prometheus/pull/13422 * chore(kubernetes): check preconditions earlier and avoid unnecessary checks or iterations by @machine424 in https://github.com/prometheus/prometheus/pull/13408 * build(deps): bump actions/setup-node from 3.8.1 to 4.0.1 by @dependabot in https://github.com/prometheus/prometheus/pull/13356 * otlp: Minor cosmetic fixes to the update script by @gouthamve in https://github.com/prometheus/prometheus/pull/13169 * promql: simplify Native Histogram arithmetics by @linasm in https://github.com/prometheus/prometheus/pull/13267 * fix(discovery tests): allow requireUpdate util to timeout in discovery/file… by @machine424 in https://github.com/prometheus/prometheus/pull/13380 * scrape_test.go: Increase scrape interval in TestScrapeLoopCache to re… by @machine424 in https://github.com/prometheus/prometheus/pull/13336 * Enhanced visibility for `promtool test rules` with JSON colored formatting by @rewanthtammana in https://github.com/prometheus/prometheus/pull/13342 * Remove csmarchbanks from remote write owners by @csmarchbanks in https://github.com/prometheus/prometheus/pull/13432 * storage: skip merging when no remote storage configured by @bboreham in https://github.com/prometheus/prometheus/pull/13427 * Add more context cancellation check at evaluation time by @yeya24 in https://github.com/prometheus/prometheus/pull/13437 * Optimize label values with matchers by taking shortcuts by @colega in https://github.com/prometheus/prometheus/pull/13426 * consoles: exclude iowait and steal from CPU Utilisation by @julianwiedmann in https://github.com/prometheus/prometheus/pull/9593 * Add automatic memory limit handling by @SuperQ in https://github.com/prometheus/prometheus/pull/13395 * Update OSSF badge link by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13433 * SD Managers taking over responsibility for registration of debug metrics by @ptodev in https://github.com/prometheus/prometheus/pull/13375 * Optimize histogram iterators by @fpetkovski in https://github.com/prometheus/prometheus/pull/13340 * doc: Mark `mad_over_time` as experimental by @beorn7 in https://github.com/prometheus/prometheus/pull/13440 * TestHeadLabelValuesWithMatchers: Add test case by @aknuds1 in https://github.com/prometheus/prometheus/pull/13414 * update all go dependencies by @Nexucis in https://github.com/prometheus/prometheus/pull/13438 * build(deps): bump the k8s-io group with 2 updates by @dependabot in https://github.com/prometheus/prometheus/pull/13454 * build(deps): bump the go-opentelemetry-io group with 1 update by @dependabot in https://github.com/prometheus/prometheus/pull/13453 * build(deps): bump actions/upload-artifact from 3.1.3 to 4.0.0 by @dependabot in https://github.com/prometheus/prometheus/pull/13355 * build(deps): bump bufbuild/buf-push-action from 342fc4cdcf29115a01cf12a2c6dd6aac68dc51e1 to a654ff18effe4641ebea4a4ce242c49800728459 by @dependabot in https://github.com/prometheus/prometheus/pull/13357 * tsdb: make transaction isolation data structures smaller by @bboreham in https://github.com/prometheus/prometheus/pull/13015 * Labels: Add DropMetricName function, used in PromQL by @bboreham in https://github.com/prometheus/prometheus/pull/13446 * tsdb: simplify internal series delete function by @bboreham in https://github.com/prometheus/prometheus/pull/13261 * Merging back release v2.49.1 to main by @Nexucis in https://github.com/prometheus/prometheus/pull/13463 * Rollback k8s.io requirements by @SuperQ in https://github.com/prometheus/prometheus/pull/13462 * scrape: Prometheus server support exemplar in native histogram by @fatsheep9146 in https://github.com/prometheus/prometheus/pull/13449 * ui: fix for deep linking in stacked graphs by @Loori-R in https://github.com/prometheus/prometheus/pull/13460 * otlptranslator/update-copy.sh: Fix sed command lines by @aknuds1 in https://github.com/prometheus/prometheus/pull/13464 * Change metric label for Puppet SD from 'http' to 'puppetdb' by @ptodev in https://github.com/prometheus/prometheus/pull/13447 * Fix last_over_time for native histograms by @fpetkovski in https://github.com/prometheus/prometheus/pull/13474 * Cut v2.50.0-rc.0 by @Nexucis in https://github.com/prometheus/prometheus/pull/13465 * Azure SD: check for nil before accessing and dereferencing by @darshanime in https://github.com/prometheus/prometheus/pull/13578 * Cut v2.50.0-rc.1 by @Nexucis in https://github.com/prometheus/prometheus/pull/13602 * Cut v2.50.0 by @Nexucis in https://github.com/prometheus/prometheus/pull/13612

New Contributors

  • @windsonsea made their first contribution in https://github.com/prometheus/prometheus/pull/11583
  • @daniel-resdiary made their first contribution in https://github.com/prometheus/prometheus/pull/13283
  • @Automaat made their first contribution in https://github.com/prometheus/prometheus/pull/13278
  • @diogoteles08 made their first contribution in https://github.com/prometheus/prometheus/pull/13288
  • @kalpadiptyaroy made their first contribution in https://github.com/prometheus/prometheus/pull/13313
  • @zedGGs made their first contribution in https://github.com/prometheus/prometheus/pull/13293
  • @nmdanny made their first contribution in https://github.com/prometheus/prometheus/pull/13335
  • @kevinmingtarja made their first contribution in https://github.com/prometheus/prometheus/pull/13371
  • @the-it made their first contribution in https://github.com/prometheus/prometheus/pull/13180
  • @bobrik made their first contribution in https://github.com/prometheus/prometheus/pull/13411
  • @iblancasa made their first contribution in https://github.com/prometheus/prometheus/pull/13417
  • @rewanthtammana made their first contribution in https://github.com/prometheus/prometheus/pull/13342

Full Changelog: https://github.com/prometheus/prometheus/compare/v2.49.1...v2.50.0

- Go
Published by prombot about 2 years ago

https://github.com/prometheus/prometheus - 2.50.0-rc.1 / 2024-02-19

[BUGFIX] Azure SD: Fix SD crashing when it finds a VM scale set. #13578

- Go
Published by prombot about 2 years ago

https://github.com/prometheus/prometheus - 2.50.0-rc.0 / 2024-02-13

  • [CHANGE] Remote Write: Error storage.ErrTooOldSample is now generating HTTP error 400 instead of HTTP error 500. #13335
  • [FEATURE] Remote Write: Drop old inmemory samples. Activated using the config entry sample_age_limit. #13002
  • [FEATURE] Experimental: Add support for ingesting zeros as created timestamps. (enabled under the feature-flag created-timestamp-zero-ingestion). #12733 #13279
  • [FEATURE] Promtool: Add analyze histograms command. #12331
  • [FEATURE] TSDB/compaction: Add a way to enable overlapping compaction. #13282 #13393 #13398
  • [FEATURE] Add automatic memory limit handling. Activated using the feature flag. auto-gomemlimit #13395
  • [ENHANCEMENT] Promtool: allow specifying multiple matchers in promtool tsdb dump. #13296
  • [ENHANCEMENT] PromQL: Restore more efficient version of NewPossibleNonCounterInfo annotation. #13022
  • [ENHANCEMENT] Kuma SD: Extend configuration to allow users to specify client ID. #13278
  • [ENHANCEMENT] PromQL: Use natural sort in sort_by_label and sort_by_label_desc. This is experimental. #13411
  • [ENHANCEMENT] Native Histograms: support native_histogram_min_bucket_factor in scrape_config. #13222
  • [ENHANCEMENT] Native Histograms: Issue warning if histogramRate is applied to the wrong kind of histogram. #13392
  • [ENHANCEMENT] TSDB: Make transaction isolation data structures smaller. #13015
  • [ENHANCEMENT] TSDB/postings: Optimize merge using Loser Tree. #12878
  • [ENHANCEMENT] TSDB: Simplify internal series delete function. #13261
  • [ENHANCEMENT] Agent: Performance improvement by making the global hash lookup table smaller. #13262
  • [ENHANCEMENT] PromQL: faster execution of metric functions, e.g. abs(), rate() #13446
  • [ENHANCEMENT] TSDB: Optimize label values with matchers by taking shortcuts. #13426
  • [ENHANCEMENT] Kubernetes SD: Check preconditions earlier and avoid unnecessary checks or iterations in kube_sd. #13408
  • [ENHANCEMENT] Promtool: Improve visibility for promtool test rules with JSON colored formatting. #13342
  • [ENHANCEMENT] Consoles: Exclude iowait and steal from CPU Utilisation. #9593
  • [ENHANCEMENT] Various improvements and optimizations on Native Histograms. #13267, #13215, #13276 #13289, #13340
  • [BUGFIX] Scraping: Fix quality value in HTTP Accept header. #13313
  • [BUGFIX] UI: Fix usage of the function time() that was crashing. #13371
Commits * Enable reusing memory when converting between histogram types by @fpetkovski in https://github.com/prometheus/prometheus/pull/13215 * Append Created Timestamps by @ArthurSens in https://github.com/prometheus/prometheus/pull/12733 * tsdb: use Go standard errors by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13155 * Sync golangci-lint version by @SuperQ in https://github.com/prometheus/prometheus/pull/13269 * tsdb: remove unused option by @GiedriusS in https://github.com/prometheus/prometheus/pull/13282 * Tweak line wrappings in docs/storage.md by @windsonsea in https://github.com/prometheus/prometheus/pull/11583 * `chunks.Reader`: Fix typo in `ChunkOrIterable` doc string by @aknuds1 in https://github.com/prometheus/prometheus/pull/13205 * Allow non-default registry to be used for metrics of SD components by @ptodev in https://github.com/prometheus/prometheus/pull/13023 * postings: use Loser Tree for merge by @bboreham in https://github.com/prometheus/prometheus/pull/12878 * Get VM Scale Set NIC by @daniel-resdiary in https://github.com/prometheus/prometheus/pull/13283 * Reuse float histogram objects by @fpetkovski in https://github.com/prometheus/prometheus/pull/13276 * Document feature flag 'created-timestamp-zero-ingestion' by @ArthurSens in https://github.com/prometheus/prometheus/pull/13279 * kuma_sd: Extend Kuma SD configuration to allow users to specify ClientId by @Automaat in https://github.com/prometheus/prometheus/pull/13278 * scripts: Add minimal permissions to script golangci-lint.yml by @diogoteles08 in https://github.com/prometheus/prometheus/pull/13288 * build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/resourcemanager by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13294 * Dedup code handling getting network interface by @daniel-resdiary in https://github.com/prometheus/prometheus/pull/13285 * scrape: consistent function names for metadata by @bboreham in https://github.com/prometheus/prometheus/pull/13177 * relabel: improve logic for target labels by @bboreham in https://github.com/prometheus/prometheus/pull/13308 * Move metric type definitions to common/model by @bboreham in https://github.com/prometheus/prometheus/pull/13176 * scrape: simplify TargetsActive function by @bboreham in https://github.com/prometheus/prometheus/pull/13167 * bug: Fix quality value in accept header by @kalpadiptyaroy in https://github.com/prometheus/prometheus/pull/13313 * Fix reusing float histograms by @fpetkovski in https://github.com/prometheus/prometheus/pull/13289 * Adding small test update for temp dir using t.TempDir by @zedGGs in https://github.com/prometheus/prometheus/pull/13293 * Revert "Adding small test update for temp dir using t.TempDir (#13293)" by @bboreham in https://github.com/prometheus/prometheus/pull/13344 * agent: make the global hash lookup table smaller by @bboreham in https://github.com/prometheus/prometheus/pull/13262 * build(deps): bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 in /documentation/examples/remote_storage by @dependabot in https://github.com/prometheus/prometheus/pull/13354 * Bump client_golang to v1.18.0 by @tpaschalis in https://github.com/prometheus/prometheus/pull/13373 * remote: consider storage.ErrTooOldSample as non-retryable by returning 400 by @nmdanny in https://github.com/prometheus/prometheus/pull/13335 * Drop old inmemory samples by @marctc in https://github.com/prometheus/prometheus/pull/13002 * ui: fix handling of scalar and string in isHeatmapData by @kevinmingtarja in https://github.com/prometheus/prometheus/pull/13371 * tsdb/{index,compact}: allow using custom postings encoding format by @GiedriusS in https://github.com/prometheus/prometheus/pull/13242 * build(deps): bump actions/setup-go from 3.5.0 to 5.0.0 in /scripts by @dependabot in https://github.com/prometheus/prometheus/pull/13362 * build(deps): bump github/codeql-action from 2.22.8 to 3.22.12 by @dependabot in https://github.com/prometheus/prometheus/pull/13358 * put @nexucis has a release shepherd for the next release by @Nexucis in https://github.com/prometheus/prometheus/pull/13383 * protobuf: add unit parser by @vesari in https://github.com/prometheus/prometheus/pull/13299 * Add analyze histograms command to promtool by @zenador in https://github.com/prometheus/prometheus/pull/12331 * tsdb: add enable overlapping compaction by @GiedriusS in https://github.com/prometheus/prometheus/pull/13393 * tsdb/compact: fix passing merge func by @GiedriusS in https://github.com/prometheus/prometheus/pull/13391 * allow setting multiple matchers to "promtool tsdb dump" by @machine424 in https://github.com/prometheus/prometheus/pull/13296 * Merge 2.49.0 release to main by @bwplotka in https://github.com/prometheus/prometheus/pull/13399 * tsdb/main: wire "EnableOverlappingCompaction" to tsdb.Options by @GiedriusS in https://github.com/prometheus/prometheus/pull/13398 * Restore more efficient version of NewPossibleNonCounterInfo annotation by @zenador in https://github.com/prometheus/prometheus/pull/13022 * fix slice copy in 1.20 by @tylitianrui in https://github.com/prometheus/prometheus/pull/13389 * Query Basics: link to rate by @tredondo in https://github.com/prometheus/prometheus/pull/10538 * Examples: link to `rate` for new users by @tredondo in https://github.com/prometheus/prometheus/pull/10535 * add cluster variable to Overview dashboard by @the-it in https://github.com/prometheus/prometheus/pull/13180 * Fix regressions introduced by #13242 by @pracucci in https://github.com/prometheus/prometheus/pull/13407 * promql: use natural sort in sort_by_label and sort_by_label_desc by @bobrik in https://github.com/prometheus/prometheus/pull/13411 * Native Histograms: support `native_histogram_min_bucket_factor` in scrape_config by @fatsheep9146 in https://github.com/prometheus/prometheus/pull/13222 * Add warnings for histogramRate applied with isCounter not matching counter/gauge histogram by @zenador in https://github.com/prometheus/prometheus/pull/13392 * remove obsolete build tag by @tylitianrui in https://github.com/prometheus/prometheus/pull/13416 * scripts: sort file list in embed directive by @jan--f in https://github.com/prometheus/prometheus/pull/13363 * build(deps): bump github.com/prometheus/prometheus from 0.48.0 to 0.48.1 in /documentation/examples/remote_storage by @dependabot in https://github.com/prometheus/prometheus/pull/13353 * build(deps): bump github.com/influxdata/influxdb from 1.11.2 to 1.11.4 in /documentation/examples/remote_storage by @dependabot in https://github.com/prometheus/prometheus/pull/13352 * Upgrade some golang dependencies for resty 2.11 by @iblancasa in https://github.com/prometheus/prometheus/pull/13417 * TestLabelValuesWithMatchers: Add test case by @aknuds1 in https://github.com/prometheus/prometheus/pull/13415 * build(deps): bump github.com/hetznercloud/hcloud-go/v2 from 2.4.0 to 2.6.0 by @dependabot in https://github.com/prometheus/prometheus/pull/13422 * chore(kubernetes): check preconditions earlier and avoid unnecessary checks or iterations by @machine424 in https://github.com/prometheus/prometheus/pull/13408 * build(deps): bump actions/setup-node from 3.8.1 to 4.0.1 by @dependabot in https://github.com/prometheus/prometheus/pull/13356 * otlp: Minor cosmetic fixes to the update script by @gouthamve in https://github.com/prometheus/prometheus/pull/13169 * promql: simplify Native Histogram arithmetics by @linasm in https://github.com/prometheus/prometheus/pull/13267 * fix(discovery tests): allow requireUpdate util to timeout in discovery/file… by @machine424 in https://github.com/prometheus/prometheus/pull/13380 * scrape_test.go: Increase scrape interval in TestScrapeLoopCache to re… by @machine424 in https://github.com/prometheus/prometheus/pull/13336 * Enhanced visibility for `promtool test rules` with JSON colored formatting by @rewanthtammana in https://github.com/prometheus/prometheus/pull/13342 * Remove csmarchbanks from remote write owners by @csmarchbanks in https://github.com/prometheus/prometheus/pull/13432 * storage: skip merging when no remote storage configured by @bboreham in https://github.com/prometheus/prometheus/pull/13427 * Add more context cancellation check at evaluation time by @yeya24 in https://github.com/prometheus/prometheus/pull/13437 * Optimize label values with matchers by taking shortcuts by @colega in https://github.com/prometheus/prometheus/pull/13426 * consoles: exclude iowait and steal from CPU Utilisation by @julianwiedmann in https://github.com/prometheus/prometheus/pull/9593 * Add automatic memory limit handling by @SuperQ in https://github.com/prometheus/prometheus/pull/13395 * Update OSSF badge link by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13433 * SD Managers taking over responsibility for registration of debug metrics by @ptodev in https://github.com/prometheus/prometheus/pull/13375 * Optimize histogram iterators by @fpetkovski in https://github.com/prometheus/prometheus/pull/13340 * doc: Mark `mad_over_time` as experimental by @beorn7 in https://github.com/prometheus/prometheus/pull/13440 * TestHeadLabelValuesWithMatchers: Add test case by @aknuds1 in https://github.com/prometheus/prometheus/pull/13414 * update all go dependencies by @Nexucis in https://github.com/prometheus/prometheus/pull/13438 * build(deps): bump the k8s-io group with 2 updates by @dependabot in https://github.com/prometheus/prometheus/pull/13454 * build(deps): bump the go-opentelemetry-io group with 1 update by @dependabot in https://github.com/prometheus/prometheus/pull/13453 * build(deps): bump actions/upload-artifact from 3.1.3 to 4.0.0 by @dependabot in https://github.com/prometheus/prometheus/pull/13355 * build(deps): bump bufbuild/buf-push-action from 342fc4cdcf29115a01cf12a2c6dd6aac68dc51e1 to a654ff18effe4641ebea4a4ce242c49800728459 by @dependabot in https://github.com/prometheus/prometheus/pull/13357 * tsdb: make transaction isolation data structures smaller by @bboreham in https://github.com/prometheus/prometheus/pull/13015 * Labels: Add DropMetricName function, used in PromQL by @bboreham in https://github.com/prometheus/prometheus/pull/13446 * tsdb: simplify internal series delete function by @bboreham in https://github.com/prometheus/prometheus/pull/13261 * Merging back release v2.49.1 to main by @Nexucis in https://github.com/prometheus/prometheus/pull/13463 * Rollback k8s.io requirements by @SuperQ in https://github.com/prometheus/prometheus/pull/13462 * scrape: Prometheus server support exemplar in native histogram by @fatsheep9146 in https://github.com/prometheus/prometheus/pull/13449 * ui: fix for deep linking in stacked graphs by @Loori-R in https://github.com/prometheus/prometheus/pull/13460 * otlptranslator/update-copy.sh: Fix sed command lines by @aknuds1 in https://github.com/prometheus/prometheus/pull/13464 * Change metric label for Puppet SD from 'http' to 'puppetdb' by @ptodev in https://github.com/prometheus/prometheus/pull/13447 * Fix last_over_time for native histograms by @fpetkovski in https://github.com/prometheus/prometheus/pull/13474 * Cut v2.50.0-rc.0 by @Nexucis in https://github.com/prometheus/prometheus/pull/13465

New Contributors

  • @windsonsea made their first contribution in https://github.com/prometheus/prometheus/pull/11583
  • @daniel-resdiary made their first contribution in https://github.com/prometheus/prometheus/pull/13283
  • @Automaat made their first contribution in https://github.com/prometheus/prometheus/pull/13278
  • @diogoteles08 made their first contribution in https://github.com/prometheus/prometheus/pull/13288
  • @kalpadiptyaroy made their first contribution in https://github.com/prometheus/prometheus/pull/13313
  • @zedGGs made their first contribution in https://github.com/prometheus/prometheus/pull/13293
  • @nmdanny made their first contribution in https://github.com/prometheus/prometheus/pull/13335
  • @kevinmingtarja made their first contribution in https://github.com/prometheus/prometheus/pull/13371
  • @the-it made their first contribution in https://github.com/prometheus/prometheus/pull/13180
  • @bobrik made their first contribution in https://github.com/prometheus/prometheus/pull/13411
  • @iblancasa made their first contribution in https://github.com/prometheus/prometheus/pull/13417
  • @rewanthtammana made their first contribution in https://github.com/prometheus/prometheus/pull/13342

Full Changelog: https://github.com/prometheus/prometheus/compare/v2.49.1...v2.50.0-rc.0

- Go
Published by prombot about 2 years ago

https://github.com/prometheus/prometheus - 2.45.3 / 2024-01-24

This release contains security fixes in dependencies and has been built with go1.21.6. #13450.

  • [BUGFIX] TSDB: Remove double memory snapshot on shutdown. #13110

- Go
Published by prombot about 2 years ago

https://github.com/prometheus/prometheus - 2.49.1 / 2024-01-15

  • [BUGFIX] TSDB: Fixed a wrong q= value in scrape accept header #13313

- Go
Published by bwplotka about 2 years ago

https://github.com/prometheus/prometheus - 2.49.0 / 2024-01-15

  • [FEATURE] Promtool: Add --run flag promtool test rules command. #12206
  • [FEATURE] SD: Add support for NS records to DNS SD. #13219
  • [FEATURE] UI: Add heatmap visualization setting in the Graph tab, useful histograms. #13096 #13371
  • [FEATURE] Scraping: Add scrape_config.enable_compression (default true) to disable gzip compression when scraping the target. #13166
  • [FEATURE] PromQL: Add a promql-experimental-functions feature flag containing some new experimental PromQL functions. #13103 NOTE: More experimental functions might be added behind the same feature flag in the future. Added functions:
    • Experimental mad_over_time (median absolute deviation around the median) function. #13059
    • Experimental sort_by_label and sort_by_label_desc functions allowing sorting returned series by labels. #11299
  • [FEATURE] SD: Add __meta_linode_gpus label to Linode SD. #13097
  • [FEATURE] API: Add exclude_alerts query parameter to /api/v1/rules to only return recording rules. #12999
  • [FEATURE] TSDB: --storage.tsdb.retention.time flag value is now exposed as a prometheus_tsdb_retention_limit_seconds metric. #12986
  • [FEATURE] Scraping: Add ability to specify priority of scrape protocols to accept during scrape (e.g. to scrape Prometheus proto format for certain jobs). This can be changed by setting global.scrape_protocols and scrape_config.scrape_protocols. #12738
  • [ENHANCEMENT] Scraping: Automated handling of scraping histograms that violate scrape_config.native_histogram_bucket_limit setting. #13129
  • [ENHANCEMENT] Scraping: Optimized memory allocations when scraping. #12992
  • [ENHANCEMENT] SD: Added cache for Azure SD to avoid rate-limits. #12622
  • [ENHANCEMENT] TSDB: Various improvements to OOO exemplar scraping. E.g. allowing ingestion of exemplars with the same timestamp, but with different labels. #13021
  • [ENHANCEMENT] API: Optimize /api/v1/labels and /api/v1/label/<label_name>/values when 1 set of matchers are used. #12888
  • [ENHANCEMENT] TSDB: Various optimizations for TSDB block index, head mmap chunks and WAL, reducing latency and memory allocations (improving API calls, compaction queries etc). #12997 #13058 #13056 #13040
  • [ENHANCEMENT] PromQL: Optimize memory allocations and latency when querying float histograms. #12954
  • [ENHANCEMENT] Rules: Instrument TraceID in log lines for rule evaluations. #13034
  • [ENHANCEMENT] PromQL: Optimize memory allocations in query_range calls. #13043
  • [ENHANCEMENT] Promtool: unittest interval now defaults to evaluation_intervals when not set. #12729
  • [BUGFIX] SD: Fixed Azure SD public IP reporting #13241
  • [BUGFIX] API: Fix inaccuracies in posting cardinality statistics. #12653
  • [BUGFIX] PromQL: Fix inaccuracies of histogram_quantile with classic histograms. #13153
  • [BUGFIX] TSDB: Fix rare fails or inaccurate queries with OOO samples. #13115
  • [BUGFIX] TSDB: Fix rare panics on append commit when exemplars are used. #13092
  • [BUGFIX] TSDB: Fix exemplar WAL storage, so remote write can send/receive samples before exemplars. #13113
  • [BUGFIX] Mixins: Fix url filter on remote write dashboards. #10721
  • [BUGFIX] PromQL/TSDB: Various fixes to float histogram operations. #12891 #12977 #12609 #13190 #13189 #13191 #13201 #13212 #13208
  • [BUGFIX] Promtool: Fix int32 overflow issues for 32-bit architectures. #12978
  • [BUGFIX] SD: Fix Azure VM Scale Set NIC issue. #13283
Commits * Add created timestamps to prompb by @ArthurSens in https://github.com/prometheus/prometheus/pull/12936 * Added ability to specify scrape protocols to accept during HTTP content type negotiation. by @bwplotka in https://github.com/prometheus/prometheus/pull/12738 * Fix int32 overflow issues by @krajorama in https://github.com/prometheus/prometheus/pull/12978 * Add the OpenSSF Scorecard GitHub Action by @pnacht in https://github.com/prometheus/prometheus/pull/12990 * Promtool: Fix/clarify documentation for axn notation. by @jdellithorpe-db in https://github.com/prometheus/prometheus/pull/12868 * Fix NaN checks in [Float]Histogram.Equals method by @linasm in https://github.com/prometheus/prometheus/pull/12891 * Merge release-2.48 back into main by @beorn7 in https://github.com/prometheus/prometheus/pull/12994 * promql(histograms): Change sample total calculation for histograms by @marctc in https://github.com/prometheus/prometheus/pull/12609 * Parse created timestamps from Prometheus Protobuf by @ArthurSens in https://github.com/prometheus/prometheus/pull/12973 * Very minor refactor of the integer overflow fix by @zenador in https://github.com/prometheus/prometheus/pull/13007 * prompb: Clarify things around optional fields in proto3 and gogo-protobuf by @beorn7 in https://github.com/prometheus/prometheus/pull/13008 * native-histograms: Fixed PrometheusProto scrape format preference. by @bwplotka in https://github.com/prometheus/prometheus/pull/13010 * promtool: Set test group interval default to evaluation interval by @rgroothuijsen in https://github.com/prometheus/prometheus/pull/13011 * Bump prometheus common to v0.45.0 by @YannickTeKulve in https://github.com/prometheus/prometheus/pull/13003 * ui: Pass unexpected boot errors to StartingContent component by @gillesdemey in https://github.com/prometheus/prometheus/pull/13016 * Refactor `rules/manager.go` into separate concerns by @dannykopping in https://github.com/prometheus/prometheus/pull/13014 * TSDB: Pre-size buffer to read samples from WAL by @bboreham in https://github.com/prometheus/prometheus/pull/12997 * Expose --storage.tsdb.retention.time in metric prometheus_tsdb_retention_limit_seconds by @msscaroso in https://github.com/prometheus/prometheus/pull/12986 * Metrics in the "scrape" package can now be registered with a non-default registry by @ptodev in https://github.com/prometheus/prometheus/pull/12958 * Hide position info for warnings when position is unknown by @zenador in https://github.com/prometheus/prometheus/pull/13031 * Build: remove -a from build to speed up rebuilds by @bboreham in https://github.com/prometheus/prometheus/pull/13026 * Make it possible to unwrap annotation error by @zenador in https://github.com/prometheus/prometheus/pull/13039 * Adding a query parameter to filter out active alerts by @rajagopalanand in https://github.com/prometheus/prometheus/pull/12999 * Exclude alerts: improve documentation by @roidelapluie in https://github.com/prometheus/prometheus/pull/13046 * PromQL: reduce garbage in range-query evaluation by @bboreham in https://github.com/prometheus/prometheus/pull/13043 * storage: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/12935 * ci(lint): enable nolintlint and remove redundant comments by @alexandear in https://github.com/prometheus/prometheus/pull/12926 * discovery: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/12918 * build(deps): bump actions/checkout from 3.0.0 to 4.1.0 by @dependabot in https://github.com/prometheus/prometheus/pull/12917 * build(deps): bump github/codeql-action from 1.0.26 to 2.21.9 by @dependabot in https://github.com/prometheus/prometheus/pull/12915 * Merge release-2.48 back into main by @beorn7 in https://github.com/prometheus/prometheus/pull/13057 * Include trace ID in log lines emitted during rule evaluation by @charleskorn in https://github.com/prometheus/prometheus/pull/13034 * Fix issue where `chainSampleIterator` can obscure errors by @charleskorn in https://github.com/prometheus/prometheus/pull/13006 * Assign new code owners for prometheus-mixin by @metalmatze in https://github.com/prometheus/prometheus/pull/13036 * ci(lint): enable godot; append dot at the end of comments by @alexandear in https://github.com/prometheus/prometheus/pull/12928 * Native histograms vs labels by @krajorama in https://github.com/prometheus/prometheus/pull/13005 * scrape: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/12923 * Export `promql.FindMinMaxTime` by @dimitarvdimitrov in https://github.com/prometheus/prometheus/pull/13085 * build(deps): bump the go-opentelemetry-io group with 2 updates by @dependabot in https://github.com/prometheus/prometheus/pull/13077 * build(deps): bump github.com/prometheus/common from 0.44.0 to 0.45.0 in /documentation/examples/remote_storage by @dependabot in https://github.com/prometheus/prometheus/pull/13069 * Merge release-2.48 back into main by @beorn7 in https://github.com/prometheus/prometheus/pull/13089 * build(deps): bump github.com/linode/linodego from 1.23.0 to 1.24.0 by @dependabot in https://github.com/prometheus/prometheus/pull/13078 * Histogram performance: optimize floatBucketIterator by @linasm in https://github.com/prometheus/prometheus/pull/12954 * build(deps): bump the k8s-io group with 2 updates by @dependabot in https://github.com/prometheus/prometheus/pull/13076 * build(deps): bump github/codeql-action from 2.21.9 to 2.22.5 by @dependabot in https://github.com/prometheus/prometheus/pull/13071 * build(deps): bump actions/checkout from 4.1.0 to 4.1.1 in /scripts by @dependabot in https://github.com/prometheus/prometheus/pull/13081 * build(deps): bump github.com/klauspost/compress from 1.17.1 to 1.17.2 by @dependabot in https://github.com/prometheus/prometheus/pull/13080 * mixin: Use url filter on Remote Write dashboard by @ncauchois in https://github.com/prometheus/prometheus/pull/10721 * ValidateHistogram: strict Count check in absence of NaNs by @linasm in https://github.com/prometheus/prometheus/pull/12977 * Improve sensitivity of TestQuerierIndexQueriesRace by @dimitarvdimitrov in https://github.com/prometheus/prometheus/pull/12881 * util: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13091 * build(deps): bump actions/checkout from 4.1.0 to 4.1.1 by @dependabot in https://github.com/prometheus/prometheus/pull/13072 * build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1 by @dependabot in https://github.com/prometheus/prometheus/pull/13073 * web : use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13106 * tsdb/index.Symbols: Drop context argument from Lookup method by @aknuds1 in https://github.com/prometheus/prometheus/pull/13058 * add generic shrink function by @fatsheep9146 in https://github.com/prometheus/prometheus/pull/13001 * remote_write: add a unit test to make sure the write client sends the extra http headers as expected by @machine424 in https://github.com/prometheus/prometheus/pull/13117 * head.go: Remove an unneeded snapshot trigger that was moved in https:… by @machine424 in https://github.com/prometheus/prometheus/pull/13110 * Follow-up to #13060: Add test to ensure staleness tracking by @roidelapluie in https://github.com/prometheus/prometheus/pull/13120 * codemirror-promql: Add request header to client by @jacobbaungard in https://github.com/prometheus/prometheus/pull/13118 * change origin schema in `ReduceResolution` method of histogram and float histogram by @fatsheep9146 in https://github.com/prometheus/prometheus/pull/13116 * tsdb/head: wlog exemplars after samples by @krajorama in https://github.com/prometheus/prometheus/pull/13113 * Fix panic during tsdb Commit by @krajorama in https://github.com/prometheus/prometheus/pull/13092 * Linode SD: Add __meta_linode_gpus label by @roidelapluie in https://github.com/prometheus/prometheus/pull/13097 * TSDB block index writer: reduce memory used by symbol cache by @songjiayang in https://github.com/prometheus/prometheus/pull/13056 * web/api: optimize labelnames/values with 1 set of matchers by @bboreham in https://github.com/prometheus/prometheus/pull/12888 * tsdb/record: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13133 * tsdb/tombstones: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13131 * tsdb/encoding: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13130 * tsdb/wlog: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13114 * tsdb/chunks: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13109 * tsdb/index: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13124 * tsdb/agent: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13107 * tsdb/chunkenc: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13108 * Labels: reduce allocations when creating from TSDB WAL by @bboreham in https://github.com/prometheus/prometheus/pull/13044 * tsdb: replace errors.Errorf by fmt.Errorf by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13139 * remote-write: fix race condition between ApplyConfig and Notify by @machine424 in https://github.com/prometheus/prometheus/pull/13135 * Add feature flag for PromQL experimental functions. by @roidelapluie in https://github.com/prometheus/prometheus/pull/13103 * Bump OTel Collector dependency to v0.88.0 by @gouthamve in https://github.com/prometheus/prometheus/pull/13148 * go.*: Upgrade golang.org/x packages by @kakkoyun in https://github.com/prometheus/prometheus/pull/13150 * Fix error on ingesting out-of-order exemplars by @zenador in https://github.com/prometheus/prometheus/pull/13021 * tsdb/errors: fix errorlint linter by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13141 * tsdb/fileutil: use Go standard errors by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13142 * tsdb/tsdbutil: use Go standard errors by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13143 * Make head block ULIDs descriptive by @colega in https://github.com/prometheus/prometheus/pull/13100 * Update golangci-lint. by @SuperQ in https://github.com/prometheus/prometheus/pull/12790 * TSDB: make the global hash lookup table smaller by @bboreham in https://github.com/prometheus/prometheus/pull/13040 * Add enable_compression scrape config option by @prymitive in https://github.com/prometheus/prometheus/pull/13166 * fix: The automatically generated file is inconsistent with the file i… by @manas-rust in https://github.com/prometheus/prometheus/pull/13164 * labels: extract common code between slice and stringlabels by @bboreham in https://github.com/prometheus/prometheus/pull/13159 * Added Caching of network interface for Azure by @shinji62 in https://github.com/prometheus/prometheus/pull/12622 * Fix issue where `concatenatingChunkIterator` can obscure errors by @charleskorn in https://github.com/prometheus/prometheus/pull/13084 * Fix linting issues blocking CI by @charleskorn in https://github.com/prometheus/prometheus/pull/13178 * Use only one scrapeMetrics object per test by @ptodev in https://github.com/prometheus/prometheus/pull/13051 * Add benchmark for native histograms by @fpetkovski in https://github.com/prometheus/prometheus/pull/13160 * Fix issue where queries can fail or omit OOO samples if OOO head compaction occurs between creating a querier and reading chunks by @charleskorn in https://github.com/prometheus/prometheus/pull/13115 * Scraping: share buffer pool across all scrapes by @bboreham in https://github.com/prometheus/prometheus/pull/12992 * Scraping tests: refactor scrapeLoop creation by @bboreham in https://github.com/prometheus/prometheus/pull/13187 * ui: heatmap visualization for histogram buckets by @Loori-R in https://github.com/prometheus/prometheus/pull/13096 * PromQL: ignore small errors for bucketQuantile by @zenador in https://github.com/prometheus/prometheus/pull/13153 * Scraping: use slices.sort for exemplars by @bboreham in https://github.com/prometheus/prometheus/pull/13184 * Fix tsdb.seriesHashmap.set by making receiver a pointer by @aknuds1 in https://github.com/prometheus/prometheus/pull/13193 * Change `ChunkReader.Chunk()` to `ChunkOrIterable()` by @fionaliao in https://github.com/prometheus/prometheus/pull/13123 * Improvements to PR template by @bboreham in https://github.com/prometheus/prometheus/pull/13198 * Fix docs: in labelname, convert to underscore by @dapeleg-dn in https://github.com/prometheus/prometheus/pull/12555 * build(deps): bump sanitize-html from 2.10.0 to 2.11.0 in /web/ui by @dependabot in https://github.com/prometheus/prometheus/pull/12513 * Explicit schema check in [Float]Histogram.ReduceResolution by @linasm in https://github.com/prometheus/prometheus/pull/13189 * Fix FloatHistogram.Add/Sub mutating its argument by @linasm in https://github.com/prometheus/prometheus/pull/13190 * Fix tsdb.stripeSeries.gc so it handles conflicts properly by @aknuds1 in https://github.com/prometheus/prometheus/pull/13195 * Make sure the cache for postings cardinality properly honors the label name by @damnever in https://github.com/prometheus/prometheus/pull/12653 * promql: add sort_by_label and sort_by_label_desc functions by @galexrt in https://github.com/prometheus/prometheus/pull/11299 * Native Histograms: automatically reduce resolution rather than fail scrape by @fatsheep9146 in https://github.com/prometheus/prometheus/pull/13129 * Reuse receiver slices in [Float]Histogram.ReduceResolution by @linasm in https://github.com/prometheus/prometheus/pull/13191 * Fix chunks iterator bug when tombstone covers a whole chunk by @fionaliao in https://github.com/prometheus/prometheus/pull/13209 * Fix histogram append errors by @fionaliao in https://github.com/prometheus/prometheus/pull/13201 * Added Bartek as the next release shepherd. by @bwplotka in https://github.com/prometheus/prometheus/pull/13210 * Enable previously disabled revive (lint) rules and fix up code by @alexandear in https://github.com/prometheus/prometheus/pull/13068 * Update “conventional histogram” → “classic histogram” by @beorn7 in https://github.com/prometheus/prometheus/pull/13216 * Merge release-2.48 back into main by @LeviHarrison in https://github.com/prometheus/prometheus/pull/13227 * Discovery: Add support for NS records to DNS Discovery by @djcode in https://github.com/prometheus/prometheus/pull/13219 * [agent/db] Participate in Notify calls by @jlevesy in https://github.com/prometheus/prometheus/pull/13223 * [wlog/watcher] read segment synchronously when not tailing by @jlevesy in https://github.com/prometheus/prometheus/pull/13224 * tsdb/wlog: use Go standard errors by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13144 * Add '--run' flag to promtool test rules by @machadovilaca in https://github.com/prometheus/prometheus/pull/12206 * golangci-lint: enable testifylint linter by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13254 * azure_sd: fix missing public IP addresses by @gavinkflam in https://github.com/prometheus/prometheus/pull/13241 * build(deps-dev): bump @babel/traverse from 7.19.3 to 7.23.3 in /web/ui by @dependabot in https://github.com/prometheus/prometheus/pull/13137 * build(deps): bump github.com/alecthomas/kingpin/v2 from 2.3.2 to 2.4.0 in /documentation/examples/remote_storage by @dependabot in https://github.com/prometheus/prometheus/pull/13232 * build(deps): bump github.com/prometheus/prometheus from 0.47.2 to 0.48.0 in /documentation/examples/remote_storage by @dependabot in https://github.com/prometheus/prometheus/pull/13233 * build(deps): bump golang.org/x/net from 0.18.0 to 0.19.0 by @dependabot in https://github.com/prometheus/prometheus/pull/13240 * build(deps): bump github.com/alecthomas/kingpin/v2 from 2.3.2 to 2.4.0 by @dependabot in https://github.com/prometheus/prometheus/pull/13238 * Add test of Go module versions by @SuperQ in https://github.com/prometheus/prometheus/pull/13257 * build(deps): bump github.com/digitalocean/godo from 1.104.1 to 1.106.0 by @dependabot in https://github.com/prometheus/prometheus/pull/13239 * Upgraded npm dependencies pre 2.49-rc.0 by @bwplotka in https://github.com/prometheus/prometheus/pull/13256 * build(deps): bump the k8s-io group with 2 updates by @dependabot in https://github.com/prometheus/prometheus/pull/13235 * build(deps): bump github.com/linode/linodego from 1.24.0 to 1.25.0 by @dependabot in https://github.com/prometheus/prometheus/pull/13237 * build(deps): bump the go-opentelemetry-io group with 7 updates by @dependabot in https://github.com/prometheus/prometheus/pull/13236 * Upgraded main and example Go dependencies pre 2.49-rc.0 by @bwplotka in https://github.com/prometheus/prometheus/pull/13255 * protobuf: add unit to metric family message by @vesari in https://github.com/prometheus/prometheus/pull/13259 * Histograms: optimize floatBucketIterator for common case by @linasm in https://github.com/prometheus/prometheus/pull/13212 * FloatHistogram.Add/Sub: handle any schema change by @linasm in https://github.com/prometheus/prometheus/pull/13208 * build(deps): bump bufbuild/buf-setup-action from 1.26.1 to 1.28.1 by @dependabot in https://github.com/prometheus/prometheus/pull/13230 * build(deps): bump github/codeql-action from 2.22.5 to 2.22.8 by @dependabot in https://github.com/prometheus/prometheus/pull/13229 * build(deps): bump dessant/lock-threads from 4.0.1 to 5.0.1 by @dependabot in https://github.com/prometheus/prometheus/pull/13228 * build(deps-dev): bump @types/node from 17.0.45 to 20.10.4 in /web/ui by @dependabot in https://github.com/prometheus/prometheus/pull/13260 * Add mad_over_time function by @zenador in https://github.com/prometheus/prometheus/pull/13059 * Cut 2.49.0-rc.0 by @bwplotka in https://github.com/prometheus/prometheus/pull/13270 * Cut 2.49 rc.1 + cherry pick Azure fix by @bwplotka @daniel-resdiary in https://github.com/prometheus/prometheus/pull/13314 * Cut 2.49.0-rc.2 + cherry pick of UI fix #13371 by @kevinmingtarja @bwplotka in https://github.com/prometheus/prometheus/pull/13382 * Cut 2.49.0 by @bwplotka in https://github.com/prometheus/prometheus/pull/13397

New Contributors

  • @jdellithorpe-db made their first contribution in https://github.com/prometheus/prometheus/pull/12868
  • @YannickTeKulve made their first contribution in https://github.com/prometheus/prometheus/pull/13003
  • @gillesdemey made their first contribution in https://github.com/prometheus/prometheus/pull/13016
  • @msscaroso made their first contribution in https://github.com/prometheus/prometheus/pull/12986
  • @rajagopalanand made their first contribution in https://github.com/prometheus/prometheus/pull/12999
  • @alexandear made their first contribution in https://github.com/prometheus/prometheus/pull/12926
  • @ncauchois made their first contribution in https://github.com/prometheus/prometheus/pull/10721
  • @jacobbaungard made their first contribution in https://github.com/prometheus/prometheus/pull/13118
  • @manas-rust made their first contribution in https://github.com/prometheus/prometheus/pull/13164
  • @shinji62 made their first contribution in https://github.com/prometheus/prometheus/pull/12622
  • @Loori-R made their first contribution in https://github.com/prometheus/prometheus/pull/13096
  • @dapeleg-dn made their first contribution in https://github.com/prometheus/prometheus/pull/12555
  • @galexrt made their first contribution in https://github.com/prometheus/prometheus/pull/11299
  • @djcode made their first contribution in https://github.com/prometheus/prometheus/pull/13219
  • @machadovilaca made their first contribution in https://github.com/prometheus/prometheus/pull/12206
  • @gavinkflam made their first contribution in https://github.com/prometheus/prometheus/pull/13241
  • @daniel-resdiary made their first contribution in https://github.com/prometheus/prometheus/pull/13283
  • @kevinmingtarja made their first contribution in https://github.com/prometheus/prometheus/pull/13371

Full Changelog: https://github.com/prometheus/prometheus/compare/v2.48.1...v2.49.0

- Go
Published by bwplotka about 2 years ago

https://github.com/prometheus/prometheus - 2.49.0-rc.2 / 2024-01-08

  • [BUGFIX] UI: Fix scalar and string data type issues when querying introduced by heatmap feature. #13371

- Go
Published by bwplotka about 2 years ago

https://github.com/prometheus/prometheus - 2.49.0-rc.1 / 2023-12-19

  • [BUGFIX] SD: Fix Azure VM Scale Set NIC issue. #13283

Commits * Cut 2.49 rc.1 + cherry pick Azure fix by @bwplotka in https://github.com/prometheus/prometheus/pull/13314 (with fix from @daniel-resdiary)

- Go
Published by bwplotka about 2 years ago

https://github.com/prometheus/prometheus - 2.45.2 / 2023-12-19

This release contains security fixes in dependencies and has been built with go1.21.5. #13307

  • [BUGFIX] TSDB: Fix PostingsForMatchers race with creating new series. #12558

- Go
Published by prombot about 2 years ago

https://github.com/prometheus/prometheus - 2.49.0-rc.0 / 2023-12-12

  • [FEATURE] Promtool: Add --run flag promtool test rules command. #12206
  • [FEATURE] SD: Add support for NS records to DNS SD. #13219
  • [FEATURE] UI: Add heatmap visualization setting in the Graph tab, useful histograms. #13096
  • [FEATURE] Scraping: Add scrape_config.enable_compression (default true) to disable gzip compression when scraping the target. #13166
  • [FEATURE] PromQL: Add a promql-experimental-functions feature flag containing some new experimental PromQL functions. #13103 NOTE: More experimental functions might be added behind the same feature flag in the future. Added functions:
    • Experimental mad_over_time (median absolute deviation around the median) function. #13059
    • Experimental sort_by_label and sort_by_label_desc functions allowing sorting returned series by labels. #11299
  • [FEATURE] SD: Add __meta_linode_gpus label to Linode SD. #13097
  • [FEATURE] API: Add exclude_alerts query parameter to /api/v1/rules to only return recording rules. #12999
  • [FEATURE] TSDB: --storage.tsdb.retention.time flag value is now exposed as a prometheus_tsdb_retention_limit_seconds metric. #12986
  • [FEATURE] Scraping: Add ability to specify priority of scrape protocols to accept during scrape (e.g. to scrape Prometheus proto format for certain jobs). This can be changed by setting global.scrape_protocols and scrape_config.scrape_protocols. #12738
  • [ENHANCEMENT] Scraping: Automated handling of scraping histograms that violate scrape_config.native_histogram_bucket_limit setting. #13129
  • [ENHANCEMENT] Scraping: Optimized memory allocations when scraping. #12992
  • [ENHANCEMENT] SD: Added cache for Azure SD to avoid rate-limits. #12622
  • [ENHANCEMENT] TSDB: Various improvements to OOO exemplar scraping. E.g. allowing ingestion of exemplars with the same timestamp, but with different labels. #13021
  • [ENHANCEMENT] API: Optimize /api/v1/labels and /api/v1/label/<label_name>/values when 1 set of matchers are used. #12888
  • [ENHANCEMENT] TSDB: Various optimizations for TSDB block index, head mmap chunks and WAL, reducing latency and memory allocations (improving API calls, compaction queries etc). #12997 #13058 #13056 #13040
  • [ENHANCEMENT] PromQL: Optimize memory allocations and latency when querying float histograms. #12954
  • [ENHANCEMENT] Rules: Instrument TraceID in log lines for rule evaluations. #13034
  • [ENHANCEMENT] PromQL: Optimize memory allocations in query_range calls. #13043
  • [ENHANCEMENT] Promtool: unittest interval now defaults to evaluation_intervals when not set. #12729
  • [BUGFIX] SD: Fixed Azure SD public IP reporting #13241
  • [BUGFIX] API: Fix inaccuracies in posting cardinality statistics. #12653
  • [BUGFIX] PromQL: Fix inaccuracies of histogram_quantile with classic histograms. #13153
  • [BUGFIX] TSDB: Fix rare fails or inaccurate queries with OOO samples. #13115
  • [BUGFIX] TSDB: Fix rare panics on append commit when exemplars are used. #13092
  • [BUGFIX] TSDB: Fix exemplar WAL storage, so remote write can send/receive samples before exemplars. #13113
  • [BUGFIX] Mixins: Fix url filter on remote write dashboards. #10721
  • [BUGFIX] PromQL/TSDB: Various fixes to float histogram operations. #12891 #12977 #12609 #13190 #13189 #13191 #13201 #13212 #13208
  • [BUGFIX] Promtool: Fix int32 overflow issues for 32-bit architectures. #12978
Commits * Add created timestamps to prompb by @ArthurSens in https://github.com/prometheus/prometheus/pull/12936 * Added ability to specify scrape protocols to accept during HTTP content type negotiation. by @bwplotka in https://github.com/prometheus/prometheus/pull/12738 * Fix int32 overflow issues by @krajorama in https://github.com/prometheus/prometheus/pull/12978 * Add the OpenSSF Scorecard GitHub Action by @pnacht in https://github.com/prometheus/prometheus/pull/12990 * Promtool: Fix/clarify documentation for axn notation. by @jdellithorpe-db in https://github.com/prometheus/prometheus/pull/12868 * Fix NaN checks in [Float]Histogram.Equals method by @linasm in https://github.com/prometheus/prometheus/pull/12891 * Merge release-2.48 back into main by @beorn7 in https://github.com/prometheus/prometheus/pull/12994 * promql(histograms): Change sample total calculation for histograms by @marctc in https://github.com/prometheus/prometheus/pull/12609 * Parse created timestamps from Prometheus Protobuf by @ArthurSens in https://github.com/prometheus/prometheus/pull/12973 * Very minor refactor of the integer overflow fix by @zenador in https://github.com/prometheus/prometheus/pull/13007 * prompb: Clarify things around optional fields in proto3 and gogo-protobuf by @beorn7 in https://github.com/prometheus/prometheus/pull/13008 * native-histograms: Fixed PrometheusProto scrape format preference. by @bwplotka in https://github.com/prometheus/prometheus/pull/13010 * promtool: Set test group interval default to evaluation interval by @rgroothuijsen in https://github.com/prometheus/prometheus/pull/13011 * Bump prometheus common to v0.45.0 by @YannickTeKulve in https://github.com/prometheus/prometheus/pull/13003 * ui: Pass unexpected boot errors to StartingContent component by @gillesdemey in https://github.com/prometheus/prometheus/pull/13016 * Refactor `rules/manager.go` into separate concerns by @dannykopping in https://github.com/prometheus/prometheus/pull/13014 * TSDB: Pre-size buffer to read samples from WAL by @bboreham in https://github.com/prometheus/prometheus/pull/12997 * Expose --storage.tsdb.retention.time in metric prometheus_tsdb_retention_limit_seconds by @msscaroso in https://github.com/prometheus/prometheus/pull/12986 * Metrics in the "scrape" package can now be registered with a non-default registry by @ptodev in https://github.com/prometheus/prometheus/pull/12958 * Hide position info for warnings when position is unknown by @zenador in https://github.com/prometheus/prometheus/pull/13031 * Build: remove -a from build to speed up rebuilds by @bboreham in https://github.com/prometheus/prometheus/pull/13026 * Make it possible to unwrap annotation error by @zenador in https://github.com/prometheus/prometheus/pull/13039 * Adding a query parameter to filter out active alerts by @rajagopalanand in https://github.com/prometheus/prometheus/pull/12999 * Exclude alerts: improve documentation by @roidelapluie in https://github.com/prometheus/prometheus/pull/13046 * PromQL: reduce garbage in range-query evaluation by @bboreham in https://github.com/prometheus/prometheus/pull/13043 * storage: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/12935 * ci(lint): enable nolintlint and remove redundant comments by @alexandear in https://github.com/prometheus/prometheus/pull/12926 * discovery: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/12918 * build(deps): bump actions/checkout from 3.0.0 to 4.1.0 by @dependabot in https://github.com/prometheus/prometheus/pull/12917 * build(deps): bump github/codeql-action from 1.0.26 to 2.21.9 by @dependabot in https://github.com/prometheus/prometheus/pull/12915 * Merge release-2.48 back into main by @beorn7 in https://github.com/prometheus/prometheus/pull/13057 * Include trace ID in log lines emitted during rule evaluation by @charleskorn in https://github.com/prometheus/prometheus/pull/13034 * Fix issue where `chainSampleIterator` can obscure errors by @charleskorn in https://github.com/prometheus/prometheus/pull/13006 * Assign new code owners for prometheus-mixin by @metalmatze in https://github.com/prometheus/prometheus/pull/13036 * ci(lint): enable godot; append dot at the end of comments by @alexandear in https://github.com/prometheus/prometheus/pull/12928 * Native histograms vs labels by @krajorama in https://github.com/prometheus/prometheus/pull/13005 * scrape: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/12923 * Export `promql.FindMinMaxTime` by @dimitarvdimitrov in https://github.com/prometheus/prometheus/pull/13085 * build(deps): bump the go-opentelemetry-io group with 2 updates by @dependabot in https://github.com/prometheus/prometheus/pull/13077 * build(deps): bump github.com/prometheus/common from 0.44.0 to 0.45.0 in /documentation/examples/remote_storage by @dependabot in https://github.com/prometheus/prometheus/pull/13069 * Merge release-2.48 back into main by @beorn7 in https://github.com/prometheus/prometheus/pull/13089 * build(deps): bump github.com/linode/linodego from 1.23.0 to 1.24.0 by @dependabot in https://github.com/prometheus/prometheus/pull/13078 * Histogram performance: optimize floatBucketIterator by @linasm in https://github.com/prometheus/prometheus/pull/12954 * build(deps): bump the k8s-io group with 2 updates by @dependabot in https://github.com/prometheus/prometheus/pull/13076 * build(deps): bump github/codeql-action from 2.21.9 to 2.22.5 by @dependabot in https://github.com/prometheus/prometheus/pull/13071 * build(deps): bump actions/checkout from 4.1.0 to 4.1.1 in /scripts by @dependabot in https://github.com/prometheus/prometheus/pull/13081 * build(deps): bump github.com/klauspost/compress from 1.17.1 to 1.17.2 by @dependabot in https://github.com/prometheus/prometheus/pull/13080 * mixin: Use url filter on Remote Write dashboard by @ncauchois in https://github.com/prometheus/prometheus/pull/10721 * ValidateHistogram: strict Count check in absence of NaNs by @linasm in https://github.com/prometheus/prometheus/pull/12977 * Improve sensitivity of TestQuerierIndexQueriesRace by @dimitarvdimitrov in https://github.com/prometheus/prometheus/pull/12881 * util: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13091 * build(deps): bump actions/checkout from 4.1.0 to 4.1.1 by @dependabot in https://github.com/prometheus/prometheus/pull/13072 * build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1 by @dependabot in https://github.com/prometheus/prometheus/pull/13073 * web : use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13106 * tsdb/index.Symbols: Drop context argument from Lookup method by @aknuds1 in https://github.com/prometheus/prometheus/pull/13058 * add generic shrink function by @fatsheep9146 in https://github.com/prometheus/prometheus/pull/13001 * remote_write: add a unit test to make sure the write client sends the extra http headers as expected by @machine424 in https://github.com/prometheus/prometheus/pull/13117 * head.go: Remove an unneeded snapshot trigger that was moved in https:… by @machine424 in https://github.com/prometheus/prometheus/pull/13110 * Follow-up to #13060: Add test to ensure staleness tracking by @roidelapluie in https://github.com/prometheus/prometheus/pull/13120 * codemirror-promql: Add request header to client by @jacobbaungard in https://github.com/prometheus/prometheus/pull/13118 * change origin schema in `ReduceResolution` method of histogram and float histogram by @fatsheep9146 in https://github.com/prometheus/prometheus/pull/13116 * tsdb/head: wlog exemplars after samples by @krajorama in https://github.com/prometheus/prometheus/pull/13113 * Fix panic during tsdb Commit by @krajorama in https://github.com/prometheus/prometheus/pull/13092 * Linode SD: Add __meta_linode_gpus label by @roidelapluie in https://github.com/prometheus/prometheus/pull/13097 * TSDB block index writer: reduce memory used by symbol cache by @songjiayang in https://github.com/prometheus/prometheus/pull/13056 * web/api: optimize labelnames/values with 1 set of matchers by @bboreham in https://github.com/prometheus/prometheus/pull/12888 * tsdb/record: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13133 * tsdb/tombstones: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13131 * tsdb/encoding: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13130 * tsdb/wlog: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13114 * tsdb/chunks: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13109 * tsdb/index: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13124 * tsdb/agent: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13107 * tsdb/chunkenc: use Go standard errors package by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13108 * Labels: reduce allocations when creating from TSDB WAL by @bboreham in https://github.com/prometheus/prometheus/pull/13044 * tsdb: replace errors.Errorf by fmt.Errorf by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13139 * remote-write: fix race condition between ApplyConfig and Notify by @machine424 in https://github.com/prometheus/prometheus/pull/13135 * Add feature flag for PromQL experimental functions. by @roidelapluie in https://github.com/prometheus/prometheus/pull/13103 * Bump OTel Collector dependency to v0.88.0 by @gouthamve in https://github.com/prometheus/prometheus/pull/13148 * go.*: Upgrade golang.org/x packages by @kakkoyun in https://github.com/prometheus/prometheus/pull/13150 * Fix error on ingesting out-of-order exemplars by @zenador in https://github.com/prometheus/prometheus/pull/13021 * tsdb/errors: fix errorlint linter by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13141 * tsdb/fileutil: use Go standard errors by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13142 * tsdb/tsdbutil: use Go standard errors by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13143 * Make head block ULIDs descriptive by @colega in https://github.com/prometheus/prometheus/pull/13100 * Update golangci-lint. by @SuperQ in https://github.com/prometheus/prometheus/pull/12790 * TSDB: make the global hash lookup table smaller by @bboreham in https://github.com/prometheus/prometheus/pull/13040 * Add enable_compression scrape config option by @prymitive in https://github.com/prometheus/prometheus/pull/13166 * fix: The automatically generated file is inconsistent with the file i… by @manas-rust in https://github.com/prometheus/prometheus/pull/13164 * labels: extract common code between slice and stringlabels by @bboreham in https://github.com/prometheus/prometheus/pull/13159 * Added Caching of network interface for Azure by @shinji62 in https://github.com/prometheus/prometheus/pull/12622 * Fix issue where `concatenatingChunkIterator` can obscure errors by @charleskorn in https://github.com/prometheus/prometheus/pull/13084 * Fix linting issues blocking CI by @charleskorn in https://github.com/prometheus/prometheus/pull/13178 * Use only one scrapeMetrics object per test by @ptodev in https://github.com/prometheus/prometheus/pull/13051 * Add benchmark for native histograms by @fpetkovski in https://github.com/prometheus/prometheus/pull/13160 * Fix issue where queries can fail or omit OOO samples if OOO head compaction occurs between creating a querier and reading chunks by @charleskorn in https://github.com/prometheus/prometheus/pull/13115 * Scraping: share buffer pool across all scrapes by @bboreham in https://github.com/prometheus/prometheus/pull/12992 * Scraping tests: refactor scrapeLoop creation by @bboreham in https://github.com/prometheus/prometheus/pull/13187 * ui: heatmap visualization for histogram buckets by @Loori-R in https://github.com/prometheus/prometheus/pull/13096 * PromQL: ignore small errors for bucketQuantile by @zenador in https://github.com/prometheus/prometheus/pull/13153 * Scraping: use slices.sort for exemplars by @bboreham in https://github.com/prometheus/prometheus/pull/13184 * Fix tsdb.seriesHashmap.set by making receiver a pointer by @aknuds1 in https://github.com/prometheus/prometheus/pull/13193 * Change `ChunkReader.Chunk()` to `ChunkOrIterable()` by @fionaliao in https://github.com/prometheus/prometheus/pull/13123 * Improvements to PR template by @bboreham in https://github.com/prometheus/prometheus/pull/13198 * Fix docs: in labelname, convert to underscore by @dapeleg-dn in https://github.com/prometheus/prometheus/pull/12555 * build(deps): bump sanitize-html from 2.10.0 to 2.11.0 in /web/ui by @dependabot in https://github.com/prometheus/prometheus/pull/12513 * Explicit schema check in [Float]Histogram.ReduceResolution by @linasm in https://github.com/prometheus/prometheus/pull/13189 * Fix FloatHistogram.Add/Sub mutating its argument by @linasm in https://github.com/prometheus/prometheus/pull/13190 * Fix tsdb.stripeSeries.gc so it handles conflicts properly by @aknuds1 in https://github.com/prometheus/prometheus/pull/13195 * Make sure the cache for postings cardinality properly honors the label name by @damnever in https://github.com/prometheus/prometheus/pull/12653 * promql: add sort_by_label and sort_by_label_desc functions by @galexrt in https://github.com/prometheus/prometheus/pull/11299 * Native Histograms: automatically reduce resolution rather than fail scrape by @fatsheep9146 in https://github.com/prometheus/prometheus/pull/13129 * Reuse receiver slices in [Float]Histogram.ReduceResolution by @linasm in https://github.com/prometheus/prometheus/pull/13191 * Fix chunks iterator bug when tombstone covers a whole chunk by @fionaliao in https://github.com/prometheus/prometheus/pull/13209 * Fix histogram append errors by @fionaliao in https://github.com/prometheus/prometheus/pull/13201 * Added Bartek as the next release shepherd. by @bwplotka in https://github.com/prometheus/prometheus/pull/13210 * Enable previously disabled revive (lint) rules and fix up code by @alexandear in https://github.com/prometheus/prometheus/pull/13068 * Update “conventional histogram” → “classic histogram” by @beorn7 in https://github.com/prometheus/prometheus/pull/13216 * Merge release-2.48 back into main by @LeviHarrison in https://github.com/prometheus/prometheus/pull/13227 * Discovery: Add support for NS records to DNS Discovery by @djcode in https://github.com/prometheus/prometheus/pull/13219 * [agent/db] Participate in Notify calls by @jlevesy in https://github.com/prometheus/prometheus/pull/13223 * [wlog/watcher] read segment synchronously when not tailing by @jlevesy in https://github.com/prometheus/prometheus/pull/13224 * tsdb/wlog: use Go standard errors by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13144 * Add '--run' flag to promtool test rules by @machadovilaca in https://github.com/prometheus/prometheus/pull/12206 * golangci-lint: enable testifylint linter by @mmorel-35 in https://github.com/prometheus/prometheus/pull/13254 * azure_sd: fix missing public IP addresses by @gavinkflam in https://github.com/prometheus/prometheus/pull/13241 * build(deps-dev): bump @babel/traverse from 7.19.3 to 7.23.3 in /web/ui by @dependabot in https://github.com/prometheus/prometheus/pull/13137 * build(deps): bump github.com/alecthomas/kingpin/v2 from 2.3.2 to 2.4.0 in /documentation/examples/remote_storage by @dependabot in https://github.com/prometheus/prometheus/pull/13232 * build(deps): bump github.com/prometheus/prometheus from 0.47.2 to 0.48.0 in /documentation/examples/remote_storage by @dependabot in https://github.com/prometheus/prometheus/pull/13233 * build(deps): bump golang.org/x/net from 0.18.0 to 0.19.0 by @dependabot in https://github.com/prometheus/prometheus/pull/13240 * build(deps): bump github.com/alecthomas/kingpin/v2 from 2.3.2 to 2.4.0 by @dependabot in https://github.com/prometheus/prometheus/pull/13238 * Add test of Go module versions by @SuperQ in https://github.com/prometheus/prometheus/pull/13257 * build(deps): bump github.com/digitalocean/godo from 1.104.1 to 1.106.0 by @dependabot in https://github.com/prometheus/prometheus/pull/13239 * Upgraded npm dependencies pre 2.49-rc.0 by @bwplotka in https://github.com/prometheus/prometheus/pull/13256 * build(deps): bump the k8s-io group with 2 updates by @dependabot in https://github.com/prometheus/prometheus/pull/13235 * build(deps): bump github.com/linode/linodego from 1.24.0 to 1.25.0 by @dependabot in https://github.com/prometheus/prometheus/pull/13237 * build(deps): bump the go-opentelemetry-io group with 7 updates by @dependabot in https://github.com/prometheus/prometheus/pull/13236 * Upgraded main and example Go dependencies pre 2.49-rc.0 by @bwplotka in https://github.com/prometheus/prometheus/pull/13255 * protobuf: add unit to metric family message by @vesari in https://github.com/prometheus/prometheus/pull/13259 * Histograms: optimize floatBucketIterator for common case by @linasm in https://github.com/prometheus/prometheus/pull/13212 * FloatHistogram.Add/Sub: handle any schema change by @linasm in https://github.com/prometheus/prometheus/pull/13208 * build(deps): bump bufbuild/buf-setup-action from 1.26.1 to 1.28.1 by @dependabot in https://github.com/prometheus/prometheus/pull/13230 * build(deps): bump github/codeql-action from 2.22.5 to 2.22.8 by @dependabot in https://github.com/prometheus/prometheus/pull/13229 * build(deps): bump dessant/lock-threads from 4.0.1 to 5.0.1 by @dependabot in https://github.com/prometheus/prometheus/pull/13228 * build(deps-dev): bump @types/node from 17.0.45 to 20.10.4 in /web/ui by @dependabot in https://github.com/prometheus/prometheus/pull/13260 * Add mad_over_time function by @zenador in https://github.com/prometheus/prometheus/pull/13059 * Cut 2.49.0-rc.0 by @bwplotka in https://github.com/prometheus/prometheus/pull/13270

New Contributors 🤗

  • @jdellithorpe-db made their first contribution in https://github.com/prometheus/prometheus/pull/12868
  • @YannickTeKulve made their first contribution in https://github.com/prometheus/prometheus/pull/13003
  • @gillesdemey made their first contribution in https://github.com/prometheus/prometheus/pull/13016
  • @msscaroso made their first contribution in https://github.com/prometheus/prometheus/pull/12986
  • @ptodev made their first contribution in https://github.com/prometheus/prometheus/pull/12958
  • @rajagopalanand made their first contribution in https://github.com/prometheus/prometheus/pull/12999
  • @alexandear made their first contribution in https://github.com/prometheus/prometheus/pull/12926
  • @ncauchois made their first contribution in https://github.com/prometheus/prometheus/pull/10721
  • @machine424 made their first contribution in https://github.com/prometheus/prometheus/pull/13117
  • @jacobbaungard made their first contribution in https://github.com/prometheus/prometheus/pull/13118
  • @manas-rust made their first contribution in https://github.com/prometheus/prometheus/pull/13164
  • @shinji62 made their first contribution in https://github.com/prometheus/prometheus/pull/12622
  • @Loori-R made their first contribution in https://github.com/prometheus/prometheus/pull/13096
  • @dapeleg-dn made their first contribution in https://github.com/prometheus/prometheus/pull/12555
  • @galexrt made their first contribution in https://github.com/prometheus/prometheus/pull/11299
  • @djcode made their first contribution in https://github.com/prometheus/prometheus/pull/13219
  • @machadovilaca made their first contribution in https://github.com/prometheus/prometheus/pull/12206
  • @gavinkflam made their first contribution in https://github.com/prometheus/prometheus/pull/13241

- Go
Published by bwplotka about 2 years ago

https://github.com/prometheus/prometheus - 2.48.1 / 2023-12-08

  • [BUGFIX] TSDB: Make the wlog watcher read segments synchronously when not tailing. #13224
  • [BUGFIX] Agent: Participate in notify calls (fixes slow down in remote write handling introduced in 2.45). #13223

- Go
Published by prombot about 2 years ago

https://github.com/prometheus/prometheus - 2.48.0 / 2023-11-16

  • [CHANGE] Remote-write: respect Retry-After header on 5xx errors. #12677
  • [FEATURE] Alerting: Add AWS SigV4 authentication support for Alertmanager endpoints. #12774
  • [FEATURE] Promtool: Add support for histograms in the TSDB dump command. #12775
  • [FEATURE] PromQL: Add warnings (and annotations) to PromQL query results. #12152 #12982 #12988 #13012
  • [FEATURE] Remote-write: Add Azure AD OAuth authentication support for remote write requests. #12572
  • [ENHANCEMENT] Remote-write: Add a header to count retried remote write requests. #12729
  • [ENHANCEMENT] TSDB: Improve query performance by re-using iterator when moving between series. #12757
  • [ENHANCEMENT] UI: Move /targets page discovered labels to expandable section #12824
  • [ENHANCEMENT] TSDB: Optimize WBL loading by not sending empty buffers over channel. #12808
  • [ENHANCEMENT] TSDB: Reply WBL mmap markers concurrently. #12801
  • [ENHANCEMENT] Promtool: Add support for specifying series matchers in the TSDB analyze command. #12842
  • [ENHANCEMENT] PromQL: Prevent Prometheus from overallocating memory on subquery with large amount of steps. #12734
  • [ENHANCEMENT] PromQL: Add warning when monotonicity is forced in the input to histogram_quantile. #12931
  • [ENHANCEMENT] Scraping: Optimize sample appending by reducing garbage. #12939
  • [ENHANCEMENT] Storage: Reduce memory allocations in queries that merge series sets. #12938
  • [ENHANCEMENT] UI: Show group interval in rules display. #12943
  • [ENHANCEMENT] Scraping: Save memory when scraping by delaying creation of buffer. #12953
  • [ENHANCEMENT] Agent: Allow ingestion of out-of-order samples. #12897
  • [ENHANCEMENT] Promtool: Improve support for native histograms in TSDB analyze command. #12869
  • [ENHANCEMENT] Scraping: Add configuration option for tracking staleness of scraped timestamps. #13060
  • [BUGFIX] SD: Ensure that discovery managers are properly canceled. #10569
  • [BUGFIX] TSDB: Fix PostingsForMatchers race with creating new series. #12558
  • [BUGFIX] TSDB: Fix handling of explicit counter reset header in histograms. #12772
  • [BUGFIX] SD: Validate HTTP client configuration in HTTP, EC2, Azure, Uyuni, PuppetDB, and Lightsail SDs. #12762 #12811 #12812 #12815 #12814 #12816
  • [BUGFIX] TSDB: Fix counter reset edgecases causing native histogram panics. #12838
  • [BUGFIX] TSDB: Fix duplicate sample detection at chunk size limit. #12874
  • [BUGFIX] Promtool: Fix errors not being reported in check rules command. #12715
  • [BUGFIX] TSDB: Avoid panics reported in logs when head initialization takes a long time. #12876
  • [BUGFIX] TSDB: Ensure that WBL is repaired when possible. #12406
  • [BUGFIX] Storage: Fix crash caused by incorrect mixed samples handling. #13055
  • [BUGFIX] TSDB: Fix compactor failures by adding min time to histogram chunks. #13062

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.48.0-rc.2 / 2023-11-02

  • [ENHANCEMENT] Scraping: Add configuration option for tracking staleness of scraped timestamps. #13060
  • [BUGFIX] Storage: Fix crash caused by incorrect mixed samples handling. #13055
  • [BUGFIX] TSDB: Fix compactor failures by adding min time to histogram chunks. #13062

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.48.0-rc.1 / 2023-10-29

  • [BUGFIX] PromQL: Reduce inefficiency introduced by warnings/annotations and temporarily remove possible non-counter warnings. #13012

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.48.0-rc.0 / 2023-10-17

  • [CHANGE] Remote-write: respect Retry-After header on 5xx errors. #12677
  • [FEATURE] Alerting: Add AWS SigV4 authentication support for Alertmanager endpoints. #12774
  • [FEATURE] Promtool: Add support for histograms in the TSDB dump command. #12775
  • [FEATURE] PromQL: Add warnings (and annotations) to PromQL query results. #12152 #12982 #12988
  • [FEATURE] Remote-write: Add Azure AD OAuth authentication support for remote write requests. #12572
  • [ENHANCEMENT] Remote-write: Add a header to count retried remote write requests. #12729
  • [ENHANCEMENT] TSDB: Improve query performance by re-using iterator when moving between series. #12757
  • [ENHANCEMENT] UI: Move /targets page discovered labels to expandable section #12824
  • [ENHANCEMENT] TSDB: Optimize WBL loading by not sending empty buffers over channel. #12808
  • [ENHANCEMENT] TSDB: Reply WBL mmap markers concurrently. #12801
  • [ENHANCEMENT] Promtool: Add support for specifying series matchers in the TSDB analyze command. #12842
  • [ENHANCEMENT] PromQL: Prevent Prometheus from overallocating memory on subquery with large amount of steps. #12734
  • [ENHANCEMENT] PromQL: Add warning when monotonicity is forced in the input to histogram_quantile. #12931
  • [ENHANCEMENT] Scraping: Optimize sample appending by reducing garbage. #12939
  • [ENHANCEMENT] Storage: Reduce memory allocations in queries that merge series sets. #12938
  • [ENHANCEMENT] UI: Show group interval in rules display. #12943
  • [ENHANCEMENT] Scraping: Save memory when scraping by delaying creation of buffer. #12953
  • [ENHANCEMENT] Agent: Allow ingestion of out-of-order samples. #12897
  • [ENHANCEMENT] Promtool: Improve support for native histograms in TSDB analyze command. #12869
  • [BUGFIX] SD: Ensure that discovery managers are properly canceled. #10569
  • [BUGFIX] TSDB: Fix PostingsForMatchers race with creating new series. #12558
  • [BUGFIX] TSDB: Fix handling of explicit counter reset header in histograms. #12772
  • [BUGFIX] SD: Validate HTTP client configuration in HTTP, EC2, Azure, Uyuni, PuppetDB, and Lightsail SDs. #12762 #12811 #12812 #12815 #12814 #12816
  • [BUGFIX] TSDB: Fix counter reset edgecases causing native histogram panics. #12838
  • [BUGFIX] TSDB: Fix duplicate sample detection at chunk size limit. #12874
  • [BUGFIX] Promtool: Fix errors not being reported in check rules command. #12715
  • [BUGFIX] TSDB: Avoid panics reported in logs when head initialization takes a long time. #12876
  • [BUGFIX] TSDB: Ensure that WBL is repaired when possible. #12406

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.47.2 / 2023-10-11

This is a patch release to fix a bug, and to rebuild with Go 1.21.3.

  • [BUGFIX] TSDB: Fix counter reset edgecases causing native histogram panics. #12838

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.47.1 / 2023-10-04

This is a patch release to fix a bug, and to rebuild with Go 1.21.1.

  • [BUGFIX] Fix duplicate sample detection at chunk size limit #12874

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.45.1 / 2023-09-29

  • [ENHANCEMENT] Hetzner SD: Support larger ID's that will be used by Hetzner in September. #12619
  • [BUGFIX] Linode SD: Cast InstanceSpec values to int64 to avoid overflows on 386 architecture. #12644
  • [BUGFIX] TSDB: Handle TOC parsing failures. #12644

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.47.0 / 2023-09-06

This release adds an experimental OpenTelemetry (OTLP) Ingestion feature, and also new setting keep_dropped_targets to limit the amount of dropped targets held in memory. This defaults to 0 meaning 'no limit', so we encourage users with large Prometheus to try setting a limit such as 100.

This version is compiled with Go 1.21.0.

  • [FEATURE] Web: Add OpenTelemetry (OTLP) Ingestion endpoint. #12571 #12643
  • [FEATURE] Scraping: Optionally limit detail on dropped targets, to save memory. #12647
  • [ENHANCEMENT] TSDB: Write head chunks to disk in the background to reduce blocking. #11818
  • [ENHANCEMENT] PromQL: Speed up aggregate and function queries. #12682
  • [ENHANCEMENT] PromQL: More efficient evaluation of query with timestamp(). #12579
  • [ENHANCEMENT] API: Faster streaming of Labels to JSON. #12598
  • [ENHANCEMENT] Agent: Memory pooling optimisation. #12651
  • [ENHANCEMENT] TSDB: Prevent storage space leaks due to terminated snapshots on shutdown. #12664
  • [ENHANCEMENT] Histograms: Refactoring and optimisations. #12352 #12584 #12596 #12711 #12054
  • [ENHANCEMENT] Histograms: Add histogram_stdvar and histogram_stddev functions. #12614
  • [ENHANCEMENT] Remote-write: add http.resend_count tracing attribute. #12676
  • [ENHANCEMENT] TSDB: Support native histograms in snapshot on shutdown. #12722
  • [BUGFIX] TSDB/Agent: ensure that new series get written to WAL on rollback. #12592
  • [BUGFIX] Scraping: fix infinite loop on exemplar in protobuf format. #12737

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.47.0-rc.0 / 2023-08-25

This release adds an experimental OpenTelemetry (OTLP) Ingestion feature, and also new setting keep_dropped_targets to limit the amount of dropped targets held in memory. This defaults to 0 meaning 'no limit', so we encourage users with large Prometheus to try setting a limit such as 100.

This version is compiled with Go 1.21.0.

  • [FEATURE] Web: Add OpenTelemetry (OTLP) Ingestion endpoint. #12571 #12643
  • [FEATURE] Scraping: Optionally limit detail on dropped targets, to save memory. #12647
  • [ENHANCEMENT] TSDB: Write head chunks to disk in the background to reduce blocking. #11818
  • [ENHANCEMENT] PromQL: Speed up aggregate and function queries. #12682
  • [ENHANCEMENT] PromQL: More efficient evaluation of query with timestamp(). #12579
  • [ENHANCEMENT] API: Faster streaming of Labels to JSON. #12598
  • [ENHANCEMENT] Agent: Memory pooling optimisation. #12651
  • [ENHANCEMENT] TSDB: Prevent storage space leaks due to terminated snapshots on shutdown. #12664
  • [ENHANCEMENT] Histograms: Refactoring and optimisations. #12352 #12584 #12596 #12711 #12054
  • [ENHANCEMENT] Histograms: Add histogram_stdvar and histogram_stddev functions. #12614
  • [ENHANCEMENT] Remote-write: add http.resend_count tracing attribute. #12676
  • [ENHANCEMENT] TSDB: Support native histograms in snapshot on shutdown. #12722
  • [BUGFIX] TSDB/Agent: ensure that new series get written to WAL on rollback. #12592
  • [BUGFIX] Scraping: fix infinite loop on exemplar in protobuf format. #12737

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.37.9 / 2023-07-28

This update includes an update to the Go toolchain. It is the final release in the 2.37 LTS release cycle.

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.46.0 / 2023-07-25

  • [FEATURE] Promtool: Add PromQL format and label matcher set/delete commands to promtool. #11411
  • [FEATURE] Promtool: Add push metrics command. #12299
  • [ENHANCEMENT] Promtool: Read from stdin if no filenames are provided in check rules. #12225
  • [ENHANCEMENT] Hetzner SD: Support larger ID's that will be used by Hetzner in September. #12569
  • [ENHANCEMENT] Kubernetes SD: Add more labels for endpointslice and endpoints role. #10914
  • [ENHANCEMENT] Kubernetes SD: Do not add pods to target group if the PodIP status is not set. #11642
  • [ENHANCEMENT] OpenStack SD: Include instance image ID in labels. #12502
  • [ENHANCEMENT] Remote Write receiver: Validate the metric names and labels. #11688
  • [ENHANCEMENT] Web: Initialize prometheus_http_requests_total metrics with code label set to 200. #12472
  • [ENHANCEMENT] TSDB: Add Zstandard compression option for wlog. #11666
  • [ENHANCEMENT] TSDB: Support native histograms in snapshot on shutdown. #12258
  • [ENHANCEMENT] Labels: Avoid compiling regexes that are literal. #12434
  • [BUGFIX] Histograms: Fix parsing of float histograms without zero bucket. #12577
  • [BUGFIX] Histograms: Fix scraping native and classic histograms missing some histograms. #12554
  • [BUGFIX] Histograms: Enable ingestion of multiple exemplars per sample. 12557
  • [BUGFIX] File SD: Fix path handling in File-SD watcher to allow directory monitoring on Windows. #12488
  • [BUGFIX] Linode SD: Cast InstanceSpec values to int64 to avoid overflows on 386 architecture. #12568
  • [BUGFIX] PromQL Engine: Include query parsing in active-query tracking. #12418
  • [BUGFIX] TSDB: Handle TOC parsing failures. #10623

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.46.0-rc.0 / 2023-07-20

  • [FEATURE] Promtool: Add PromQL format and label matcher set/delete commands to promtool. #11411
  • [FEATURE] Promtool: Add push metrics command. #12299
  • [ENHANCEMENT] Promtool: Read from stdin if no filenames are provided in check rules. #12225
  • [ENHANCEMENT] Hetzner SD: Support larger ID's that will be used by Hetzner in September. #12569
  • [ENHANCEMENT] Kubernetes SD: Add more labels for endpointslice and endpoints role. #10914
  • [ENHANCEMENT] Kubernetes SD: Do not add pods to target group if the PodIP status is not set. #11642
  • [ENHANCEMENT] OpenStack SD: Include instance image ID in labels. #12502
  • [ENHANCEMENT] Remote Write receiver: Validate the metric names and labels. #11688
  • [ENHANCEMENT] Web: Initialize prometheus_http_requests_total metrics with code label set to 200. #12472
  • [ENHANCEMENT] TSDB: Add Zstandard compression option for wlog. #11666
  • [ENHANCEMENT] TSDB: Support native histograms in snapshot on shutdown. #12258
  • [BUGFIX] Histograms: Fix parsing of float histograms without zero bucket. #12577
  • [BUGFIX] Histograms: Fix scraping native and classic histograms missing some histograms. #12554
  • [BUGFIX] Histograms: Enable ingestion of multiple exemplars per sample. 12557
  • [BUGFIX] File SD: Fix path handling in File-SD watcher to allow directory monitoring on Windows. #12488
  • [BUGFIX] Linode SD: Cast InstanceSpec values to int64 to avoid overflows on 386 architecture. #12568
  • [BUGFIX] TSDB: Handle TOC parsing failures. #10623

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.45.0 / 2023-06-23

This release is a LTS (Long-Term Support) release of Prometheus and will receive security, documentation and bugfix patches for at least 12 months. Please read more about our LTS release cycle at https://prometheus.io/docs/introduction/release-cycle/.

  • [FEATURE] API: New limit parameter to limit the number of items returned by /api/v1/status/tsdb endpoint. #12336
  • [FEATURE] Config: Add limits to global config. #12126
  • [FEATURE] Consul SD: Added support for path_prefix. #12372
  • [FEATURE] Native histograms: Add option to scrape both classic and native histograms. #12350
  • [FEATURE] Native histograms: Added support for two more arithmetic operators avg_over_time and sum_over_time. #12262
  • [FEATURE] Promtool: When providing the block id, only one block will be loaded and analyzed. #12031
  • [FEATURE] Remote-write: New Azure ad configuration to support remote writing directly to Azure Monitor workspace. #11944
  • [FEATURE] TSDB: Samples per chunk are now configurable with flag storage.tsdb.samples-per-chunk. By default set to its former value 120. #12055
  • [ENHANCEMENT] Native histograms: bucket size can now be limited to avoid scrape fails. #12254
  • [ENHANCEMENT] TSDB: Dropped series are now deleted from the WAL sooner. #12297
  • [BUGFIX] Native histograms: ChunkSeries iterator now checks if a new sample can be appended to the open chunk. #12185
  • [BUGFIX] Native histograms: Fix Histogram Appender Appendable() segfault. #12357
  • [BUGFIX] Native histograms: Fix setting reset header to gauge histograms in seriesToChunkEncoder. #12329
  • [BUGFIX] TSDB: Tombstone intervals are not modified after Get() call. #12245
  • [BUGFIX] TSDB: Use path/filepath to set the WAL directory. #12349

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.45.0-rc.1 / 2023-06-20

  • [ENHANCEMENT] Reverts previous enhancement to the API Gzip Handler due to higher cpu and memory usage. #12476

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.45.0-rc.0 / 2023-06-05

This release is a LTS (Long-Term Support) release of Prometheus and will receive security, documentation and bugfix patches for at least 12 months. Please read more about our LTS release cycle at https://prometheus.io/docs/introduction/release-cycle/.

  • [FEATURE] API: New limit parameter to limit the number of items returned by /api/v1/status/tsdb endpoint. #12336
  • [FEATURE] Config: Add limits to global config. #12126
  • [FEATURE] Consul SD: Added support for path_prefix. #12372
  • [FEATURE] Native histograms: Add option to scrape both classic and native histograms. #12350
  • [FEATURE] Native histograms: Added support for two more arithmetic operators avg_over_time and sum_over_time. #12262
  • [FEATURE] Promtool: When providing the block id, only one block will be loaded and analyzed. #12031
  • [FEATURE] Remote-write: New Azure ad configuration to support remote writing directly to Azure Monitor workspace. #11944
  • [FEATURE] TSDB: Samples per chunk are now configurable with flag storage.tsdb.samples-per-chunk. By default set to its former value 120. #12055
  • [ENHANCEMENT] API: Improving Performance on the API Gzip Handler. #12363
  • [ENHANCEMENT] Native histograms: bucket size can now be limited to avoid scrape fails. #12254
  • [ENHANCEMENT] TSDB: Dropped series are now deleted from the WAL sooner. #12297
  • [BUGFIX] Native histograms: ChunkSeries iterator now checks if a new sample can be appended to the open chunk. #12185
  • [BUGFIX] Native histograms: Fix Histogram Appender Appendable() segfault. #12357
  • [BUGFIX] Native histograms: Fix setting reset header to gauge histograms in seriesToChunkEncoder. #12329
  • [BUGFIX] TSDB: Tombstone intervals are not modified after Get() call. #12245
  • [BUGFIX] TSDB: Use path/filepath to set the WAL directory. #12349

- Go
Published by prombot over 2 years ago

https://github.com/prometheus/prometheus - 2.44.0 / 2023-05-13

This version is built with Go tag stringlabels, to use the smaller data structure for Labels that was optional in the previous release. For more details about this code change see #10991.

  • [CHANGE] Remote-write: Raise default samples per send to 2,000. #12203
  • [FEATURE] Remote-read: Handle native histograms. #12085, #12192
  • [FEATURE] Promtool: Health and readiness check of prometheus server in CLI. #12096
  • [FEATURE] PromQL: Add query_samples_total metric, the total number of samples loaded by all queries. #12251
  • [ENHANCEMENT] Storage: Optimise buffer used to iterate through samples. #12326
  • [ENHANCEMENT] Scrape: Reduce memory allocations on target labels. #12084
  • [ENHANCEMENT] PromQL: Use faster heap method for topk() / bottomk(). #12190
  • [ENHANCEMENT] Rules API: Allow filtering by rule name. #12270
  • [ENHANCEMENT] Native Histograms: Various fixes and improvements. #11687, #12264, #12272
  • [ENHANCEMENT] UI: Search of scraping pools is now case-insensitive. #12207
  • [ENHANCEMENT] TSDB: Add an affirmative log message for successful WAL repair. #12135
  • [BUGFIX] TSDB: Block compaction failed when shutting down. #12179
  • [BUGFIX] TSDB: Out-of-order chunks could be ignored if the write-behind log was deleted. #12127

Images are available on Docker Hub: docker pull prom/prometheus:v2.44.0

- Go
Published by prombot almost 3 years ago

https://github.com/prometheus/prometheus - 2.44.0-rc.2 / 2023-05-07

This is a Release Candidate for Prometheus 2.44.0, with one performance optimisation and one bugfix over what was in v2.44.0-rc.1.

  • [ENHANCEMENT] Storage: Optimise buffer used to iterate through samples. #12326
  • [BUGFIX] Labels: Set after Del would be ignored, which broke some relabeling rules. #12322

This version is built with Go version 1.20.4.

- Go
Published by prombot almost 3 years ago

https://github.com/prometheus/prometheus - 2.37.8 / 2023-05-04

This update includes an update to the Go toolchain and an update to the Docker dependency.

- Go
Published by prombot almost 3 years ago

https://github.com/prometheus/prometheus - 2.43.1+stringlabels / 2023-05-04

Special release build that incorporates performance improvements using the stringlabels Go tag. This release aims to provide a more efficient and faster solution for users managing large-scale deployments or facing performance issues with the default Prometheus binaries.

The new labels data structure replaces the existing label/value storage with a single string, reducing heap size and improving performance in most cases. It enables Prometheus to use fewer system resources, particularly in memory-intensive environments.

- Go
Published by prombot almost 3 years ago

https://github.com/prometheus/prometheus - 2.43.1 / 2023-05-03

  • [BUGFIX] Labels: Set() after Del() would be ignored, which broke some relabeling rules. #12322

- Go
Published by prombot almost 3 years ago

https://github.com/prometheus/prometheus - 2.44.0-rc.1 / 2023-05-03

This is a Release Candidate for Prometheus 2.44.0, adding one bugfix over what was in v2.44.0-rc.0.

  • [BUGFIX] Labels: Set after Del would be ignored, which broke some relabeling rules. #12322

This version is built with Go version 1.20.4.

- Go
Published by prombot almost 3 years ago

https://github.com/prometheus/prometheus - 2.37.7 / 2023-04-27

  • [BUGFIX] Scrape: Fix prometheustargetscrapepooltarget_limit metric not set before reloading. #12002

- Go
Published by prombot almost 3 years ago

https://github.com/prometheus/prometheus - 2.44.0-rc.0 / 2023-04-22

This release features several performance improvements to reduce memory and CPU usage. The 'stringlabels' change to labels which was optional in v2.43 is now built as standard; for more details about this code change see #10991.

A number of improvements to the experimental Native Histograms feature are included.

  • [CHANGE] Remote-write: Raise default samples per send to 2,000. #12203
  • [FEATURE] Remote-read: Handle native histograms. #12085, #12192
  • [FEATURE] Promtool: Health and readiness check of prometheus server in CLI. #12096
  • [FEATURE] PromQL: Add query_samples_total metric, the total number of samples loaded by all queries. #12251
  • [ENHANCEMENT] Scrape: Reduce memory allocations on target labels. #12084
  • [ENHANCEMENT] PromQL: Use faster heap method for topk() / bottomk(). #12190
  • [ENHANCEMENT] Rules API: Allow filtering by rule name. #12270
  • [ENHANCEMENT] Native Histograms: Various fixes and improvements. #11687, #12264, #12272
  • [ENHANCEMENT] UI: Search of scraping pools is now case-insensitive. #12207
  • [ENHANCEMENT] TSDB: Add an affirmative log message for successful WAL repair. #12135
  • [BUGFIX] TSDB: Block compaction failed when shutting down. #12179
  • [BUGFIX] TSDB: Out-of-order chunks could be ignored if the write-behind log was deleted. #12127

This version is built with Go version 1.20.3.

- Go
Published by prombot almost 3 years ago

https://github.com/prometheus/prometheus - 2.43.0 / 2023-03-21

We are working on some performance improvements in Prometheus, which are only built into Prometheus when compiling it using the Go tag stringlabels (therefore they are not shipped in the default binaries). It uses a data structure for labels that uses a single string to hold all the label/values, resulting in a smaller heap size and some speedups in most cases. We would like to encourage users who are interested in these improvements to help us measure the gains on their production architecture. We are providing release artefacts 2.43.0+stringlabels and Docker images tagged v2.43.0-stringlabels with those improvements for testing. #10991

  • [FEATURE] Promtool: Add HTTP client configuration to query commands. #11487
  • [FEATURE] Scrape: Add scrape_config_files to include scrape configs from different files. #12019
  • [FEATURE] HTTP client: Add no_proxy to exclude URLs from proxied requests. #12098
  • [FEATURE] HTTP client: Add proxy_from_enviroment to read proxies from env variables. #12098
  • [ENHANCEMENT] API: Add support for setting lookback delta per query via the API. #12088
  • [ENHANCEMENT] API: Change HTTP status code from 503/422 to 499 if a request is canceled. #11897
  • [ENHANCEMENT] Scrape: Allow exemplars for all metric types. #11984
  • [ENHANCEMENT] TSDB: Add metrics for head chunks and WAL folders size. #12013
  • [ENHANCEMENT] TSDB: Automatically remove incorrect snapshot with index that is ahead of WAL. #11859
  • [ENHANCEMENT] TSDB: Improve Prometheus parser error outputs to be more comprehensible. #11682
  • [ENHANCEMENT] UI: Scope group by labels to metric in autocompletion. #11914
  • [BUGFIX] Scrape: Fix prometheus_target_scrape_pool_target_limit metric not set before reloading. #12002
  • [BUGFIX] TSDB: Correctly update prometheus_tsdb_head_chunks_removed_total and prometheus_tsdb_head_chunks metrics when reading WAL. #11858
  • [BUGFIX] TSDB: Use the correct unit (seconds) when recording out-of-order append deltas in the prometheus_tsdb_sample_ooo_delta metric. #12004

- Go
Published by prombot almost 3 years ago

https://github.com/prometheus/prometheus - 2.43.0+stringlabels / 2023-03-21

Special release build that incorporates performance improvements using the stringlabels Go tag. This release aims to provide a more efficient and faster solution for users managing large-scale deployments or facing performance issues with the default Prometheus binaries.

The new labels data structure replaces the existing label/value storage with a single string, reducing heap size and improving performance in most cases. It enables Prometheus to use fewer system resources, particularly in memory-intensive environments.

FAQ about stringlabels

- Go
Published by prombot almost 3 years ago

https://github.com/prometheus/prometheus - 2.43.0-rc.1+stringlabels / 2023-03-16

Experimental Special release candidate build that incorporates performance improvements using the stringlabels Go tag. This release aims to provide a more efficient and faster solution for users managing large-scale deployments or facing performance issues with the default Prometheus binaries.

The new labels data structure replaces the existing label/value storage with a single string, reducing heap size and improving performance in most cases. It enables Prometheus to use fewer system resources, particularly in memory-intensive environments.

- Go
Published by prombot almost 3 years ago

https://github.com/prometheus/prometheus - 2.43.0-rc.1 / 2023-03-16

  • [BUGFIX] Fixed a bug where changes in the Builder's Range function could lead to skipped labels during iteration (#12145)

- Go
Published by prombot almost 3 years ago

https://github.com/prometheus/prometheus - 2.43.0-rc.0 / 2023-03-09

We are working on some performance improvements in Prometheus, which are only built into Prometheus when compiling it using the Go tag stringlabels (therefore they are not shipped in the default binaries). It uses a data structure for labels that uses a single string to hold all the label/values, resulting in a smaller heap size and some speedups in most cases. We would like to encourage users who are interested in these improvements to help us measure the gains on their production architecture. Building Prometheus from source with the stringlabels Go tag and providing feedback on its effectiveness in their specific use cases would be incredibly helpful to us. #10991

  • [FEATURE] Promtool: Add HTTP client configuration to query commands. #11487
  • [FEATURE] Scrape: Add include_scrape_configs to include scrape configs from different files. #12019
  • [FEATURE] HTTP client: Add no_proxy to exclude URLs from proxied requests. #12098
  • [FEATURE] HTTP client: Add proxy_from_enviroment to read proxies from env variables. #12098
  • [ENHANCEMENT] API: Add support for setting lookback delta per query via the API. #12088
  • [ENHANCEMENT] API: Change HTTP status code from 503/422 to 499 if a request is canceled. #11897
  • [ENHANCEMENT] Scrape: Allow exemplars for all metric types. #11984
  • [ENHANCEMENT] TSDB: Add metrics for head chunks and WAL folders size. #12013
  • [ENHANCEMENT] TSDB: Automatically remove incorrect snapshot with index that is ahead of WAL. #11859
  • [ENHANCEMENT] TSDB: Improve Prometheus parser error outputs to be more comprehensible. #11682
  • [ENHANCEMENT] UI: Scope group by labels to metric in autocompletion. #11914
  • [BUGFIX] Scrape: Fix prometheus_target_scrape_pool_target_limit metric not set before reloading. #12002
  • [BUGFIX] TSDB: Correctly update prometheus_tsdb_head_chunks_removed_total and prometheus_tsdb_head_chunks metrics when reading WAL. #11858
  • [BUGFIX] TSDB: Use the correct unit (seconds) when recording out-of-order append deltas in the prometheus_tsdb_sample_ooo_delta metric. #12004

- Go
Published by prombot almost 3 years ago

https://github.com/prometheus/prometheus - 2.37.6 / 2023-02-20

This release contains a toolchain update. It is built on top of Go 1.19, as the Go 1.18 release is no longer supported upstream.

- Go
Published by prombot about 3 years ago

https://github.com/prometheus/prometheus - 2.42.0 / 2023-01-31

This release comes with a bunch of feature coverage for native histograms and breaking changes.

If you are trying native histograms already, we recommend you remove the wal directory when upgrading. Because the old WAL record for native histograms is not backward compatible in v2.42.0, this will lead to some data loss for the latest data.

Additionally, if you scrape "float histograms" or use recording rules on native histograms in v2.42.0 (which writes float histograms), it is a one-way street since older versions do not support float histograms.

  • [CHANGE] breaking TSDB: Changed WAL record format for the experimental native histograms. #11783
  • [FEATURE] Add 'keepfiringfor' field to alerting rules. #11827
  • [FEATURE] Promtool: Add support of selecting timeseries for TSDB dump. #11872
  • [ENHANCEMENT] Agent: Native histogram support. #11842
  • [ENHANCEMENT] Rules: Support native histograms in recording rules. #11838
  • [ENHANCEMENT] SD: Add container ID as a meta label for pod targets for Kubernetes. #11844
  • [ENHANCEMENT] SD: Add VM size label to azure service discovery. #11650
  • [ENHANCEMENT] Support native histograms in federation. #11830
  • [ENHANCEMENT] TSDB: Add gauge histogram support. #11783 #11840 #11814
  • [ENHANCEMENT] TSDB/Scrape: Support FloatHistogram that represents buckets as float64 values. #11522 #11817 #11716
  • [ENHANCEMENT] UI: Show individual scrape pools on /targets page. #11142

- Go
Published by prombot about 3 years ago

https://github.com/prometheus/prometheus - 2.42.0-rc.0 / 2023-01-26

  • [FEATURE] Add 'keepfiringfor' field to alerting rules. #11827
  • [FEATURE] Promtool: Add support of selecting timeseries for TSDB dump. #11872
  • [ENHANCEMENT] Agent: Native histogram support. #11842
  • [ENHANCEMENT] Histograms: Return actually useful counter reset hints. #11864
  • [ENHANCEMENT] SD: Add container ID as a meta label for pod targets for Kubernetes. #11844
  • [ENHANCEMENT] SD: Add VM size label to azure service discovery. #11650
  • [ENHANCEMENT] Support native histograms in federation. #11830
  • [ENHANCEMENT] TSDB: Add gauge histogram support. #11783 #11840
  • [ENHANCEMENT] TSDB: Support FloatHistogram. #11522 #11817
  • [ENHANCEMENT] UI: Show individual scrape pools on /targets page. #11142

- Go
Published by prombot about 3 years ago

https://github.com/prometheus/prometheus - 2.41.0 / 2022-12-20

  • [FEATURE] Relabeling: Add keepequal and dropequal relabel actions. #11564
  • [FEATURE] Add support for HTTP proxy headers. #11712
  • [ENHANCEMENT] Reload private certificates when changed on disk. #11685
  • [ENHANCEMENT] Add max_version to specify maximum TLS version in tls_config. #11685
  • [ENHANCEMENT] Add goos and goarch labels to prometheus_build_info. #11685
  • [ENHANCEMENT] SD: Add proxy support for EC2 and LightSail SDs #11611
  • [ENHANCEMENT] SD: Add new metric prometheus_sd_file_watcher_errors_total. #11066
  • [ENHANCEMENT] Remote Read: Use a pool to speed up marshalling. #11357
  • [ENHANCEMENT] TSDB: Improve handling of tombstoned chunks in iterators. #11632
  • [ENHANCEMENT] TSDB: Optimize postings offset table reading. #11535
  • [BUGFIX] Scrape: Validate the metric name, label names, and label values after relabeling. #11074
  • [BUGFIX] Remote Write receiver and rule manager: Fix error handling. #11727

- Go
Published by prombot about 3 years ago

https://github.com/prometheus/prometheus - 2.41.0-rc.0 / 2022-12-14

  • [FEATURE] Relabeling: Add keepequal and dropequal relabel actions. #11564
  • [FEATURE] Add support for HTTP proxy headers. #11712
  • [ENHANCEMENT] Reload private certificates when changed on disk. #11685
  • [ENHANCEMENT] Add max_version to specify maximum TLS version in tls_config. #11685
  • [ENHANCEMENT] Add goos and goarch labels to prometheus_build_info. #11685
  • [ENHANCEMENT] SD: Add proxy support for EC2 and LightSail SDs #11611
  • [ENHANCEMENT] SD: Add new metric prometheus_sd_file_watcher_errors_total. #11066
  • [ENHANCEMENT] Remote Read: Use a pool to speed up marshalling. #11357
  • [ENHANCEMENT] TSDB: Improve handling of tombstoned chunks in iterators. #11632
  • [ENHANCEMENT] TSDB: Optimize postings offset table reading. #11535
  • [BUGFIX] Scrape: Validate the metric name, label names, and label values after relabeling. #11074
  • [BUGFIX] Remote Write receiver and rule manager: Fix error handling. #11727

- Go
Published by prombot about 3 years ago

https://github.com/prometheus/prometheus - 2.40.7 / 2022-12-14

  • [BUGFIX] Use Windows native DNS resolver. #11704
  • [BUGFIX] TSDB: Fix queries involving negative buckets of native histograms. #11699

- Go
Published by prombot about 3 years ago