forked from cloudflare/ebpf_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
biolatency.yaml
34 lines (34 loc) · 936 Bytes
/
biolatency.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
metrics:
histograms:
- name: bio_latency_seconds
help: Block IO latency histogram
bucket_type: exp2
bucket_min: 0
bucket_max: 27
bucket_multiplier: 0.000001 # microseconds to seconds
labels:
- name: device
size: 4
decoders:
- name: majorminor
- name: operation
size: 4
decoders:
- name: uint
- name: static_map
# Values from include/linux/blk_types.h
# REQ_OP_ZONE_* values changed in v6.8-rc1 so they are
# not mentioned here.
static_map:
0: read
1: write
2: flush
3: discard
5: secure_erase
9: write_zeroes
34: drv_in
35: drv_out
- name: bucket
size: 8
decoders:
- name: uint