PR28242: debuginfod prometheus metric widening
authorDi Chen <dichen@redhat.com>
Wed, 6 Oct 2021 21:04:08 +0000 (17:04 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 6 Oct 2021 21:04:22 +0000 (17:04 -0400)
commit260a3105cc0e378882110ba787cd58815183c454
tree56c7433082cff4a167e62e77c0e685440435011f
parent2e57301be1bbb9c34f8a59122ab500de46eb7acb
PR28242: debuginfod prometheus metric widening

This patch aims to extend http_responses_* metrics with another label
"type" by getting the extra artifact-type content added as a new
key=value tag.

v2, tweaked patch to perform artifact-type sanitization at point of
vulnerability rather than in general metric tabulation logic.

Signed-off-by: Di Chen <dichen@redhat.com>
Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
debuginfod/ChangeLog
debuginfod/debuginfod.cxx
tests/ChangeLog
tests/run-debuginfod-000-permission.sh