Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 325 Bytes
# Example: Top 5 Docker images by CPU
topk(5,
sum by (image) (
rate (container_cpu_usage_secnods_total) {
id=~"/system.slice/docker.*"} [5m]
)
)
)
# Example: 10 highest read rates per second
topk(10,
sum by(job, keyspace, columnfamily) (
rate(cassandra_columnfamily_readlatency[5m])
)
)