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
"title": "OnTap {dims:type}{dims:fru_id} is in Error State",
125
+
"description": "OnTap field replaceable unit (FRU) {dims:type} with id {dims:fru_id} on node {dims:node} in cluster {dims:cluster} is in an error state.\n",
Copy file name to clipboardExpand all lines: dynatrace/environment_v2/service_level_objectives.py
+24-12Lines changed: 24 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,8 @@ def list(
41
41
time_frame: Optional[str] ="CURRENT",
42
42
page_idx: Optional[int] =1,
43
43
demo: Optional[bool] =False,
44
-
evaluate: Optional[bool] =False,
44
+
evaluate: Optional[str] ="false",
45
+
enabled_slos: Optional[str] ="all"
45
46
) ->PaginatedList["Slo"]:
46
47
"""Lists all available SLOs along with calculated values
47
48
@@ -53,7 +54,8 @@ def list(
53
54
:param time_frame: The timeframe to calculate the SLO values. CURRENT: SLO's own timeframe. GTF: timeframe specified by from and to parameters.
54
55
:param page_idx: Only SLOs on the given page are included in the response. The first page has the index '1'.
55
56
:param demo: Get your SLOs (false) or a set of demo SLOs (true)
56
-
:param evaluate: Get your SLOs without them being evaluated (false) or with evaluations (true).
57
+
:param evaluate: Get your SLOs without them being evaluated ("false") or with evaluations ("true"). This value must be a lowercase string.
58
+
:param enabled_slos: Get your enabled SLOs ("true"), disabled ones ("false") or both enabled and disabled ones ("all"). This value must be a lowercase string.
57
59
58
60
:returns PaginatedList[Slo]: the list of SLOs matching criteria
:param warning: The warning value of the SLO. At warning state the SLO is still fulfilled but is getting close to failure.
144
149
:param timeframe: The timeframe for the SLO evaluation. Use the syntax of the global timeframe selector.
145
-
:param use_rate_metric: The type of the metric to use for SLO calculation - an existing percentage-based metric (true) or a ratio of two metrics (false)
146
-
:param metric_rate: The percentage-based metric for the calculation of the SLO. Required when the useRateMetric is set to true.
147
-
:param metric_numerator: The metric for the count of successes (the numerator in rate calculation).Required when the useRateMetric is set to false.
148
-
:param metric_denominator: The total count metric (the denominator in rate calculation). Required when the useRateMetric is set to false.
150
+
:param use_rate_metric: [DEPRECATED] The type of the metric to use for SLO calculation - an existing percentage-based metric (true) or a ratio of two metrics (false)
151
+
:param metric_rate: [DEPRECATED] The percentage-based metric for the calculation of the SLO. Required when the useRateMetric is set to true.
152
+
:param metric_numerator: [DEPRECATED] The metric for the count of successes (the numerator in rate calculation).Required when the useRateMetric is set to false.
153
+
:param metric_denominator: [DEPRECATED] The total count metric (the denominator in rate calculation). Required when the useRateMetric is set to false.
154
+
:param metric_expression: The percentage-based metric expression for the calculation of the SLO.
149
155
:param evaluation_type: The evaluation type of the SLO.
150
156
:param filter_: The entity filter for the SLO evaluation. Use the syntax of entity selector.
151
157
:param custom_description: The custom description of the SLO.
0 commit comments