Skip to content
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

Metricbeat Redis module: add length of lists in Redis metrics #9582

Closed
tbragin opened this issue Dec 16, 2018 · 1 comment
Closed

Metricbeat Redis module: add length of lists in Redis metrics #9582

tbragin opened this issue Dec 16, 2018 · 1 comment
Assignees
Labels
enhancement good first issue Indicates a good issue for first-time contributors Metricbeat Metricbeat module Team:Integrations Label for the Integrations team

Comments

@tbragin
Copy link
Contributor

tbragin commented Dec 16, 2018

This is a request for adding to the Redis Metricbeat module the length of lists in Redis, a metric that represents the length of each list (as in the collectd example), or all lists in the key as a total (as in the prometheus/grafana example).

With collectd it is possible to issue queries about the length of lists.

  <Plugin redis>
    <Node "example">
        Host "localhost"
        Port "6379"
        Timeout 2000
        <Query "LLEN myqueue">
          Type "queue_length"
          Instance "myqueue"
        <Query>
    </Node>
  </Plugin>

Prometheus/Graphana also provides the total items per key: https://github.com/oliver006/redis_exporter

We are only gathering info about the number of keys, but no information about the length of lists in keys.
https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-redis-keyspace.html

    "redis": {
        "keyspace": {
            "avg_ttl": 0,
            "expires": 0,
            "id": "db0",
            "keys": 1
        }
    }

cc: @jsoriano

@tbragin tbragin added Metricbeat Metricbeat Team:Integrations Label for the Integrations team labels Dec 16, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/infrastructure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good first issue Indicates a good issue for first-time contributors Metricbeat Metricbeat module Team:Integrations Label for the Integrations team
Projects
None yet
Development

No branches or pull requests

6 participants