mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 22:12:23 +00:00
fe72e9fecd
- 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>
34 lines
862 B
Plaintext
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
|
|
}
|
|
}
|
|
} |