Permalink
Cannot retrieve contributors at this time
28 lines (26 sloc)
688 Bytes
# Run an external probe and aggregate metrics in cloudprober. | |
probe { | |
name: "redis_probe" | |
type: EXTERNAL | |
targets { dummy_targets {} } | |
external_probe { | |
mode: SERVER | |
command: "./redis_probe --server" | |
output_metrics_options { | |
aggregate_in_cloudprober: true | |
# Create distributions for get_latency_ms and set_latency_ms. | |
dist_metric { | |
key: "get_latency_ms" | |
value: { | |
explicit_buckets: "0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0,1.5,2.0" | |
} | |
} | |
dist_metric { | |
key: "set_latency_ms" | |
value: { | |
explicit_buckets: "0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0,1.5,2.0" | |
} | |
} | |
} | |
} | |
} |