2.50.0
2.50.0 / 2024-02-22
- [CHANGE] Remote Write: Error
storage.ErrTooOldSampleis 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
analyzehistograms 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
NewPossibleNonCounterInfoannotation. #13022 - [ENHANCEMENT] Kuma SD: Extend configuration to allow users to specify client ID. #13278
- [ENHANCEMENT] PromQL: Use natural sort in
sort_by_labelandsort_by_label_desc. This is experimental. #13411 - [ENHANCEMENT] Native Histograms: support
native_histogram_min_bucket_factorin 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 ruleswith 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
- 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 inChunkOrIterabledoc 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
ratefor 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_factorin 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 ruleswith 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_timeas 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
Full Changelog: https://github.com/prometheus/prometheus/compare/v2.49.1...v2.50.0