Files
pulse/data/alert-rules.json.template
T
root fe72e9fecd security: prevent user settings from being committed to repository
- Add data/alert-rules.json to .gitignore to prevent custom alerts from being tracked
- Add data/custom-thresholds.json to .gitignore to prevent user threshold configs from being tracked
- Remove previously committed user-specific alert rules and threshold configurations
- Create template files showing expected structure without sensitive user data
- Ensures user privacy and prevents accidental exposure of monitoring configurations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-07 16:34:35 +01:00

34 lines
862 B
Plaintext

{
"_readme": "This is a template file. Custom alert rules will be stored in alert-rules.json (not tracked by git)",
"_example": {
"compound_example_123": {
"id": "compound_example_123",
"condition": "greater_than",
"duration": 5000,
"severity": "warning",
"enabled": true,
"tags": [],
"group": "compound_threshold",
"escalationTime": 900000,
"autoResolve": false,
"suppressionTime": 300000,
"notificationChannels": [
"default"
],
"type": "compound_threshold",
"name": "Example Alert",
"targetType": "all",
"specificTarget": "",
"thresholds": [
{
"type": "cpu",
"operator": ">",
"value": 80
}
],
"sendEmail": true,
"sendWebhook": false,
"createdAt": 1749159848648
}
}
}