-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add execution measurement metrics to FilterChain
#262
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewing only Prom/metric related things, as I don't know Rust yet :)
will the metric names have a prefix? otherwise we should add one, see: https://prometheus.io/docs/practices/naming/#metric-names
@jahrlin Thank you for the review! I'm very new to using prometheus so any pointers are appreciated. 😄 |
20d10ef
to
34fd6bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
metrics part LGTM!
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2be1362
to
11976cc
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2c96087
to
aa3de69
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
37f9475
to
3cf0d77
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left some comments on the filter metrics documentation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Build Succeeded 🥳 Build Id: b91f91ae-f1f0-416b-855a-4b736bda6612 To build this version:
|
This PR adds a measure filter that accepts any filter and measure each of its operations. Since this is the first nested filter there were a couple of other changes needed.
quilkin
as a library.FilterRegistry
is nowArc<RwLock<HashMap<K, RwLock<V>>
to make it concurrent safe and cheaply clone-able.quilkin::run
now accepts a closure that passes in aFilterRegistry
, this is to allow you to construct filters likeMeasureFactory
which requires access to theFilterRegistry
.resolves #167