Subject: CVS commit: pkgsrc/databases/prometheus
From: Adam Ciarcinski
Date: 2022-12-06 17:26:40
Message id: 20221206162640.E2153FA90@cvs.NetBSD.org

Log Message:
prometheus: updated to 2.40.5

2.40.5 / 2022-12-01
[BUGFIX] TSDB: Fix queries involving native histograms due to improper reset of \ 
iterators.

2.40.4 / 2022-11-29
[SECURITY] Fix basic authentication bypass vulnerability (CVE-2022-46146).

2.40.3 / 2022-11-23
[BUGFIX] TSDB: Fix compaction after a deletion is called.

2.40.2 / 2022-11-16
[BUGFIX] UI: Fix black-on-black metric name color in dark mode.

2.40.1 / 2022-11-09
[BUGFIX] TSDB: Fix alignment for atomic int64 for 32 bit architecture.
[BUGFIX] Scrape: Fix accept headers.

2.40.0 / 2022-11-08
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 v1.14.0 or later \ 
of client_golang 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.
[FEATURE] SD: Add service discovery for OVHcloud.
[ENHANCEMENT] Kubernetes SD: Use protobuf encoding.
[ENHANCEMENT] TSDB: Use golang.org/x/exp/slices for improved sorting speed.
[ENHANCEMENT] Consul SD: Add enterprise admin partitions. Adds \ 
__meta_consul_partition label. Adds partition config in consul_sd_config.
[BUGFIX] API: Fix API error codes for /api/v1/labels and /api/v1/series.

Files:
RevisionActionfile
1.76modifypkgsrc/databases/prometheus/Makefile
1.16modifypkgsrc/databases/prometheus/PLIST
1.35modifypkgsrc/databases/prometheus/distinfo
1.8modifypkgsrc/databases/prometheus/go-modules.mk