Multiple redis instances

Can I monitor multiple redis instances on a single host with a single metricbeat setup?

Or should I run multiple instances of metricbeat with one config for each redis instance?

It is possible to monitor multiple instances of Redis on the same host. You just need to add the hosts to the list of hosts: hosts: ["127.0.0.1:6379", "127.0.0.1:1234"]

Config example:

metricbeat.modules:
- module: redis
  metricsets: ["info", "keyspace"]
  period: 10s

  # Redis hosts
  # See how multiple hosts are specified
  hosts: ["127.0.0.1:6379", "127.0.0.1:1234"]

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.