Page MenuHomeFreeBSD

databases/postgres_exporter: New port
ClosedPublic

Authored by jbo on Apr 20 2024, 9:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 7, 2:45 AM
Unknown Object (File)
Fri, Jun 7, 2:45 AM
Unknown Object (File)
Fri, Jun 7, 2:45 AM
Unknown Object (File)
Wed, Jun 5, 10:32 PM
Unknown Object (File)
Mon, Jun 3, 10:00 AM
Unknown Object (File)
May 10 2024, 7:33 PM
Unknown Object (File)
May 7 2024, 6:36 AM
Unknown Object (File)
May 5 2024, 7:15 AM
Subscribers
None

Details

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.Apr 20 2024, 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:

Is there anything else keeping this from getting approved?

This revision is now accepted and ready to land.Mon, May 27, 4:45 AM
This revision was automatically updated to reflect the committed changes.