Skip to content

Commit

Permalink
[WIP] important query
Browse files Browse the repository at this point in the history
  • Loading branch information
timebertt committed Oct 24, 2023
1 parent d06d88a commit 7ec2488
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
max(
label_replace(rate(node_disk_io_time_seconds_total{}[$__rate_interval]), "node", "$1", "instance", "(.*)")
* on (node, device) group_right(none)
max(
kube_volumeattachment_info
* on(volumeattachment) group_right(node)
kube_volumeattachment_spec_source_persistentvolume
* on(volumeattachment) group_right(node, volumename)
label_replace(kube_volumeattachment_status_attachment_metadata, "device", "$1", "metadata_device_path", "/dev/(.*)")
* on(volumename) group_right(node, device)
kube_persistentvolumeclaim_info
) by (node, device, namespace, persistentvolumeclaim)
) by (namespace, persistentvolumeclaim)

0 comments on commit 7ec2488

Please sign in to comment.