Skip to content
Discussion options

You must be logged in to vote

Vector 0.60.0 does not have a built-in Redis slow-log collector. The redis source consumes Redis lists or Pub/Sub channels; it does not run SLOWLOG GET.

A workaround is an external collector that polls SLOWLOG GET and emits JSON events for Vector to ingest, for example through the exec source. The collector should track entry IDs per Redis instance to avoid emitting the same entries on every poll.

Those events can then go to Kafka. To expose them to Prometheus, first derive metrics such as a slow-command counter or duration histogram from the log events.

If you’d like native support, please open a feature request describing your use case and the logs or metrics you’d like to collect.

Plea…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
source:redis Anything `redis` source related
2 participants