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: private-preview/aopt/aopt-metric-reference.rst
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ All metric names have a prefix of either ``sf`` or ``o11y``.
34
34
35
35
- ``sf.report.available``
36
36
- W
37
-
- Synthetic metric, 0 for failed, 1 for success. This metric may have additional attributes that represent the report outcome as a whole. At least a ``aopt.profile_report.error_reason`` code.
37
+
- Synthetic metric. The value is ``0`` for failed, ``1`` for success. This metric may have additional attributes that represent the report outcome as a whole. At least a ``aopt.profile_report.error_reason`` code.
38
38
-
39
39
40
40
- ``sf.report.window_days``
@@ -49,12 +49,12 @@ All metric names have a prefix of either ``sf`` or ``o11y``.
49
49
50
50
- ``sf.report.average_replicas``
51
51
- W
52
-
- Average number of replicas during the analysis window. Does not include pods that allocate resources (such as those scheduled but not started).
52
+
- Average number of replicas during the analysis window. Does not include pods that allocate resources, such as those scheduled but not started.
53
53
-
54
54
55
55
- ``sf.report.pod.qos_class``
56
56
- W
57
-
- Pod's quality of service (QoS) class, as defined in Kubernetes docs, encoded as integer.
57
+
- Pod's quality of service (QoS) class, as defined in Kubernetes docs, encoded as an integer.
58
58
-
59
59
60
60
- ``sf.report.footprint.cpu_cores``
@@ -74,7 +74,7 @@ All metric names have a prefix of either ``sf`` or ``o11y``.
- Resource starvation risk: Minimal, Low, Medium, High (encoded as ``0``, ``1``, ``2``, ``3`` respectively).
78
78
Risk levels defined elsewhere:
79
79
- Minimal: no starvation detected
80
80
- Low: could benefit from more overhead
@@ -84,22 +84,22 @@ All metric names have a prefix of either ``sf`` or ``o11y``.
84
84
85
85
- ``sf.recommendation.available``
86
86
- W
87
-
- Indicates whether a recommendation is available for at least one container, 0 or 1.
87
+
- Indicates whether a recommendation is available for at least one container. This value is ``0`` or ``1``.
88
88
-
89
89
90
90
- ``sf.recommendation.confidence_level``
91
91
- W
92
-
- Recommendations overall confidence level: Low, Medium, High (likely encoded as numbers). Aggregated from container.confidence_level, by taking the lowest confidence value (or the confidence value of the main/largest container).
92
+
- Recommendations overall confidence level: Unknown, Low, Medium, High (encoded as ``0``, ``1``, ``2``, ``3`` respectively). Aggregated from ``container.confidence_level``, by taking the lowest confidence value (or the confidence value of the main or largest container).
93
93
-
94
94
95
95
- ``sf.recommendation.container.available``
96
96
- C
97
-
- Indicates whether a recommendation is available, 0 or 1. A recommendation that matches the baseline is considered available.
97
+
- Indicates whether a recommendation is available: ``0`` or ``1``. A recommendation that matches the baseline is considered available.
- Recommendation confidence level: Low, Medium, High (encoded as numbers).
102
+
- Recommendation confidence level: Unknown, Low, Medium, High (encoded as ``0``, ``1``, ``2``, ``3`` respectively).
103
103
-
104
104
105
105
- ``sf.recommendation.container.cpu_request``
@@ -144,22 +144,22 @@ All metric names have a prefix of either ``sf`` or ``o11y``.
144
144
145
145
- ``sf.baseline.pod.cpu_request``
146
146
- W
147
-
- Pod-level sum of the baseline for the configuration being analyzed. Note that the request for a container is considered defined if the limit is defined, even if the request is reported as missing/0.
147
+
- Pod-level sum of the baseline for the configuration being analyzed. The ``request`` for a container is considered defined if its ``limit`` is defined, even if the ``request`` is reported as missing or ``0``.
148
148
-
149
149
150
150
- ``sf.baseline.pod.memory_request``
151
151
- W
152
-
- Pod-level sum of the baseline for the configuration being analyzed. Note that the request for a container is considered defined if the limit is defined, even if the request is reported as missing/0.
152
+
- Pod-level sum of the baseline for the configuration being analyzed. The ``request`` for a container is considered defined if its ``limit`` is defined, even if the ``request`` is reported as missing or ``0``.
153
153
-
154
154
155
155
- ``sf.baseline.pod.cpu_limit``
156
156
- W
157
-
- Pod-level sum of the baseline for the configuration being analyzed. 0 / NaN if at least one limit is missing: as a result, the whole pod doesn't have a limit for this resource.
157
+
- Pod-level sum of the baseline for the configuration being analyzed. This value is ``0`` or ``NaN`` if at least one ``limit`` is missing; as a result, the whole pod doesn't have a ``limit`` for this resource.
158
158
-
159
159
160
160
- ``sf.baseline.pod.memory_limit``
161
161
- W
162
-
- Pod-level sum of the baseline for the configuration being analyzed. 0 / NaN if at least one limit is missing: as a result, the whole pod doesn't have a limit for this resource.
162
+
- Pod-level sum of the baseline for the configuration being analyzed. This value is ``0`` or ``NaN`` if at least one ``limit`` is missing; as a result, the whole pod doesn't have a ``limit`` for this resource.
163
163
-
164
164
165
165
- ``sf.baseline.container.cpu_request``
@@ -234,39 +234,39 @@ The following dimensions are applied to all metrics (both workload and container
234
234
-
235
235
236
236
- ``k8s.deployment.name``
237
-
- Present only for ``workload.kind`` == ``deployment``. The same as ``k8s.workload.name``.
237
+
- Present only for ``workload.kind`` == ``deployment``. Same as ``k8s.workload.name``.
238
238
-
239
239
240
240
- ``k8s.deployment.uid``
241
-
- Present only for ``workload.kind`` == ``deployment``. The same as ``k8s.object_uid``.
241
+
- Present only for ``workload.kind`` == ``deployment``. Same as ``k8s.object_uid``.
242
242
-
243
243
244
244
- ``k8s.statefulset.name``
245
-
- Present only for ``workload.kind`` == ``statefulset``. The same as ``k8s.workload.name``.
245
+
- Present only for ``workload.kind`` == ``statefulset``. Same as ``k8s.workload.name``.
246
246
-
247
247
248
248
- ``k8s.statefulset.uid``
249
-
- Present only for ``workload.kind`` == ``statefulset``. The same as ``k8s.object_uid``.
249
+
- Present only for ``workload.kind`` == ``statefulset``. Same as ``k8s.object_uid``.
250
250
-
251
251
252
252
- ``k8s.daemonset.name``
253
-
- Present only for ``workload.kind`` == ``daemonset``. The same as ``k8s.workload.name``.
253
+
- Present only for ``workload.kind`` == ``daemonset``. Same as ``k8s.workload.name``.
254
254
-
255
255
256
256
- ``k8s.daemonset.uid``
257
-
- Present only for ``workload.kind`` == ``daemonset``. The same as ``k8s.object_uid``.
257
+
- Present only for ``workload.kind`` == ``daemonset``. Same as ``k8s.object_uid``.
258
258
-
259
259
260
260
- ``k8s.pod.qos``
261
261
- Pod-level QoS
262
262
-
263
263
264
264
- ``aopt.profiler_report.success``
265
-
- Whether the analysis was successful and a report is provided. Values: 0 or 1.
265
+
- Whether the analysis was successful and a report is provided. Values: ``0`` or ``1``.
266
266
-
267
267
268
268
- ``aopt.instant_recommendation.present``
269
-
- Whether there is a valid recommendation. Values: 0 or 1.
269
+
- Whether there is a valid recommendation. Values: ``0`` or ``1``.
270
270
271
271
272
272
@@ -275,7 +275,7 @@ The following dimensions are applied to all metrics (both workload and container
0 commit comments