Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/prometheus prometheus: updated to 2.20.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/994b26ac2f5b
branches:  trunk
changeset: 436111:994b26ac2f5b
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jul 27 14:50:19 2020 +0000

description:
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

diffstat:

 databases/prometheus/Makefile |   5 ++---
 databases/prometheus/PLIST    |   5 ++---
 databases/prometheus/distinfo |  10 +++++-----
 3 files changed, 9 insertions(+), 11 deletions(-)

diffs (51 lines):

diff -r 1f4752c099e4 -r 994b26ac2f5b databases/prometheus/Makefile
--- a/databases/prometheus/Makefile     Mon Jul 27 14:46:14 2020 +0000
+++ b/databases/prometheus/Makefile     Mon Jul 27 14:50:19 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2020/07/17 18:04:12 bsiegert Exp $
+# $NetBSD: Makefile,v 1.28 2020/07/27 14:50:19 adam Exp $
 
-DISTNAME=      prometheus-2.19.2
+DISTNAME=      prometheus-2.20.0
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=prometheus/}
-PKGREVISION=   1
 CATEGORIES=    databases
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 
diff -r 1f4752c099e4 -r 994b26ac2f5b databases/prometheus/PLIST
--- a/databases/prometheus/PLIST        Mon Jul 27 14:46:14 2020 +0000
+++ b/databases/prometheus/PLIST        Mon Jul 27 14:50:19 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2020/01/08 22:33:05 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/07/27 14:50:19 adam Exp $
 bin/adapter-usage
 bin/example_write_adapter
 bin/prometheus
@@ -79,9 +79,8 @@
 share/prometheus/static/vendor/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker.min.css
 share/prometheus/static/vendor/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker.min.js
 share/prometheus/static/vendor/fuzzy/fuzzy.js
-share/prometheus/static/vendor/js/jquery-3.3.1.min.js
+share/prometheus/static/vendor/js/jquery-3.5.1.min.js
 share/prometheus/static/vendor/js/jquery.hotkeys.js
-share/prometheus/static/vendor/js/jquery.min.js
 share/prometheus/static/vendor/js/jquery.selection.js
 share/prometheus/static/vendor/js/popper.min.js
 share/prometheus/static/vendor/moment/moment-timezone-with-data.min.js
diff -r 1f4752c099e4 -r 994b26ac2f5b databases/prometheus/distinfo
--- a/databases/prometheus/distinfo     Mon Jul 27 14:46:14 2020 +0000
+++ b/databases/prometheus/distinfo     Mon Jul 27 14:50:19 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.15 2020/07/10 10:59:35 adam Exp $
+$NetBSD: distinfo,v 1.16 2020/07/27 14:50:19 adam Exp $
 
-SHA1 (prometheus-2.19.2.tar.gz) = 77989d964518ff56b71ca074a13ae74a9e0db78a
-RMD160 (prometheus-2.19.2.tar.gz) = cebd2b1dbaf9f31d9f08c627e494536961ac10e5
-SHA512 (prometheus-2.19.2.tar.gz) = 6d50506118eb92e1601ec229586d1dc5572b1fd66f98267e4f01e931ea84e6536015d26018a212c1306f18309735f8184e0f60b1ec6f6837e6872e19cccee393
-Size (prometheus-2.19.2.tar.gz) = 13338606 bytes
+SHA1 (prometheus-2.20.0.tar.gz) = 1d16faec9faf46176cef9d637eefa2131e2e5b6a
+RMD160 (prometheus-2.20.0.tar.gz) = d56f87e14e3c497743e165ba7d3e8fc3df6ffec7
+SHA512 (prometheus-2.20.0.tar.gz) = ea91c493a833215a11210a4ad64fd85bd9600f758ae3cbaf506f14c7e7ab429c94aeeece89cb943f2bfaa15423646ed121a0eeec8fdcf9d7052ad3506b289f7a
+Size (prometheus-2.20.0.tar.gz) = 13766887 bytes
 SHA1 (patch-cmd_prometheus_main.go) = b3f3f8872ad19f823424009090fdf4705e7af257
 SHA1 (patch-web_ui_ui.go) = 900fd75a9b9e7bbb8aa18a3e06d9c237b94708cf



Home | Main Index | Thread Index | Old Index