| 1 |
modules { |
| 2 |
module { |
| 3 |
name = "redis" |
| 4 |
language = "python" |
| 5 |
|
| 6 |
param host { value = "127.0.0.1" } |
| 7 |
param port { value = 6379 } |
| 8 |
} |
| 9 |
} |
| 10 |
collection_group { |
| 11 |
collect_every = 10 |
| 12 |
time_threshold = 60 |
| 13 |
|
| 14 |
metric { |
| 15 |
name = "connected_clients" |
| 16 |
} |
| 17 |
metric { |
| 18 |
name = "connected_slaves" |
| 19 |
} |
| 20 |
metric { |
| 21 |
name = "blocked_clients" |
| 22 |
} |
| 23 |
metric { |
| 24 |
name = "used_memory" |
| 25 |
} |
| 26 |
metric { |
| 27 |
name = "changes_since_last_save" |
| 28 |
} |
| 29 |
metric { |
| 30 |
name = "bgsave_in_progress" |
| 31 |
} |
| 32 |
metric { |
| 33 |
name = "bgrewriteaof_in_progress" |
| 34 |
} |
| 35 |
metric { |
| 36 |
name = "total_connections_received" |
| 37 |
} |
| 38 |
metric { |
| 39 |
name = "total_commands_processed" |
| 40 |
} |
| 41 |
metric { |
| 42 |
name = "expired_keys" |
| 43 |
} |
| 44 |
metric { |
| 45 |
name = "pubsub_channels" |
| 46 |
} |
| 47 |
metric { |
| 48 |
name = "pubsub_patterns" |
| 49 |
} |
| 50 |
metric { |
| 51 |
name = "vm_enabled" |
| 52 |
} |
| 53 |
metric { |
| 54 |
name = "master_last_io_seconds_ago" |
| 55 |
} |
| 56 |
} |