Closed dizda closed 1 year ago
Thank you for the feedback. I will try to resolve this issue in the coming days.
About the first issue, I believe I demonstrated an incorrect usage in example/server.rs where a monitor with the same label should not be added repeatedly. This would cause data to overwrite each other.
About the second issue, this is indeed a bug where the values were calculated as Counter
.
Fixed in https://github.com/Hanaasagi/tokio-metrics-collector/pull/5 and released 0.2.0. If there are any other problems, feel free to reopen this issue.
Thank you @Hanaasagi, will give it a try!
Thanks @Hanaasagi it doesn't crash anymore.
Hi there,
The provided example starts well and shows the information on the metrics page http://127.0.0.1:8000/metrics, but then panics at some point:
This is in debug release. It panics after sending many requests to /send_email
Also I've noticed that
instrumented_count
doesn't decrease for "get_user".