Page MenuHomeFreeBSD

databases/postgres_exporter: New port
Needs ReviewPublic

Authored by jbo on Sat, Apr 20, 9:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 6:36 AM
Unknown Object (File)
Sun, May 5, 7:15 AM
Unknown Object (File)
Fri, May 3, 7:33 PM
Unknown Object (File)
Wed, May 1, 3:22 AM
Unknown Object (File)
Fri, Apr 26, 1:26 AM
Unknown Object (File)
Fri, Apr 26, 1:23 AM
Unknown Object (File)
Thu, Apr 25, 6:50 PM
Unknown Object (File)
Tue, Apr 23, 8:13 PM
Subscribers
None

Details

Reviewers
tcberner
zirias
Summary

PostgreSQL metric exporter for Prometheus.

PR: 276996

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57252
Build 54140: arc lint + arc unit

Event Timeline

jbo requested review of this revision.Sat, Apr 20, 9:54 PM
jbo created this revision.

The section of the handbook you're referring to states:

If there is a very good reason not to install a working configuration file by default, only list the sample filename in pkg-plist, without the @sample followed by a space part, and add a message pointing out that the user must copy and edit the file before the software will work.

The configuration file consists pretty much only out of credentials and other user/installation specific information such as database names. The port cannot generate a working configuration file by default.
I'd argue that this is a very good reason :D

The pkg-message was has also been set:

A sample configuration file has been installed in
%%PREFIX%%/etc/postgres_exporter.yml.sample.

To use postgres_exporter, copy this config file to "postgres_exporter.yml"
and edit as needed, then enable and start the service: