Skip to content

Releases: perforce/p4prometheus

Fix issues with not collecting replica pull metrics

10 Nov 16:39

Choose a tag to compare

Fix problem with not collecting realtime (rtv.*) metrics

02 Oct 12:45

Choose a tag to compare

Change only for p4metrics - no other binaries affected.

Don't rotate log/journal if --dry.run specified

29 Sep 11:10

Choose a tag to compare

  • Don't rotate log/journal if --dry.run specified
  • Update the p4metrics.yaml config file with new log/journal attributes if necessary
  • Only changes to p4metrics

Fix parsing of configure show values

26 Sep 18:11

Choose a tag to compare

Change for p4metrics - no change for other utilities.

p4metrics will rotate journal and logs if necessary

26 Aug 20:51

Choose a tag to compare

New features:

  • p4metrics will rotate journal and logs if necessary
  • new metrics:
  • p4_journals_rotated and p4_logs_rotated
  • p4_journal_size, p4_log_size, p4_logs_file_count
  • Create a -C/--sample.config parameter for p4metrics

The sample config has new options (which all default to blank or zero, unless you run the install_p4prom.sh):

# ----------------------
# max_journal_size: Maximum size of journal file to monitor, e.g. 10G, 0 means no limit
# Units are K/M/G/T/P (powers of 1024), e.g. 10M, 1.5G etc
# If the journal file is larger than this value it will be rotated using: p4 admin journal
# This is useful to avoid sudden large journal growth causing disk space issues (often a sign of automation problems).
# Note that this is only actioned if the p4d server is a "standard" or "commit-server" (so no replicas or edge servers).
# The system will only rotate the journal if the user is a super user and the journalPrefix volume has sufficient free space.
# Leave blank or set to 0 to disable (see max_journal_percent below for alternative).
max_journal_size:

# ----------------------
# max_journal_percent: Maximum size of journal as percentage of total P4LOGS disk space, e.g. 40, 0 means no limit
# Values are integers 0-99
# Volume information is read using: p4 diskspace
# If the journal file is larger than this percentage value it will be rotated using: p4 admin journal
# This is useful to avoid sudden large journal growth causing disk space issues (often a sign of automation problems).
# Note that this is only actioned if the p4d server is a "standard" or "commit-server" (so no replicas or edge servers).
# The system will only rotate the journal if the journalPrefix volume has sufficient free space.
# Leave blank or set to 0 to disable (see max_journal_size above for alternative).
max_journal_percent: 	30

# ----------------------
# max_log_size: Maximum size of P4LOG file to monitor - similar to max_journal_size above
# Units are K/M/G/T/P (powers of 1024), e.g. 10M, 1.5G etc
# If the log file is larger than this value it will be rotated and compressed (using rename + gzip)
max_log_size:

# ----------------------
# max_log_percent: Maximum size of log as percentage of total P4LOGS disk space, e.g. 40, 0 means no limit
# Values are integers 0-99
# Volume information is read using: p4 diskspace
# If the log file is larger than this percentage value it will be rotated and compressed (using rename + gzip)
max_log_percent: 		30

ALPHA!! Release of p4logtail and p4plogtail only

30 Jun 15:32

Choose a tag to compare

Partial binary release only.
New additional utilities to parse p4d and p4p logs and produce JSON output - in realtime, tailing logs.

This DOES NOT INCLUDE (OR REPLACE!) p4prometheus and other binaries... - see previous (Release v0.9.8) to download latest of those!

Make p4metrics not stop when there are p4d server errors

06 Jun 16:25

Choose a tag to compare

Fix issue #87
Tweak non-SDP installer for monitor_locks systemd timer
No changes to p4prometheus

Add swarm_url config option for p4metrics

02 May 09:31

Choose a tag to compare

Useful when the URL to use on the server is not the same as in p4 property for users - e.g. when VPN is in use

Update log parser to v0.14.1

16 Apr 13:00

Choose a tag to compare

Addresses issues with large numbers of failed authentication errors in the log.
Updated to go1.24
Updated various other lib dependencies

Fix issues with Swarm error detection

11 Apr 17:44

Choose a tag to compare

Update with new version of p4metrics and installer scripts which remove crontab entries if necessary