http: add syslogng_output_http_request_status_codes_total metric#4805
http: add syslogng_output_http_request_status_codes_total metric#4805MrAnno merged 2 commits intosyslog-ng:masterfrom
syslogng_output_http_request_status_codes_total metric#4805Conversation
024b295 to
67e04fd
Compare
Signed-off-by: Attila Szakacs <[email protected]>
|
Maybe a better name would be "output_http_requests_total". Putting "status_code" in the key is redundant. |
|
If we insist on "requests" as they might be more intuitive, then I think the label name should be reconsidered: The hard-coded label array and indexes are not the best, but I guess we don't want to complicate the key builder class with cheaper methods that can update labels, and "borrow" the key instead of constructing it again and again. |
Signed-off-by: Attila Szakacs <[email protected]>
67e04fd to
d4aa5eb
Compare
Signed-off-by: Attila Szakacs <[email protected]>
d4aa5eb to
9c43d84
Compare
|
Thanks! I have updated the name and the labels, as we decided with the others IRL. |
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
9c43d84 to
673ec1f
Compare
MrAnno
left a comment
There was a problem hiding this comment.
It looks very good. Thanks!
Example metrics: