elwinar / rcoredump

Remote indexation tools for coredump

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prometheus metrics

beorn- opened this issue · comments

To allow admins to alert on crash dumps with meaningful alerts please add a new metric on rcoredumpd:

  • per criterium or per criteria expose metric (tag with hostname, binary, hash/version)
  • crash count

I've added prometheus tooling, with a metric for the number of received crashes. For now it has two tags, hostname and executable (the full path of the binary as reported by the kernel).

I'm not sure the binary hash as a tag is really pertinent, so I'll delay it for now until I actually do a hashing system to save up on space for the binaries.