/exclusion/list
DevelopingGET
/exclusion/listLast modified: a year ago
List current metric exclusion patterns.
Request
None
Request samples
Responses
An example Response(200)
An example Response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
#/definitions/875319required
data
object
required
exclusions
array [object]
required
Example
{
"status": {
"created_timestamp": 1671534294,
"created_string": "Tue 20 Dec 2022 @ 11:04 (GMT)",
"duration": 0.195,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "Europe/London"
},
"code": 200,
"oldest_cached_component_age": 378,
"session_id": "bfd9b49b4048f7ee1be8d8937ba01211",
"org_onboarding_status_id": 300,
"api_host": "anomalarm.dev.dropbox.dev.local",
"user_onboarding_flags": {
"main_intro": false,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false,
"alert_created": false,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": false
}
},
"data": {
"exclusions": [
{
"id": "1",
"pattern": "^nginx.*status_code=\"(4.*|5.*).*",
"type_id": "1",
"type_key": "learn_repetitive_patterns"
},
{
"id": "2",
"pattern": "^app{.*error.*",
"type_id": "1",
"type_key": "learn_repetitive_patterns"
}
]
}
}
Last modified: a year ago