aboutsummaryrefslogtreecommitdiff
path: root/prometheus_pacman_exporter (unfollow)
Commit message (Collapse)Author
11 daysfix(commands): classify command failures for retriesDennis Fink
Allow command invocations to define which child exit codes are considered successful, including checkupdates exit status 2 when no updates are available. Classify unexpected child command failures as exporter exit status 1 so systemd treats them as runtime failures eligible for retry. Keep exit status 2 for CLI usage errors, which are configuration problems and should not be retried. Update the systemd service with RestartPreventExitStatus=2 so only retryable runtime failures trigger the configured restart policy.
11 daysfeat(cli): report collected package countsDennis Fink
Add human-readable descriptions to package queries and emit each collected count when verbose output is enabled. Rename the pacman query command variable to clarify that it is reused as the base command for multiple package queries.