prometheus icon indicating copy to clipboard operation
prometheus copied to clipboard

Make notifier metrics more precise

Open rajagopalanand opened this issue 9 months ago • 2 comments

Partially fixes #16079

  • n.metrics.sent counter is incremented only when there are no errors
  • Duration is now logged in case of error

rajagopalanand avatar Mar 16 '25 18:03 rajagopalanand

@machine424 - Please take a look

rajagopalanand avatar Mar 17 '25 23:03 rajagopalanand

Thanks for this! We’re working on a refactor of the sending logic in https://github.com/prometheus/prometheus/pull/16355 which should also address some of the points raised in the issues. Let’s revisit this once that PR has been merged.

machine424 avatar Sep 30 '25 15:09 machine424