All Versions
178
Latest Version
Avg Release Cycle
18 days
Latest Release
520 days ago

Changelog History
Page 1

  • v2.40.4 Changes

    November 29, 2022
    • ๐Ÿ”’ [SECURITY] Fix basic authentication bypass vulnerability (CVE-2022-46146). GHSA-4v48-4q5m-8vx4
  • v2.40.3 Changes

    November 23, 2022
    • ๐Ÿ›  [BUGFIX] TSDB: Fix compaction after a deletion is called. #11623
  • v2.40.2 Changes

    November 16, 2022
    • ๐Ÿ›  [BUGFIX] UI: Fix black-on-black metric name color in dark mode. #11572
  • v2.40.1 Changes

    November 09, 2022
    • ๐Ÿ›  [BUGFIX] TSDB: Fix alignment for atomic int64 for 32 bit architecture. #11547
    • ๐Ÿ›  [BUGFIX] Scrape: Fix accept headers. #11552
  • v2.40.0 Changes

    November 08, 2022

    ๐Ÿš€ This release introduces an experimental, native way of representing and storing histograms.

    It can be enabled in Prometheus via --enable-feature=native-histograms to accept native histograms. Enabling native histograms will also switch the preferred exposition format to protobuf.

    ๐Ÿš€ To instrument your application with native histograms, use the main branch of client_golang (this will change for the final release when v1.14.0 of client_golang will be out), and set the NativeHistogramBucketFactor in your HistogramOpts (1.1 is a good starting point). Your existing histograms won't switch to native histograms until NativeHistogramBucketFactor is set.

    • [FEATURE] Add experimental support for native histograms. Enable with the flag --enable-feature=native-histograms. #11447
    • [FEATURE] SD: Add service discovery for OVHcloud. #10802
    • [ENHANCEMENT] Kubernetes SD: Use protobuf encoding. #11353
    • [ENHANCEMENT] TSDB: Use golang.org/x/exp/slices for improved sorting speed. #11054 #11318 #11380
    • [ENHANCEMENT] Consul SD: Add enterprise admin partitions. Adds __meta_consul_partition label. Adds partition config in consul_sd_config. #11482
    • ๐Ÿ›  [BUGFIX] API: Fix API error codes for /api/v1/labels and /api/v1/series. #11356
  • v2.39.2 Changes

    November 09, 2022
    • ๐Ÿ›  [BUGFIX] TSDB: Fix alignment for atomic int64 for 32 bit architecture. #11547
  • v2.39.1 Changes

    October 07, 2022
    • ๐Ÿ›  [BUGFIX] Rules: Fix notifier relabel changing the labels on active alerts. #11427
  • v2.39.0 Changes

    October 05, 2022
    • [FEATURE] experimental TSDB: Add support for ingesting out-of-order samples. This is configured via out_of_order_time_window field in the config file; check config file docs for more info. #11075
    • ๐Ÿ‘ [ENHANCEMENT] API: /-/healthy and /-/ready API calls now also respond to a HEAD request on top of existing GET support. #11160
    • [ENHANCEMENT] PuppetDB SD: Add __meta_puppetdb_query label. #11238
    • [ENHANCEMENT] AWS EC2 SD: Add __meta_ec2_region label. #11326
    • [ENHANCEMENT] AWS Lightsail SD: Add __meta_lightsail_region label. #11326
    • [ENHANCEMENT] Scrape: Optimise relabeling by re-using memory. #11147
    • [ENHANCEMENT] TSDB: Improve WAL replay timings. #10973 #11307 #11319
    • [ENHANCEMENT] TSDB: Optimise memory by not storing unnecessary data in the memory. #11280 #11288 #11296
    • 0๏ธโƒฃ [ENHANCEMENT] TSDB: Allow overlapping blocks by default. --storage.tsdb.allow-overlapping-blocks now has no effect. #11331
    • ๐Ÿ’ป [ENHANCEMENT] UI: Click to copy label-value pair from query result to clipboard. #11229
    • ๐Ÿ›  [BUGFIX] TSDB: Turn off isolation for Head compaction to fix a memory leak. #11317
    • ๐Ÿ›  [BUGFIX] TSDB: Fix 'invalid magic number 0' error on Prometheus startup. #11338
    • ๐Ÿ›  [BUGFIX] PromQL: Properly close file descriptor when logging unfinished queries. #11148
    • ๐Ÿ›  [BUGFIX] Agent: Fix validation of flag options and prevent WAL from growing more than desired. #9876
  • v2.38.0 Changes

    August 16, 2022
    • ๐ŸŒ [FEATURE]: Web: Add a /api/v1/format_query HTTP API endpoint that allows pretty-formatting PromQL expressions. #11036 #10544 #11005
    • ๐Ÿ’ป [FEATURE]: UI: Add support for formatting PromQL expressions in the UI. #11039
    • ๐Ÿ‘ [FEATURE]: DNS SD: Support MX records for discovering targets. #10099
    • [FEATURE]: Templates: Add toTime() template function that allows converting sample timestamps to Go time.Time values. #10993
    • [ENHANCEMENT]: Kubernetes SD: Add __meta_kubernetes_service_port_number meta label indicating the service port number. #11002 #11053
    • [ENHANCEMENT]: Kubernetes SD: Add __meta_kubernetes_pod_container_image meta label indicating the container image. #11034 #11146
    • ๐ŸŒฒ [ENHANCEMENT]: PromQL: When a query panics, also log the query itself alongside the panic message. #10995
    • ๐Ÿ’ป [ENHANCEMENT]: UI: Tweak colors in the dark theme to improve the contrast ratio. #11068
    • ๐ŸŒ [ENHANCEMENT]: Web: Speed up calls to /api/v1/rules by avoiding locks and using atomic types instead. #10858
    • ๐Ÿšš [ENHANCEMENT]: Scrape: Add a no-default-scrape-port feature flag, which omits or removes any default HTTP (:80) or HTTPS (:443) ports in the target's scrape address. #9523
    • ๐Ÿ›  [BUGFIX]: TSDB: In the WAL watcher metrics, expose the type="exemplar" label instead of type="unknown" for exemplar records. #11008
    • ๐Ÿ›  [BUGFIX]: TSDB: Fix race condition around allocating series IDs during chunk snapshot loading. #11099
  • v2.37.0 Changes

    July 14, 2022

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

    Following data loss by users due to lack of unified buffer cache in OpenBSD, we ๐Ÿš€ will no longer release Prometheus upstream for OpenBSD until a proper solution is found. #8799

    • [FEATURE] Nomad SD: New service discovery for Nomad built-in service discovery. #10915
    • [ENHANCEMENT] Kubernetes SD: Allow attaching node labels for endpoint role. #10759
    • [ENHANCEMENT] PromQL: Optimise creation of signature with/without labels. #10667
    • [ENHANCEMENT] TSDB: Memory optimizations. #10873 #10874
    • [ENHANCEMENT] TSDB: Reduce sleep time when reading WAL. #10859 #10878
    • [ENHANCEMENT] OAuth2: Add appropriate timeouts and User-Agent header. #11020
    • ๐Ÿ›  [BUGFIX] Alerting: Fix Alertmanager targets not being updated when alerts were queued. #10948
    • ๐Ÿ›  [BUGFIX] Hetzner SD: Make authentication files relative to Prometheus config file. #10813
    • ๐Ÿ›  [BUGFIX] Promtool: Fix promtool check config not erroring properly on failures. #10952
    • ๐Ÿ›  [BUGFIX] Scrape: Keep relabeled scrape interval and timeout on reloads. #10916
    • [BUGFIX] TSDB: Don't increment prometheus_tsdb_compactions_failed_total when context is canceled. #10772
    • ๐Ÿ›  [BUGFIX] TSDB: Fix panic if series is not found when deleting series. #10907
    • [BUGFIX] TSDB: Increase prometheus_tsdb_mmap_chunk_corruptions_total on out of sequence errors. #10406
    • ๐Ÿ›  [BUGFIX] Uyuni SD: Make authentication files relative to Prometheus configuration file and fix default configuration values. #10813