1
0
mirror of https://github.com/rancher/norman.git synced 2025-07-01 09:42:06 +00:00
norman/metrics
Yuki Nishiwaki 90a67b5678 Add Generic Controller Related Metrics
To enhance operatability for the service using norman framework,
It's better to expose internal state as detail as possible.
This is the just starting point but at least which handler is executed
often and which handler with which key's execution is often failed
metrics is very useful to spot the place operator have to dig in when
something happened.
So this commit added 2 metrics.
1: handler execution total count
2: handler execution failure total count
2018-10-05 14:36:58 +09:00
..
register Add Generic Controller Related Metrics 2018-10-05 14:36:58 +09:00
generic_controller.go Add Generic Controller Related Metrics 2018-10-05 14:36:58 +09:00