Releases: prometheus/prometheus
Releases · prometheus/prometheus
2.45.2 / 2023-12-19
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: - [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
andscrape_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 #12936
- Added ability to specify scrape protocols to accept during HTTP content type negotiation. by @bwplotka in #12738
- Fix int32 overflow issues by @krajorama in #12978
- Add the OpenSSF Scorecard GitHub Action by @pnacht in #12990
- Promtool: Fix/clarify documentation for axn notation. by @jdellithorpe-db in #12868
- Fix NaN checks in [Float]Histogram.Equals method by @linasm in #12891
- Merge release-2.48 back into main by @beorn7 in #12994
- promql(histograms): Change sample total calculation for histograms by @marctc in #12609
- Parse created timestamps from Prometheus Protobuf by @ArthurSens in #12973
- Very minor refactor of the integer overflow fix by @zenador in #13007
- prompb: Clarify things around optional fields in proto3 and gogo-protobuf by @beorn7 in #13008
- native-histograms: Fixed PrometheusProto scrape format preference. by @bwplotka in #13010
- promtool: Set test group interval default to evaluation interval by @rgroothuijsen in #13011
- Bump prometheus common to v0.45.0 by @YannickTeKulve in #13003
- ui: Pass unexpected boot errors to StartingContent component by @gillesdemey in #13016
- Refactor
rules/manager.go
into separate concerns by @dannykopping in #13014 - TSDB: Pre-size buffer to read samples from WAL by @bboreham in #12997
- Expose --storage.tsdb.retention.time in metric prometheus_tsdb_retention_limit_seconds by @msscaroso in #12986
- Metrics in the "scrape" package can now be registered with a non-default registry by @ptodev in #12958
- Hide position info for warnings when position is unknown by @zenador in #13031
- Build: remove -a from build to speed up rebuilds by @bboreham in #13026
- Make it possible to unwrap annotation error by @zenador in #13039
- Adding a query parameter to filter out active alerts by @rajagopalanand in #12999
- Exclude alerts: improve documentation by @roidelapluie in #13046
- PromQL: reduce garbage in range-query evaluation by @bboreham in #13043
- storage: use Go standard errors package by @mmorel-35 in #12935
- ci(lint): enable nolintlint and remove redundant comments by @alexandear in #12926
- discovery: use Go standard errors package by @mmorel-35 in #12918
- build(deps): bump actions/checkout from 3.0.0 to 4.1.0 by @dependabot in #12917
- build(deps): bump github/codeql-action from 1.0.26 to 2.21.9 by @dependabot in #12915
- Merge release-2.48 back into main by @beorn7 in #13057
- Include trace ID in log lines emitted during rule evaluation by @charleskorn in #13034
- Fix issue where
chainSampleIterator
can obscure errors by @charleskorn in #13006 - Assign new code owners for prometheus-mixin by @metalmatze in #13036
- ci(lint): enable godot; append dot at the end of comments by @alexandear in #12928
- Native histograms vs labels by @krajorama in #13005
- scrape: use Go standard errors package by @mmorel-35 in #12923
- Export
promql.FindMinMaxTime
by @dimitarvdimitrov in #13085 - build(deps): bump the go-opentelemetry-io group with 2 updates by @dependabot in #13077
- build(deps): bump github.com/prometheus/common from 0.44.0 to 0.45.0 in /documentation/examples/remote_storage by @dependabot in #13069
- Merge release-2.48 back into main by @beorn7 in #13089
- build(deps): bump github.com/linode/linodego from 1.23.0 to 1.24.0 by @dependabot in #13078
- Histogram performance: optimize floatBucketIterator by @linasm in #12954
- build(deps): bump the k8s-io group with 2 updates by @dependabot in #13076
- build(deps): bump github/codeql-action from 2.21.9 to 2.22.5 by @dependabot in #13071
- build(deps): bump actions/checkout from 4.1.0 to 4.1.1 in /scripts by @dependabot in #13081
- build(deps): bump github.com/klauspost/compress from 1.17.1 to 1.17.2 by @dependabot in #13080
- mixin: Use url filter on Remote Write dashboard by @ncauchois in #10721
- ValidateHistogram: strict Count check in absence of NaNs by @linasm in #12977
- Improve sensitivity of TestQuerierIndexQueriesRace by @dimitarvdimitrov in #12881
- util: use Go standard errors package by @mmorel-35 in #13091
- build(deps): bump actions/checkout from 4.1.0 to 4.1.1 by @dependabot in #13072
- build(deps): bump ossf/scorecard-a...
2.48.1 / 2023-12-08
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
2.48.0-rc.2 / 2023-11-02
2.48.0-rc.1 / 2023-10-29
- [BUGFIX] PromQL: Reduce inefficiency introduced by warnings/annotations and temporarily remove possible non-counter warnings. #13012
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
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
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