-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtasks.example.yaml
More file actions
45 lines (40 loc) · 1.48 KB
/
tasks.example.yaml
File metadata and controls
45 lines (40 loc) · 1.48 KB
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
# Monitoring Tasks Configuration
# This is an example configuration - customize for your use case
structured_tasks:
# Example 1: Monitor user engagement
- name: user_engagement
cadence_hours: 24 # Run daily
question: "How many users were active in the last 24 hours compared to the daily median?"
alert_mode: "anomaly"
anomaly_threshold:
type: "percent_change"
value: 0.10 # Alert if 10% change
# Example 2: Track revenue
- name: daily_revenue
cadence_hours: 24 # Run daily
question: "What was total revenue yesterday compared to the average for this day of the week?"
alert_mode: "anomaly"
anomaly_threshold:
type: "dropoff"
value: 0.15 # Alert if revenue drops 15% or more
# Example 3: Monitor order volume
- name: order_volume
cadence_hours: 1 # Run hourly
question: "How many orders were placed in the last hour?"
alert_mode: "automatic" # Always alert with results
# Example 4: Track new signups
- name: new_signups
cadence_hours: 168 # Run weekly (7 days)
question: "How many new users signed up this week compared to last week?"
alert_mode: "anomaly"
anomaly_threshold:
type: "percent_change"
value: 0.20 # Alert if 20% change
# Creative Agent settings (exploratory questions)
creative_agent:
enabled: true
cadence_hours: 1 # Generate new questions hourly
alert_mode: "anomaly"
anomaly_threshold:
type: "general"
value: 0.05 # 5% threshold for anomaly detection