---
# Code generated by 'make generate-documentation'. DO NOT EDIT.
title: 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

```yaml
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

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

Stop biolatency and store results

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

### Output Modes

* Status
