Thu Dec 10 16:35:24 2020 UTC ()
prometheus: updated to 2.23.0

2.23.0:
[CHANGE] UI: Make the React UI default.
[CHANGE] Remote write: The following metrics were removed/renamed in remote write.
prometheus_remote_storage_succeeded_samples_total was removed and prometheus_remote_storage_samples_total was introduced for all the samples attempted to send.
prometheus_remote_storage_sent_bytes_total was removed and replaced with prometheus_remote_storage_samples_bytes_total and prometheus_remote_storage_metadata_bytes_total.
prometheus_remote_storage_failed_samples_total -> prometheus_remote_storage_samples_failed_total .
prometheus_remote_storage_retried_samples_total -> prometheus_remote_storage_samples_retried_total.
prometheus_remote_storage_dropped_samples_total -> prometheus_remote_storage_samples_dropped_total.
prometheus_remote_storage_pending_samples -> prometheus_remote_storage_samples_pending.
[CHANGE] Remote: Do not collect non-initialized timestamp metrics.
[FEATURE] [EXPERIMENTAL] Remote write: Allow metric metadata to be propagated via remote write. The following new metrics were introduced: prometheus_remote_storage_metadata_total, prometheus_remote_storage_metadata_failed_total, prometheus_remote_storage_metadata_retried_total, prometheus_remote_storage_metadata_bytes_total.
[ENHANCEMENT] Remote write: Added a metric prometheus_remote_storage_max_samples_per_send for remote write.
[ENHANCEMENT] TSDB: Make the snapshot directory name always the same length.
[ENHANCEMENT] TSDB: Create a checkpoint only once at the end of all head compactions.
[ENHANCEMENT] TSDB: Avoid Series API from hitting the chunks.
[ENHANCEMENT] TSDB: Cache label name and last value when adding series during compactions making compactions faster.
[ENHANCEMENT] PromQL: Improved performance of Hash method making queries a bit faster.
[ENHANCEMENT] promtool: tsdb list now prints block sizes.
[ENHANCEMENT] promtool: Calculate mint and maxt per test avoiding unnecessary calculations.
[ENHANCEMENT] SD: Add filtering of services to Docker Swarm SD.
[BUGFIX] React UI: Fix button display when there are no panels.
[BUGFIX] PromQL: Fix timestamp() method for vector selector inside parenthesis.
[BUGFIX] PromQL: Don't include rendered expression on PromQL parse errors.
[BUGFIX] web: Fix panic with double close() of channel on calling /-/quit/.
[BUGFIX] TSDB: Fixed WAL corruption on partial writes within a page causing invalid checksum error on WAL replay.
[BUGFIX] Update config metrics prometheus_config_last_reload_successful and prometheus_config_last_reload_success_timestamp_seconds right after initial validation before starting TSDB.
[BUGFIX] promtool: Correctly detect duplicate label names in exposition.


(adam)
diff -r1.40 -r1.41 pkgsrc/databases/prometheus/Makefile
diff -r1.21 -r1.22 pkgsrc/databases/prometheus/distinfo

cvs diff -r1.40 -r1.41 pkgsrc/databases/prometheus/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/prometheus/Makefile 2020/11/17 11:21:19 1.40
+++ pkgsrc/databases/prometheus/Makefile 2020/12/10 16:35:24 1.41
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.40 2020/11/17 11:21:19 adam Exp $ 1# $NetBSD: Makefile,v 1.41 2020/12/10 16:35:24 adam Exp $
2 2
3DISTNAME= prometheus-2.22.2 3DISTNAME= prometheus-2.23.0
4MASTER_SITES= ${MASTER_SITE_GITHUB:=prometheus/} 4MASTER_SITES= ${MASTER_SITE_GITHUB:=prometheus/}
5CATEGORIES= databases 5CATEGORIES= databases
6GITHUB_TAG= v${PKGVERSION_NOREV} 6GITHUB_TAG= v${PKGVERSION_NOREV}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://prometheus.io/ 9HOMEPAGE= https://prometheus.io/
10COMMENT= The Prometheus monitoring system and time series database 10COMMENT= The Prometheus monitoring system and time series database
11LICENSE= apache-2.0 11LICENSE= apache-2.0
12 12
13GO_DIST_BASE= ${DISTNAME} 13GO_DIST_BASE= ${DISTNAME}
14GO_SRCPATH= github.com/prometheus/prometheus 14GO_SRCPATH= github.com/prometheus/prometheus
15 15
16PKG_SYSCONFSUBDIR= prometheus 16PKG_SYSCONFSUBDIR= prometheus

cvs diff -r1.21 -r1.22 pkgsrc/databases/prometheus/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/prometheus/distinfo 2020/11/17 08:47:52 1.21
+++ pkgsrc/databases/prometheus/distinfo 2020/12/10 16:35:24 1.22
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.21 2020/11/17 08:47:52 adam Exp $ 1$NetBSD: distinfo,v 1.22 2020/12/10 16:35:24 adam Exp $
2 2
3SHA1 (prometheus-2.22.2.tar.gz) = 7a83196f2e2ea8d981cf3b4f37cdb3822d63d68f 3SHA1 (prometheus-2.23.0.tar.gz) = c3b38b45f0496fe7b44d6b45c51586d977fbb24c
4RMD160 (prometheus-2.22.2.tar.gz) = 52d8fa88081d256b1bcbbc5262a1dcc97fbd7adf 4RMD160 (prometheus-2.23.0.tar.gz) = 1839944d9607f3b046eee995381e1dee64220747
5SHA512 (prometheus-2.22.2.tar.gz) = b94ceaf87c02152fffc7da9c28d28b773ec35f8ecc31fb03e0a1fdfcb7c2925c119f3e4b6dd92460952503fd34ae7ce355a9797d78341f8b6fe0176cfc3d614a 5SHA512 (prometheus-2.23.0.tar.gz) = cac78a69db38efc112bf6415623ba6b59c259d4e77c29f4e3d98df3d0aebf701f245a08f327b1ca3336fb72a1da3ef4c86c322831de2f095c342d67b111f7d6d
6Size (prometheus-2.22.2.tar.gz) = 14138699 bytes 6Size (prometheus-2.23.0.tar.gz) = 14470328 bytes
7SHA1 (patch-cmd_prometheus_main.go) = b3f3f8872ad19f823424009090fdf4705e7af257 7SHA1 (patch-cmd_prometheus_main.go) = b3f3f8872ad19f823424009090fdf4705e7af257
8SHA1 (patch-web_ui_ui.go) = 900fd75a9b9e7bbb8aa18a3e06d9c237b94708cf 8SHA1 (patch-web_ui_ui.go) = 900fd75a9b9e7bbb8aa18a3e06d9c237b94708cf