Page MenuHomeFreeBSD

net-mgmt/pushgateway: Update to 0.10.0
ClosedPublic

Authored by rhurlin on Nov 10 2020, 6:31 PM.
Tags
None
Referenced Files
F164244434: D27165.diff
Thu, Jul 30, 1:26 AM
Unknown Object (File)
Mon, Jul 27, 4:26 AM
Unknown Object (File)
Sun, Jul 26, 9:19 AM
Unknown Object (File)
Sat, Jul 25, 2:18 AM
Unknown Object (File)
Wed, Jul 22, 10:55 PM
Unknown Object (File)
Tue, Jul 21, 12:40 PM
Unknown Object (File)
Sat, Jul 18, 9:38 AM
Unknown Object (File)
Thu, Jul 9, 11:37 PM
Subscribers

Details

Summary
IMPORTANT: This release changes the storage format. v0.10 can read the storage format of v0.5–v0.9. It will then persist the new format so that a downgrade won't be possible anymo[1].

Other changes and bug fixes are:

  • Check pushed metrics immediately and reject them if inconsistent. Successful pushes now result in code 200 (not 202). Failures result in code 400 and are logged at error level.
  • Shutdown via HTTP request. Enable with --web.enable-lifecycle.
  • Wipe storage completely via HTTP request and via web UI. Enable with --web.enable-admin-api.
  • Rule out hash collisions between metric groups.
  • Avoid multiple calls of http.Error in push handler.

[1] https://github.com/prometheus/pushgateway/releases/tag/v0.10.0

The port also

  • moves the one liner pkg-plist to PLIST_FILES and
  • changes maintainership to submitter.

Submitted by Gabriel Dutra <0xdutra@gmail.com> (new maintainer) in PR 250587.

Tested on Poudriere (amd64, i386). 'portlint -AC' is ok.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 34727
Build 31784: arc lint + arc unit