-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
77 lines (77 loc) · 2.09 KB
/
Copy pathconfig.example.json
File metadata and controls
77 lines (77 loc) · 2.09 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"projects": [
{
"name": "my-web-app",
"railwayToken": "YOUR_RAILWAY_PROJECT_TOKEN_OR_ENV_VAR",
"logRetentionHours": 6,
"analysisPrompt": "Focus on HTTP errors, database connection issues, and performance degradation patterns.",
"services": [
{
"name": "api",
"githubRepo": {
"owner": "your-org",
"repo": "my-web-app",
"defaultAssignees": ["dev-lead"],
"labels": ["bug", "production", "api"]
}
},
{
"name": "worker",
"githubRepo": {
"owner": "your-org",
"repo": "my-web-app",
"defaultAssignees": ["backend-team"],
"labels": ["bug", "production", "worker"]
}
}
]
},
{
"name": "data-pipeline",
"railwayToken": "YOUR_RAILWAY_PROJECT_TOKEN_OR_ENV_VAR",
"logRetentionHours": 12,
"analysisPrompt": "Look for data processing errors, pipeline failures, and data quality issues.",
"services": [
{
"name": "processor",
"githubRepo": {
"owner": "your-org",
"repo": "data-pipeline",
"defaultAssignees": ["data-team"],
"labels": ["bug", "production", "data"]
}
}
]
}
],
"alerts": {
"severityThreshold": "medium",
"telegram": {
"botToken": "YOUR_TELEGRAM_BOT_TOKEN_OR_ENV_VAR",
"chatId": "YOUR_TELEGRAM_CHAT_ID",
"enabled": true
},
"email": {
"smtpHost": "smtp.gmail.com",
"smtpPort": 587,
"username": "your-email@gmail.com",
"password": "YOUR_EMAIL_PASSWORD_OR_ENV_VAR",
"to": ["team@company.com", "devops@company.com"],
"enabled": true
},
"github": {
"token": "YOUR_GITHUB_TOKEN_OR_ENV_VAR",
"enabled": true,
"createIssueThreshold": "medium",
"deduplicationWindow": 24
}
},
"anthropic": {
"apiKey": "YOUR_ANTHROPIC_API_KEY_OR_ENV_VAR",
"model": "claude-3-5-sonnet-20241022"
},
"schedule": {
"enabled": true,
"interval": "*/15 * * * *"
}
}