Skip to content

Instantly share code, notes, and snippets.

@bobrik
Created October 5, 2018 18:18
Show Gist options
  • Save bobrik/c36037ec2c529926fa3833a9e6d0d031 to your computer and use it in GitHub Desktop.
Save bobrik/c36037ec2c529926fa3833a9e6d0d031 to your computer and use it in GitHub Desktop.
{
"cards": {
"cardPadding": null,
"cardRound": null
},
"color": {
"cardColor": "#bf1b00",
"colorScale": "sqrt",
"colorScheme": "interpolateRdYlGn",
"exponent": 0.25,
"mode": "opacity"
},
"dataFormat": "tsbuckets",
"datasource": "$prometheus",
"gridPos": {
"h": 13,
"w": 24,
"x": 0,
"y": 0
},
"heatmap": {},
"highlightCards": true,
"id": 2,
"legend": {
"show": false
},
"links": [],
"targets": [
{
"expr": "sum(rate(ebpf_exporter_bio_latency_seconds_bucket{node_type=~\"$type\", instance=~\"$instance\", device=~\"$device\", operation=\"write\"}[$rate])) without (instance, node_type, device)",
"format": "heatmap",
"interval": "$step",
"intervalFactor": 1,
"legendFormat": "{{ le }}",
"refId": "A"
}
],
"title": "Write latency histogram",
"tooltip": {
"show": true,
"showHistogram": true
},
"type": "heatmap",
"xAxis": {
"show": true
},
"xBucketNumber": null,
"xBucketSize": null,
"yAxis": {
"decimals": 1,
"format": "s",
"logBase": 1,
"max": null,
"min": null,
"show": true,
"splitFactor": null
},
"yBucketBound": "auto",
"yBucketNumber": null,
"yBucketSize": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment