Closed sevein closed 8 months ago
Attention: Patch coverage is 45.28302%
with 29 lines
in your changes are missing coverage. Please review.
Project coverage is 47.34%. Comparing base (
7e99584
) to head (0fb0243
).:exclamation: Current head 0fb0243 differs from pull request most recent head 39e0299. Consider uploading reports for the commit 39e0299 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This pull request enables tracing instrumentation in our Redis clients using the
redisotel
package.TraceQL query examples
Find watcher triggers
This is likely the most interesting outcome of this work. Now watchers start a root span (
watcher.poll
) representing the interaction with Redis using theblmove
command to wait until the notification is delivered by MinIO. In Grafana, search for:The gantt chart shows that we remove the notification from the queue using
lrem
command, but only once we've successfully started the workflow instance. The workflow continues running and recording spans as part of the same trace, including the entire workflow execution, activities, etc...Find creation of WebSocket auth tickets
We can see how authentication tickets are stored in Redis:
Find application publishing events
We can also find spans related to the operation of publishing events into the event service, e.g.:
Find Redis traces
A more general approach: