-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
New component: Valkey receiver #33787
Comments
@dmitryax would you be up for sponsoring this? |
I'm of the opinion we'd be better off just copy+pasting the code for the redis client into a new module and The current redis receiver is a bit of a pain imo given we need to support more than just the latest version (at least, unless and until we initiate and complete an effort to define SLAs for how many versions in the past we support). This is relevant given redis has re-arranged their APIs (via "duplication" of functionality) in a way such that you can scrape more than just "info" every time. This relates to the So, in summary: This is the chance for a fresh slate. Take it! There's no reason to couple your implementation to the existing receiver, at all. Duplicated code is not necessarily a terrible thing. There's no marketability reasons for doing so either, as both would live in the same -contrib distribution (if people are using ocb to pull in redisreceiver it should be trivial to also pull in valkeyreceiver) |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
The purpose and use-cases of the new component
Repository: https://github.com/valkey-io/valkey
The component should behave as the current redis receiver. Actually, the
redis
receiver is currently being used in the OpenTelemetry demo to extract metrics from avalkey
instance, see: https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/otelcollector/otelcol-config.yml#L17The OpenTelemetry demo uses the
redis
receiver as a short term solution, but the end goal would be to use avalkey
specific one in case their APIs change. They are two different products, so we expect their functionalities may diverge over time.Implementation proposal:
redis
receiver logic into and internal package (internal/cachestore
?)valkey
receiver using the internal cachestore logic + specific Go client: https://github.com/valkey-io/valkey-goExample configuration for the component
Configuration example source.
Telemetry data types supported
Is this a vendor-specific component?
Code Owner(s)
@rogercoll
Sponsor (optional)
No response
Additional context
I proposed myself as a codeowner, but I am absolutely open to any suggestion. @dmitryax, @hughesjj as being codowners of the current redis receiver, would you also like to continue in this role for the
valkey
one?As discussed in the SIG meeting, @dmitryax would you be able to sponsor this new component?
The text was updated successfully, but these errors were encountered: