You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f9ad729 feat: [#1445] add logs for metrics initialization (Jose Celano)
ad782eb refactor: [#1445] rename metric label (Jose Celano)
482a1be feat: [#1445] add request kind label to total errors metric (Jose Celano)
13ea091 feat: [#1445] add logs to the event listener's initialization (Jose Celano)
2ccb247 refactor: [#1445] return errors instead of panicking in the SampleCollection struct (Jose Celano)
42e1524 refactor: [#1445] return errors instead of panicking in the MetricCollection struct (Jose Celano)
785a978 refactor: [#1445] remove panic from MetricColelction::new method (Jose Celano)
d263be7 refactor: [#1445] return optionals for metric values in metric collection (Jose Celano)
4d68267 refactor: [#1445] replace metric label name constructor by macro (Jose Celano)
7a24f85 refactor: [#1445] new macro to create metric label names (Jose Celano)
5497970 refactor: [#1445] replace metric name constructor by macro (Jose Celano)
fc14a81 refactor: [#1445] new macro to create metric names (Jose Celano)
Pull request description:
Refactor metrics (part 1)
### Subtasks
- [x] Extract macro for metric name constructor (to fail at compilation time with empty names)
- [x] Replace metric name constructor by new macro
- [x] Extract macro for label name constructor (to fail at compilation time with empty names)
- [x] Replace label name constructor by new macro
- [x] Return an optional in `get_counter_value` and `get_gauge_value`.
- [x] Return errors instead of panicking in the `MetricCollection` struct.
- [x] Add logs to the listener's initialization (when it starts and finishes).
- [x] Add req kind label to the number of errors metric.
- [x] Add `tracing` crate.
ACKs for top commit:
josecelano:
ACK f9ad729
Tree-SHA512: 38abbc070a7f3aa0134295667430fa8d7ce90294ae872699786f973d8c790c908a00ed4c5506253dbccd7ae5990c76fd92d187ff935a0806e84909d2e7b64b50
0 commit comments