e0cc523893
* api/v2: add path and method to API v2 logs When an API v2 handler logged a message, the log wouldn't include the path and method. Since different handlers perform the same validations (e.g. matchers for alerts and silences), it isn't easy to know which handler was invoked (though the logged filename + line number provides a hint). Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Capitalize messages + improve logs Signed-off-by: Simon Pasquier <spasquie@redhat.com> |
||
---|---|---|
.. | ||
metrics | ||
v1 | ||
v2 | ||
api.go |