From nobody Thu Nov 14 08:44:20 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XptxK3HKJz5cLjy; Thu, 14 Nov 2024 08:44:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XptxJ4YvTz4pSj; Thu, 14 Nov 2024 08:44:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731573860; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Vadwdzvy825/HrlpIgRX0/sA7/GLzXMXvS0j/47RsY4=; b=obydK3gUZlO7ptharo/S1AlyZvJSntPGaHx0TiRjsAGwEaKBTMlJ0HvQRriTLFlLqH5g5S CZ2XZ/4WUovJnQoRmMmyVJg/0mJKf1BjFzrSlGUSiAqacux+fqdJPAa7RbuVVYGl5L0l2g g0j950qnB8pM8l8IHx7/XlePWiR6cE82rWfjE6rlCZkp7oYDDYz8fHh44tZ3dSvhpviHND Q4Xf9965UdaK9JG28zDPr5b/cc5veGwD48qQ0wH2/RBx323KQcMLzTG1Bz10ftyj0CNQh/ LjDNTvTOugtccQqQipI0qhXMU8HDQOW/YDdCfAE3q2hWPNAooqztcIebsjsIRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731573860; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Vadwdzvy825/HrlpIgRX0/sA7/GLzXMXvS0j/47RsY4=; b=a+GIMnyaWcoKIGHKEZOnaagdoyuVxGmZaWaqZ4SffXQ6GdW21Dn8VrTgjjRYM47bu2vtkc p4dO68qMLZm9EkrAgdpWTCtdQZ0hP8rHf8rKsOhg3KUcVJOsTWt4aRxLOYLQu87k2Ljbmg EUljgKABqw8dTvnyxp8KI8B/A0/byiKRfS/plbv5du7qgsVYduG9iiibi7UiokKlk4S75j G0QMPtux73GpRPoyTw79bTKTf1XU+ZdxrvRDVFHTXT/fOrExJjIvdx6sRuX+cQamxSqFZ4 cmgyVeTNjkxzULmihPLU/QXNMBwWsrc8FgnQ/hsYCylc7J/JVeFc8Ys1F7mu/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731573860; a=rsa-sha256; cv=none; b=KQu5uSXyrkzstCtDZuBCOaDIyz5ty/5J8PyvwAI2RX2uZilyF2cCm6Je24Ftc0fMSiJIAt eayO1Q+Jtnd29gekC3fZ4GaMKj8UfBqZFEdz7KseOMR5Jnug0njiiNRH6C7HupeCZ4iKev oZAZExieEPRZZwLjk082IQ+gNbFlL67ADmOK/f3lhkZyXhcOcnWOT6kv11QeMuFLAEAXpF QAM6qI5808JVdrtqUQ53/PcJWs92q2iN88sUkt/bVKMhGeN3Ru8DJpgaFZdyLtr+zGjkiw aXTFcBtsCQqSWEadM3Q236G8NVSNWDVgFWSo/zMZuDT6TMKC+jbEEVkAEggMjA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XptxJ46dpzXgm; Thu, 14 Nov 2024 08:44:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AE8iKv8020796; Thu, 14 Nov 2024 08:44:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AE8iKcx020793; Thu, 14 Nov 2024 08:44:20 GMT (envelope-from git) Date: Thu, 14 Nov 2024 08:44:20 GMT Message-Id: <202411140844.4AE8iKcx020793@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: a3b2656e2176 - main - databases/prometheus-postgres-exporter: update to 0.16.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a3b2656e217657f86fb00bca582c90b5ff42db08 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=a3b2656e217657f86fb00bca582c90b5ff42db08 commit a3b2656e217657f86fb00bca582c90b5ff42db08 Author: Lexi Winter AuthorDate: 2024-11-12 13:07:23 +0000 Commit: Robert Clausecker CommitDate: 2024-11-14 08:43:26 +0000 databases/prometheus-postgres-exporter: update to 0.16.0 - the maintainer address is updated - a new pkg-message is added to document the breaking change in the log format when upgrading the package. upstream release notes: ---o<--- BREAKING CHANGES: The logging system has been replaced with log/slog from the stdlib. This change is being made across the prometheus ecosystem. The logging output has changed, but the messages and levels remain the same. The ts label for the timestamp has bewen replaced with time, the accuracy is less, and the timezone is not forced to UTC. The caller field has been replaced by the source field, which now includes the full path to the source file. The level field now exposes the log level in capital letters. * [CHANGE] Replace logging system #1073 * [ENHANCEMENT] Add save_wal_size and wal_status to replication_slot collector #1027 * [ENHANCEMENT] Add roles collector and connection limit metrics to database collector #997 * [ENHANCEMENT] Excluded databases log messgae is now info level #1003 * [ENHANCEMENT] Add active_time to stat_database collector #961 * [ENHANCEMENT] Add slot_type label to replication_slot collector #960 * [BUGFIX] Fix walreceiver collectore when no repmgr #1086 * [BUGFIX] Remove logging errors on replicas #1048 * [BUGFIX] Fix active_time query on postgres>=14 #1045 ---o<--- PR: 255100 --- UPDATING | 15 +++++++++++++++ databases/prometheus-postgres-exporter/Makefile | 7 +++---- databases/prometheus-postgres-exporter/distinfo | 10 +++++----- .../prometheus-postgres-exporter/files/pkg-message.in | 15 +++++++++++++++ 4 files changed, 38 insertions(+), 9 deletions(-) diff --git a/UPDATING b/UPDATING index 3f1dd379d4ca..33b97a3abad5 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,21 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20241112 + AFFECTS: users of databases/prometheus-postgres-exporter + AUTHOR: lexi@hemlock.eden.le-fay.org + + BREAKING CHANGE: In postgres_exporter 0.16.0 and later, the log message format + has changed. From the upstream release notes: + + The logging system has been replaced with log/slog from the stdlib. This + change is being made across the prometheus ecosystem. The logging output has + changed, but the messages and levels remain the same. The ts label for the + timestamp has been replaced with time, the accuracy is less, and the timezone + is not forced to UTC. The caller field has been replaced by the source field, + which now includes the full path to the source file. The level field now + exposes the log level in capital letters. + 20241110 AFFECTS: users of devel/apr1 and www/apache24 AUTHOR: brnrd@FreeBSD.org diff --git a/databases/prometheus-postgres-exporter/Makefile b/databases/prometheus-postgres-exporter/Makefile index b8cccb2f848d..52a5d01831d3 100644 --- a/databases/prometheus-postgres-exporter/Makefile +++ b/databases/prometheus-postgres-exporter/Makefile @@ -1,10 +1,9 @@ PORTNAME= prometheus-postgres-exporter DISTVERSIONPREFIX= v -DISTVERSION= 0.15.0 -PORTREVISION= 3 +DISTVERSION= 0.16.0 CATEGORIES= databases -MAINTAINER= lexi.freebsd@le-fay.org +MAINTAINER= lexi@hemlock.eden.le-fay.org COMMENT= PostgreSQL metric exporter for Prometheus WWW= https://github.com/prometheus-community/postgres_exporter @@ -19,7 +18,7 @@ GO_TARGET= ./cmd/postgres_exporter:${PREFIX}/bin/postgres_exporter SUB_FILES= pkg-message PLIST_FILES= bin/postgres_exporter \ - etc/postgres_exporter.yml.sample + etc/postgres_exporter.yml.sample post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc diff --git a/databases/prometheus-postgres-exporter/distinfo b/databases/prometheus-postgres-exporter/distinfo index f0f8d8aeffb4..ab7b772f7c4f 100644 --- a/databases/prometheus-postgres-exporter/distinfo +++ b/databases/prometheus-postgres-exporter/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1708907285 -SHA256 (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.15.0/v0.15.0.mod) = 2eca3234e2449a0b04bf99c4761b5b62e6ddd6be2b9083b89837a57087fb0a59 -SIZE (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.15.0/v0.15.0.mod) = 1853 -SHA256 (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.15.0/v0.15.0.zip) = cbe281e1764b5df206eafd0ae5e5fee0b569afb3883b1502d2b1793694a53dd5 -SIZE (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.15.0/v0.15.0.zip) = 151785 +TIMESTAMP = 1731341402 +SHA256 (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.16.0/v0.16.0.mod) = e16051bb4c30828066f28f893adb575164484a0a3ac2740c089a99057e22c0b1 +SIZE (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.16.0/v0.16.0.mod) = 1805 +SHA256 (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.16.0/v0.16.0.zip) = 1246fbf68c0a81929ca97f4967dfabaab40604c216917a7073f5904e282b7d05 +SIZE (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.16.0/v0.16.0.zip) = 156127 diff --git a/databases/prometheus-postgres-exporter/files/pkg-message.in b/databases/prometheus-postgres-exporter/files/pkg-message.in index 8887b3fe3433..2a2f4e333767 100644 --- a/databases/prometheus-postgres-exporter/files/pkg-message.in +++ b/databases/prometheus-postgres-exporter/files/pkg-message.in @@ -26,4 +26,19 @@ exporter into Prometheus, refer to the documentation at: https://github.com/prometheus-community/postgres_exporter EOM } +{ type: upgrade + maximum_version: "0.16.0" + message: <