Documentation Index
Fetch the complete documentation index at: https://docs.flashcat.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Core Uses
Labels are used throughout Flashduty On-call’s alert processing workflow:| Scenario | Use |
|---|---|
| Incident Filtering | Quickly filter by labels in incident list |
| Route Distribution | Route alerts to different channels based on labels |
| Assignment Notification | Match different escalation rules by labels |
| Alert Grouping | Group similar alerts by label dimensions |
| Silence/Inhibition | Match alerts to silence or inhibit by labels |
Configure Label Enhancement
Go to Integration Details → Label Enhancement → Add Rule.Enhancement Types
| Type | Description | Example |
|---|---|---|
| Extract | Extract content from title/description/labels using regex | Extract IP address from description |
| Combine | Concatenate new labels using template syntax | Combine domain + event ID to generate log link |
| Map | Convert values to readable names via mapping table | Map resource ID to resource type |
| Delete | Remove specified labels | Delete sensitive info labels |

Configuration Options
| Option | Description |
|---|---|
| Condition | Only applies to alerts matching conditions, see Configure Filter Conditions |
| Overwrite | When enabled, overwrites labels with same name; disabled by default |
| Preview | Preview rule effects using real alerts |
Configuration Examples
- Label Extraction
- Label Combination
- Label Mapping
Mapping Data Management
Mapping Table Data Management
In the mapping table details page, you can manage mapping table data:| Feature | Description |
|---|---|
| Data Search | Search by source label value |
| Data Add | Manually add mapping data |
| Data Upload | Upload new data mapping table, will overwrite existing data |
| Data Download | Download current mapping table data locally |
| Data Display | Display current mapping table data, can edit or delete |

Mapping Service API Specification
When using API mapping, your external API service must follow these specifications:Request Specification
Flashduty will call your API viaPOST method with the following request body:
| Field | Type | Description |
|---|---|---|
result_label_keys | array[string] | List of expected label names to return, configured by user in the rule |
event | object | Complete information of the current alert event |
Response Specification
The API must return a JSON response in the following format: Success Response (HTTP 200):| Response Code | Description |
|---|---|
200 OK | Success, returns result_labels object |
404 Not Found | No matching data found |
400 Bad Request | Invalid request format |
5xx | Internal server error |
If a requested label cannot find a corresponding value, the API should not include that key in
result_labels.Security Constraints
For security purposes, the following HTTP Headers are prohibited in mapping services:| Category | Prohibited Headers |
|---|---|
| Authentication | authorization, proxy-authorization, cookie, x-api-key, x-access-token |
| IP Spoofing | x-forwarded-for, x-real-ip, true-client-ip, x-client-ip |
| Host & Routing | host, x-forwarded-host, x-forwarded-proto, x-internal-id, x-user-id |
| Protocol Related | transfer-encoding, upgrade, connection |
Best Practices
- Performance First: The API is on the critical path of alert processing, must ensure low latency (recommended < 500ms)
- Implement Caching: For identical query conditions, implement caching to improve performance
- Idempotent Design: Multiple calls for the same event should return identical results
- Secure Authentication: API must be protected by authentication mechanisms to prevent unauthorized access
Further Reading
Configure Escalation Rules
Use labels to match escalation conditions
Configure Noise Reduction
Use labels as grouping dimensions
Configure Filter Conditions
Learn label matching syntax
Configure Routing Rules
Distribute alerts to different channels









