-
Notifications
You must be signed in to change notification settings - Fork 1
Redis Usage
Brandon Arp edited this page Jan 26, 2014
·
3 revisions
##Cluster Management
- redis.hosts - Set
- redis.[host].status -
- agg.hosts - Set. Partition key: host name
- agg.[host].status - Hash, {"heartbeat":timestamp,"status:"stat"}
##Host Management
- hosts - Set, the known hosts. Partition key: host name
- clusters - Set, the known clusters. Partition key: cluster name
- host.[hostName].lastSeen - Value, timestamp in epoch millis. Partition key: host name
- cluster.members.[clusterName] - Set, members of a cluster. Partition key: cluster name
##Metrics Management
- metrics.[cluster].services - Set. Partition key: whole key
- metrics.[cluster].[service].metrics - Sorted set, hash(metric name) -> metric name. Partition key: whole key
- metrics.[cluster].[service].[metric] - Hash, {"periods": ["PT5M", "PT15M"], "kind":"timer", "aggs":["p99"]}. Partition key: whole key
- metrics.[cluster].[service].[metric].periods - Set, aggregation periods for a metric. Partition key: metrics.[cluster].[metric]
- metrics.[cluster].[service].[metric].kind - Value, enum of "timer", "counter", "gauge". Partition key: metrics.[cluster].[metric]
- metrics.[cluster].[service].[metric].aggs - Set, statistics to compute for this metric. Partition key: metrics.[cluster].[metric]
- metrics.[cluster].[service].[metric].[period].[agg].[host] - Hash, {"value": 32, "samples": [12,123,21,246], "periodStart":1392817}, Partition key: whole key