Skip to main content
Version: latest

Gadget biolatency

The biolatency gadget traces block device I/O (disk I/O), and records the distribution of I/O latency (time), giving this as a histogram when it is stopped.

Example CR

apiVersion: gadget.kinvolk.io/v1alpha1
kind: Trace
metadata:
name: biolatency
namespace: gadget
spec:
node: minikube
gadget: biolatency
runMode: Manual
outputMode: Status

Operations

start

Start biolatency

$ kubectl annotate -n gadget trace/biolatency \
gadget.kinvolk.io/operation=start

stop

Stop biolatency and store results

$ kubectl annotate -n gadget trace/biolatency \
gadget.kinvolk.io/operation=stop

Output Modes

  • Status