Subject: CVS commit: pkgsrc/databases/prometheus
From: Adam Ciarcinski
Date: 2020-07-27 16:50:19
Message id: 20200727145019.4CC3AFB28@cvs.NetBSD.org

Log Message:
prometheus: updated to 2.20.0

2.20.0 / 2020-07-22

This release changes WAL compression from opt-in to default. WAL compression \ 
will prevent a downgrade to v2.10 or earlier without deleting the WAL. Disable \ 
WAL compression explicitly by setting the command line flag \ 
--no-storage.tsdb.wal-compression if you require downgrading to v2.10 or \ 
earlier.

[CHANGE] promtool: Changed rule numbering from 0-based to 1-based when reporting \ 
rule errors.
[CHANGE] Remote read: Added prometheus_remote_storage_read_queries_total counter \ 
and prometheus_remote_storage_read_request_duration_seconds histogram, removed \ 
prometheus_remote_storage_remote_read_queries_total counter.
[CHANGE] Remote write: Added buckets for longer durations to \ 
prometheus_remote_storage_sent_batch_duration_seconds histogram.
[CHANGE] TSDB: WAL compression is enabled by default.
[FEATURE] PromQL: Added group() aggregator.
[FEATURE] SD: Added Docker Swarm SD.
[FEATURE] SD: Added DigitalOcean SD.
[FEATURE] SD: Added Openstack config option to query alternative endpoints.
[ENHANCEMENT] Configuration: Exit early on invalid config file and signal it \ 
with exit code 2.
[ENHANCEMENT] PromQL: without is now a valid metric identifier.
[ENHANCEMENT] PromQL: Optimized regex label matching for literals within the \ 
pattern or as prefix/suffix.
[ENHANCEMENT] promtool: Added time range parameters for labels API in promtool.
[ENHANCEMENT] Remote write: Include samples waiting in channel in pending \ 
samples metric. Log number of dropped samples on hard shutdown.
[ENHANCEMENT] Scrape: Ingest synthetic scrape report metrics atomically with the \ 
corresponding scraped metrics.
[ENHANCEMENT] SD: Reduce timeouts for Openstack SD.
[ENHANCEMENT] SD: Use 10m timeout for Consul watches.
[ENHANCEMENT] SD: Added AMI meta label for EC2 SD.
[ENHANCEMENT] TSDB: Increment WAL corruption metric also on WAL corruption \ 
during checkpointing.
[ENHANCEMENT] TSDB: Improved query performance for high-cardinality labels.
[ENHANCEMENT] UI: Display dates as well as timestamps in status page.
[ENHANCEMENT] UI: Improved scrolling when following hash-fragment links.
[ENHANCEMENT] UI: React UI renders numbers in alerts in a more human-readable way.
[BUGFIX] API: Fixed error status code in the query API.
[BUGFIX] PromQL: Fixed avg and avg_over_time for NaN, Inf, and float64 overflows.
[BUGFIX] PromQL: Fixed off-by-one error in histogram_quantile.
[BUGFIX] promtool: Support extended durations in rules unit tests.
[BUGFIX] Scrape: Fix undercounting for scrape_samples_post_metric_relabeling in \ 
case of errors.
[BUGFIX] TSDB: Don't panic on WAL corruptions.
[BUGFIX] TSDB: Avoid leaving behind empty files in chunks_head, causing startup \ 
failures.
[BUGFIX] TSDB: Fixed race between compact (gc, populate) and head append causing \ 
unknown symbol error.
[BUGFIX] TSDB: Fixed unknown symbol error during head compaction.
[BUGFIX] TSDB: Fixed panic during TSDB metric registration.
[BUGFIX] TSDB: Fixed --limit command line flag in tsdb tool

Files:
RevisionActionfile
1.28modifypkgsrc/databases/prometheus/Makefile
1.4modifypkgsrc/databases/prometheus/PLIST
1.16modifypkgsrc/databases/prometheus/distinfo