github.com/inspektor-gadget/inspektor-gadget@v0.28.1/docs/crds/gadgets/biolatency.md (about)

     1  ---
     2  # Code generated by 'make generate-documentation'. DO NOT EDIT.
     3  title: Gadget biolatency
     4  ---
     5  
     6  The biolatency gadget traces block device I/O (disk I/O), and records the
     7  distribution of I/O latency (time), giving this as a histogram when it is
     8  stopped.
     9  
    10  ### Example CR
    11  
    12  ```yaml
    13  apiVersion: gadget.kinvolk.io/v1alpha1
    14  kind: Trace
    15  metadata:
    16    name: biolatency
    17    namespace: gadget
    18  spec:
    19    node: minikube
    20    gadget: biolatency
    21    runMode: Manual
    22    outputMode: Status
    23  ```
    24  
    25  ### Operations
    26  
    27  
    28  #### start
    29  
    30  Start biolatency
    31  
    32  ```bash
    33  $ kubectl annotate -n gadget trace/biolatency \
    34      gadget.kinvolk.io/operation=start
    35  ```
    36  #### stop
    37  
    38  Stop biolatency and store results
    39  
    40  ```bash
    41  $ kubectl annotate -n gadget trace/biolatency \
    42      gadget.kinvolk.io/operation=stop
    43  ```
    44  
    45  ### Output Modes
    46  
    47  * Status