File tree Expand file tree Collapse file tree 2 files changed +27
-8
lines changed
config/samples/v1alpha1/slos Expand file tree Collapse file tree 2 files changed +27
-8
lines changed Original file line number Diff line number Diff line change @@ -3,19 +3,14 @@ kind: SLO
33metadata :
44 labels :
55 app.kubernetes.io/name : coralogix-operator
6- app.kubernetes.io/instance : tco-logs-policies -sample
6+ app.kubernetes.io/instance : slo -sample
77 app.kubernetes.io/part-of : coralogix-operator
88 app.kubernetes.io/managed-by : kustomize
99 app.kubernetes.io/created-by : coralogix-operator
10- name : coralogix -slo-example
10+ name : request-based -slo-example
1111spec :
12- name : coralogix_slo_example
12+ name : request-based-slo-example
1313 description : Coralogix SLO example
14- labels :
15- app.kubernetes.io/part-of : coralogix-operator
16- app.kubernetes.io/instance : tco-logs-policies-sample
17- app.kubernetes.io/created-by : coralogix-operator
18- app.kubernetes.io/managed-by : kustomize
1914 sliType :
2015 requestBasedMetric :
2116 goodEvents :
Original file line number Diff line number Diff line change 1+ apiVersion : coralogix.com/v1alpha1
2+ kind : SLO
3+ metadata :
4+ labels :
5+ app.kubernetes.io/name : coralogix-operator
6+ app.kubernetes.io/instance : slo-sample
7+ app.kubernetes.io/part-of : coralogix-operator
8+ app.kubernetes.io/managed-by : kustomize
9+ app.kubernetes.io/created-by : coralogix-operator
10+ name : window-based-slo-example
11+ spec :
12+ name : window-based-slo-example
13+ description : Coralogix SLO example
14+ sliType :
15+ windowBasedMetric :
16+ query :
17+ query : sum(rate(coralogix_logs_events_total{app="coralogix-slo-example", status="success"}[10m]))
18+ window : 1m
19+ comparisonOperator : greaterThan
20+ threshold : " 0.232"
21+ window :
22+ timeFrame : 7d
23+ targetThresholdPercentage : 10
24+
You can’t perform that action at this time.
0 commit comments