-
Notifications
You must be signed in to change notification settings - Fork 189
/
Copy pathmetrics.yaml
90 lines (82 loc) · 2.21 KB
/
metrics.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
groups:
- id: metric.faas.invoke_duration
type: metric
metric_name: faas.invoke_duration
stability: experimental
brief: "Measures the duration of the function's logic execution"
instrument: histogram
unit: "s"
attributes:
- ref: faas.trigger
- id: metric.faas.init_duration
type: metric
metric_name: faas.init_duration
stability: experimental
brief: "Measures the duration of the function's initialization, such as a cold start"
instrument: histogram
unit: "s"
attributes:
- ref: faas.trigger
- id: metric.faas.coldstarts
type: metric
metric_name: faas.coldstarts
stability: experimental
brief: "Number of invocation cold starts"
instrument: counter
unit: "{coldstart}"
attributes:
- ref: faas.trigger
- id: metric.faas.errors
type: metric
metric_name: faas.errors
stability: experimental
brief: "Number of invocation errors"
instrument: counter
unit: "{error}"
attributes:
- ref: faas.trigger
- id: metric.faas.invocations
type: metric
metric_name: faas.invocations
stability: experimental
brief: "Number of successful invocations"
instrument: counter
unit: "{invocation}"
attributes:
- ref: faas.trigger
- id: metric.faas.timeouts
type: metric
metric_name: faas.timeouts
stability: experimental
brief: "Number of invocation timeouts"
instrument: counter
unit: "{timeout}"
attributes:
- ref: faas.trigger
- id: metric.faas.mem_usage
type: metric
metric_name: faas.mem_usage
stability: experimental
brief: "Distribution of max memory usage per invocation"
instrument: histogram
unit: "By"
attributes:
- ref: faas.trigger
- id: metric.faas.cpu_usage
type: metric
metric_name: faas.cpu_usage
stability: experimental
brief: "Distribution of CPU usage per invocation"
instrument: histogram
unit: "s"
attributes:
- ref: faas.trigger
- id: metric.faas.net_io
type: metric
metric_name: faas.net_io
stability: experimental
brief: "Distribution of net I/O usage per invocation"
instrument: histogram
unit: "By"
attributes:
- ref: faas.trigger