/grafana/{metric_name}/{panel_name}
DevelopingGET
/grafana/metric/{metric_name}/{panel_name}Last modified: 2 months ago
Work in progress.
Request
Path Params
metric_name
string
required
panel_name
string
required
Request samples
Responses
An example Response(200)
An example Response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"status": {
"created_timestamp": 1657043591,
"created_string": "Tue 05 Jul 2022 @ 17:53 (UTC)",
"duration": 0.393,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 8987715,
"session_id": "9574317bd9284de6d6d21f1cc6d128ce",
"org_onboarding_status_id": 300,
"api_host": "api-stage.anomify.ai",
"user_onboarding_flags": {
"main_intro": false,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
},
"data": {
"metric": {
"id": 699,
"metric": "graphite-labs_wikimedia_org.cloudinfra.cloud-cumin-01.cpu.total.idle",
"total_anomalies": 67,
"total_patterns": 2,
"total_pattern_matches": 2,
"created_timestamp": 1584626685,
"created_timestamp_string": "March 19th 2020",
"trainable": true
},
"last_analyzed_timestamp": null,
"last_analyzed_timestamp_string": null,
"matching_watchers": [
{
"id": 269,
"name": "CPU metrics for cloubdb1003",
"is_alert": true,
"is_deleted": false,
"owner": {
"id": 151,
"org_id": 101,
"name": "101 Admin-account user",
"email": "aa-admin+101@anomalarm.io",
"phone_number": "+447928242424",
"slack_member_id": "UCGSXGR7X",
"demo": false,
"admin": true,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": true
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": true,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
}
},
{
"id": 270,
"name": "CPU metrics from Graphite",
"is_alert": true,
"is_deleted": false,
"owner": {
"id": 151,
"org_id": 101,
"name": "101 Admin-account user",
"email": "aa-admin+101@anomalarm.io",
"phone_number": "+447928242424",
"slack_member_id": "UCGSXGR7X",
"demo": false,
"admin": true,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": true
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": true,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
}
},
{
"id": 266,
"name": "hello",
"is_alert": true,
"is_deleted": false,
"owner": {
"id": 103,
"org_id": 101,
"name": "Tom Riley",
"email": "tom@anomalarm.io",
"phone_number": "",
"slack_member_id": "U1626QWFK",
"demo": false,
"admin": true,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": true
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": true,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
}
},
{
"id": 265,
"name": "MY TEST",
"is_alert": true,
"is_deleted": false,
"owner": {
"id": 103,
"org_id": 101,
"name": "Tom Riley",
"email": "tom@anomalarm.io",
"phone_number": "",
"slack_member_id": "U1626QWFK",
"demo": false,
"admin": true,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": true
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": true,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
}
},
{
"id": 264,
"name": "THIS IS A TEST ALERT",
"is_alert": true,
"is_deleted": false,
"owner": {
"id": 103,
"org_id": 101,
"name": "Tom Riley",
"email": "tom@anomalarm.io",
"phone_number": "",
"slack_member_id": "U1626QWFK",
"demo": false,
"admin": true,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": true
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": true,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
}
},
{
"id": 181,
"name": "Will removed slack member Id & email so should not receive this alert as a slack notification or email",
"is_alert": true,
"is_deleted": false,
"owner": {
"id": 102,
"org_id": 101,
"name": "Will Floutier",
"email": "will@anomalarm.io",
"phone_number": null,
"slack_member_id": null,
"demo": false,
"admin": true,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": true
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
}
},
{
"id": 281,
"name": "Will TEST?!",
"is_alert": true,
"is_deleted": false,
"owner": {
"id": 151,
"org_id": 101,
"name": "101 Admin-account user",
"email": "aa-admin+101@anomalarm.io",
"phone_number": "+447928242424",
"slack_member_id": "UCGSXGR7X",
"demo": false,
"admin": true,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": true
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": true,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
}
},
{
"id": 302,
"name": "Will Two alert Test.",
"is_alert": true,
"is_deleted": false,
"owner": {
"id": 328,
"org_id": 101,
"name": "",
"email": "will+101@anomalarm.io",
"phone_number": null,
"slack_member_id": null,
"demo": false,
"admin": false,
"org": {
"id": 101,
"name": "Anomify",
"timezone": "UTC",
"alert_muting": {
"muted": false,
"muted_until_timestamp": null,
"muted_until_timestamp_string": null,
"minutes_remaining": null
},
"onboarding_status_id": 300,
"connected_services": {
"slack": true,
"ms_teams": false
}
},
"notifications": {
"email_alerts": false
},
"onboarding_flags": {
"main_intro": true,
"alerts_intro": true,
"alerts_from_search": true,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": false
}
}
}
]
}
}
Last modified: 2 months ago