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 ofclient_golang
(this will change for the final release when v1.14.0 of client_golang will be out), and set theNativeHistogramBucketFactor
in yourHistogramOpts
(1.1
is a good starting point). Your existing histograms won't switch to native histograms untilNativeHistogramBucketFactor
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. Addspartition
config inconsul_sd_config
. #11482 - ๐ [BUGFIX] API: Fix API error codes for
/api/v1/labels
and/api/v1/series
. #11356
- [FEATURE] Add experimental support for native histograms. Enable with the flag
-
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 aHEAD
request on top of existingGET
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
- [FEATURE] experimental TSDB: Add support for ingesting out-of-order samples. This is configured via
-
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 Gotime.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 oftype="unknown"
for exemplar records. #11008 - ๐ [BUGFIX]: TSDB: Fix race condition around allocating series IDs during chunk snapshot loading. #11099
- ๐ [FEATURE]: Web: Add a
-
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