mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
a3b2656e21
- 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
29 lines
776 B
Makefile
29 lines
776 B
Makefile
PORTNAME= prometheus-postgres-exporter
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.16.0
|
|
CATEGORIES= databases
|
|
|
|
MAINTAINER= lexi@hemlock.eden.le-fay.org
|
|
COMMENT= PostgreSQL metric exporter for Prometheus
|
|
WWW= https://github.com/prometheus-community/postgres_exporter
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= go:modules
|
|
USE_RC_SUBR= postgres_exporter
|
|
GO_MODULE= github.com/prometheus-community/postgres_exporter
|
|
GO_TARGET= ./cmd/postgres_exporter:${PREFIX}/bin/postgres_exporter
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PLIST_FILES= bin/postgres_exporter \
|
|
etc/postgres_exporter.yml.sample
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc
|
|
${INSTALL_DATA} ${PATCHDIR}/postgres_exporter.yml.sample \
|
|
${STAGEDIR}${PREFIX}/etc/postgres_exporter.yml.sample
|
|
|
|
.include <bsd.port.mk>
|