-
Notifications
You must be signed in to change notification settings - Fork 607
Open
Labels
communityTo tag external issues and PRs submitted by the communityTo tag external issues and PRs submitted by the communityfeature requestTo tag feature request after Hero Triage for PM to dispositionTo tag feature request after Hero Triage for PM to disposition
Description
Is your feature request related to a problem? Please describe.
When using Dalli (v3.2.0+) with the meta protocol enabled, the pipelined_get method is not currently instrumented.
Feature Description
Support pipelined_get instrumentation for meta protocol for Dalli instrumentation.
It appears that updating the following code would solve this.
| if supports_binary_protocol? | |
| ::Dalli::Protocol::Binary | |
| else | |
| ::Dalli::Server | |
| end.class_eval do |
For example:
if supports_meta_protocol? # check Dalli's version is larger than or equal to 3.2.0
::Dalli::Protocol::Base # with this, both meta and binary protocol are instrumented
elsif supports_binary_protocol?
::Dalli::Protocol::Binary
else
::Dalli::Server
end.class_eval doDescribe Alternatives
- Implementing monkey patches in the user's project
- Using binary protocol
- Note: Since AWS Elasticache does not support the
binaryprotocol, it is impossible to switch protocols when using it.
- Note: Since AWS Elasticache does not support the
Additional context
I see that the meta protocol is not currently supported, so this problem might be a known issue.
Priority
Nice to Have
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
communityTo tag external issues and PRs submitted by the communityTo tag external issues and PRs submitted by the communityfeature requestTo tag feature request after Hero Triage for PM to dispositionTo tag feature request after Hero Triage for PM to disposition
Type
Projects
Status
Triage