-
Notifications
You must be signed in to change notification settings - Fork 245
/
Copy pathsoftirq-latency.yaml
95 lines (95 loc) · 2.75 KB
/
softirq-latency.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
metrics:
histograms:
- name: softirq_entry_latency_seconds
help: Latency histogram for how long it takes from softirq raise to entry
bucket_type: exp2
bucket_min: 0
bucket_max: 21
bucket_multiplier: 0.000001 # nano to seconds
labels:
- name: kind
size: 8
decoders:
- name: uint
- name: static_map
static_map:
0: HI_SOFTIRQ
1: TIMER_SOFTIRQ
2: NET_TX_SOFTIRQ
3: NET_RX_SOFTIRQ
4: BLOCK_SOFTIRQ
5: IRQ_POLL_SOFTIRQ
6: TASKLET_SOFTIRQ
7: SCHED_SOFTIRQ
8: HRTIMER_SOFTIRQ
9: RCU_SOFTIRQ
- name: bucket
size: 8
decoders:
- name: uint
- name: softirq_service_latency_seconds
help: Latency histogram for how long it takes from softirq entry to exit
bucket_type: exp2
bucket_min: 0
bucket_max: 21
bucket_multiplier: 0.000001 # nano to seconds
labels:
- name: kind
size: 8
decoders:
- name: uint
- name: static_map
static_map:
0: HI_SOFTIRQ
1: TIMER_SOFTIRQ
2: NET_TX_SOFTIRQ
3: NET_RX_SOFTIRQ
4: BLOCK_SOFTIRQ
5: IRQ_POLL_SOFTIRQ
6: TASKLET_SOFTIRQ
7: SCHED_SOFTIRQ
8: HRTIMER_SOFTIRQ
9: RCU_SOFTIRQ
- name: bucket
size: 8
decoders:
- name: uint
counters:
- name: softirq_raised_total
help: Total number of times softirq were raised
labels:
- name: kind
size: 4
decoders:
- name: uint
- name: static_map
static_map:
0: HI_SOFTIRQ
1: TIMER_SOFTIRQ
2: NET_TX_SOFTIRQ
3: NET_RX_SOFTIRQ
4: BLOCK_SOFTIRQ
5: IRQ_POLL_SOFTIRQ
6: TASKLET_SOFTIRQ
7: SCHED_SOFTIRQ
8: HRTIMER_SOFTIRQ
9: RCU_SOFTIRQ
- name: softirq_serviced_total
help: Total number of times softirq were serviced
labels:
- name: kind
size: 4
decoders:
- name: uint
- name: static_map
static_map:
0: HI_SOFTIRQ
1: TIMER_SOFTIRQ
2: NET_TX_SOFTIRQ
3: NET_RX_SOFTIRQ
4: BLOCK_SOFTIRQ
5: IRQ_POLL_SOFTIRQ
6: TASKLET_SOFTIRQ
7: SCHED_SOFTIRQ
8: HRTIMER_SOFTIRQ
9: RCU_SOFTIRQ