Skip to content

Extend redis plugin capabilities #1027

@mathieuboniface

Description

@mathieuboniface

We are massively using redis lists (and telegraf too). We would like export using telegraf the sizes of thoses lists stored into redis instances.

Currently, the redis input plugin gather metrics from the INFO command. And there is no way to get metrics stored into redis database.

For us, a good solution could be to permit the redis plugin to gather metrics from command given in the configuration file, something like this :

[[inputs.redis]]
  servers = ["tcp://localhost:6379"]
  commands = ["LLEN myList", "GET myKey", "CLUSTER COUNT-FAILURE-REPORTS myNode"]

WDYT ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/redisfeature requestRequests for new plugin and for new features to existing plugins

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions