-
Notifications
You must be signed in to change notification settings - Fork 7
/
logs-req-calendar.yaml
46 lines (46 loc) · 1.2 KB
/
logs-req-calendar.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
apiVersion: openslo/v1
kind: SLO
metadata:
name: drift_gen_Calendar
displayName: DriftGen SLO Calendar
annotations:
sumologic/signal-type: Latency
spec:
description: test slo created from slogen
service: tsat
budgetingMethod: Occurrences
indicator:
metadata:
name: driftgen-latency-calendar
displayName: DriftGen Latency Calendar
spec:
ratioMetric:
counter: true
good:
metricSource:
type: sumologic-logs
metricSourceRef: sumologic-datasource
spec:
query: |
_sourceCategory=tsat-batcher
| where msg="DriftGen query completed" and duration_ms < 400
total:
metricSource:
type: sumologic-logs
metricSourceRef: sumologic-datasource
spec:
query: |
_sourceCategory=tsat-batcher
| where msg="DriftGen query completed"
timeWindow:
- duration: Week
isRolling: false
calendar:
startTime: Monday
timeZone: America/New_York
objectives:
- displayName: Foo Total Errors
target: 0.98
alertPolicies:
- High-Burn-Rate
- SLA-breach