You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/serving/observability/metrics/serving-metrics.md
+27-18Lines changed: 27 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,15 +22,15 @@ requests and user-container behavior.
22
22
23
23
**Instrument Type:** Int64Gauge
24
24
25
-
**Unit (UCUM):** {item}
25
+
**Unit ([UCUM](https://ucum.org)):** {request}
26
26
27
27
**Description:** Number of current items in the queue proxy queue
28
28
29
29
### `kn.queueproxy.app.duration`
30
30
31
31
**Instrument Type:** Float64Histogram
32
32
33
-
**Unit (UCUM):** s
33
+
**Unit ([UCUM](https://ucum.org)):** s
34
34
35
35
**Description:** The duration of the task execution
36
36
@@ -43,11 +43,11 @@ The following metrics can help you to understand how an application responds whe
43
43
44
44
**Instrument Type:** Float64Gauge
45
45
46
-
**Unit (UCUM):** {request}
46
+
**Unit ([UCUM](https://ucum.org)):** {request}
47
47
48
48
**Description:** Concurrent requests that are routed to the Activator
49
49
50
-
The following attributes are included with the metrics below
50
+
The following attributes are included with the metric
51
51
52
52
Name | Type | Description
53
53
-|-|-
@@ -60,108 +60,117 @@ Name | Type | Description
60
60
61
61
Autoscaler component exposes a number of metrics related to its decisions per revision. For example, at any given time, you can monitor the desired pods the Autoscaler wants to allocate for a Service, the average number of requests per second during the stable window, or whether autoscaler is in panic mode (KPA).
62
62
63
+
The following attributes are included with the autoscaling metrics below
64
+
65
+
Name | Type | Description
66
+
-|-|-
67
+
`k8s.namespace.name` | string | Namespace of the Revision
68
+
`kn.service.name` | string | Knative Service name associated with this Revision
69
+
`kn.configuration.name` | string | Knative Configuration name associated with this Revision
70
+
`kn.revision.name` | string | The name of the Revision
71
+
72
+
63
73
### `kn.autoscaler.scrape.duration`
64
74
65
75
**Instrument Type:** Float64Histogram
66
76
67
-
**Unit (UCUM):** s
77
+
**Unit ([UCUM](https://ucum.org)):** s
68
78
69
79
**Description:** The duration of scraping the revision
70
80
71
81
### `kn.revision.pods.desired`
72
82
73
83
**Instrument Type:** Int64Gauge
74
84
75
-
**Unit (UCUM):** {item}
85
+
**Unit ([UCUM](https://ucum.org)):** {pod}
76
86
77
87
**Description:** Number of pods the autoscaler wants to allocate
Copy file name to clipboardExpand all lines: docs/snippets/observability-shared-metrics.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Name | Type | Description | Examples
25
25
26
26
**Instrument Type:** Histogram
27
27
28
-
**Unit (UCUM):** s
28
+
**Unit ([[UCUM](https://ucum.org)):** s
29
29
30
30
**Description:** The duration of task execution.
31
31
@@ -55,55 +55,55 @@ Name | Type | Description |
55
55
56
56
**Instrument Type:** Int64UpDownCounter
57
57
58
-
**Unit (UCUM):** {item}
58
+
**Unit ([UCUM](https://ucum.org)):** {item}
59
59
60
60
**Description:** Number of current items in the queue
61
61
62
62
### `kn.workqueue.adds`
63
63
64
64
**Instrument Type:** Int64Counter
65
65
66
-
**Unit (UCUM):** {item}
66
+
**Unit ([UCUM](https://ucum.org)):** {item}
67
67
68
68
**Description:** Number of items added to the queue
69
69
70
70
### `kn.workqueue.queue.duration`
71
71
72
72
**Instrument Type:**
73
73
74
-
**Unit (UCUM):** s
74
+
**Unit ([UCUM](https://ucum.org)):** s
75
75
76
76
**Description:** How long an item stays in workqueue
77
77
78
78
### `kn.workqueue.process.duration`
79
79
80
80
**Instrument Type:** Float64Histogram
81
81
82
-
**Unit (UCUM):** s
82
+
**Unit ([UCUM](https://ucum.org)):** s
83
83
84
84
**Description:** How long in seconds processing an item from workqueue takes
85
85
86
86
### `kn.workqueue.unfinished_work`
87
87
88
88
**Instrument Type:** Float64Gauge
89
89
90
-
**Unit (UCUM):** s
90
+
**Unit ([UCUM](https://ucum.org)):** s
91
91
92
92
**Description:** How many seconds of work the reconciler has done that is in progress and hasn't been observed by duration. Large values indicate stuck threads. One can deduce the number of stuck threads by observing the rate at which this increases.
93
93
94
94
### `kn.workqueue.longest_running_processor`
95
95
96
96
**Instrument Type:** Float64Gauge
97
97
98
-
**Unit (UCUM):** s
98
+
**Unit ([UCUM](https://ucum.org)):** s
99
99
100
100
**Description:** How long the longest worker thread has been running
101
101
102
102
### `kn.workqueue.retries`
103
103
104
104
**Instrument Type:** Int64Counter
105
105
106
-
**Unit (UCUM):** {item}
106
+
**Unit ([UCUM](https://ucum.org)):** {item}
107
107
108
108
**Description:** Number of items re-added to the queue
0 commit comments