Closed miekg closed 10 months ago
per service we can export the number of running services from podman-compose ps (count lines basically), but hard to use for alerting because we don't know how many we expect.
i'ts probably wise to capture the command begin execute, for both git and podman-compose I have access to the service name.
pgo_command_total{service=<service>, cmd=git, subcmd=bla} n
pgo_command_errors_total{service=<service>, cmd=git, subcmd=bla} n
exporting healtchecks from the docker-compose might be neat though!
this has been implemented, not the last bit though
port some of the metrics over from gitopper