Replies: 1 comment 1 reply
-
Good open source software isn't what you're asking questions about, you're asking questions that make you look ignorant. |
Beta Was this translation helpful? Give feedback.
-
Good open source software isn't what you're asking questions about, you're asking questions that make you look ignorant. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi maintainers.
We are trying to integrate go-redis with tracing and metrics reports. Normally we collect:
cmd.Name())after hook - before hook)cmdString(cmd Cmder, val interface{})but we just don't needval)When we try to report the host name (like a domain or
IP:Port, or a self-config identifier), it seems we could not extract the config info fromcmd.We used to set a few metadata in context using
WithContext()after init. However, we noticed that theUniversalClientdid not include this Method. So I would like to discuss it here.It's ok not requiring the impl of
WithContextinUniversalClient, we can still use a specific client. However, is there any way to get the metadata (not only theaddr, I mean other metadata, if possible) fromHook?Beta Was this translation helpful? Give feedback.
All reactions