/metrics
DevelopingGET
/metricsLast modified:Â 4 months ago
Return a list of metrics available.
Results are returned in alphabetical order.
Request
None
Request samples
Responses
An example Response(200)
An example Response
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
status
object (API Response Status)Â
required
created_timestamp
integerÂ
required
Response created timestamp
created_string
stringÂ
required
Response created date/time string
duration
numberÂ
required
Duration of response, seconds
language
stringÂ
required
Language
timezone
object (Timezone)Â
required
code
enum<integer>Â
required
Response code, following HTTP status spec
Allowed values:
200202203204307400401404418500501
oldest_cached_component_age
integerÂ
required
Age in seconds of oldest cached component
session_id
stringÂ
required
Session id
org_onboarding_status_id
integer  | nullÂ
required
Org onboarding status id
api_host
string  | nullÂ
required
API host
user_onboarding_flags
object (User Onboarding Flags)Â
optional
org_upgraded
integer  | booleanÂ
required
data
objectÂ
required
metrics
array[string]
required
structured_metrics
array[object (Structured Metric) {2}]Â
required
Example
{
"status": {
"created_timestamp": 1657037477,
"created_string": "Tue 05 Jul 2022 @ 16:11 (UTC)",
"duration": 0.038,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 2845,
"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": {
"metrics": [
"demo_robustperception_io.prometheus.node_disk_io_time_seconds_total",
"demo_robustperception_io.prometheus.node_disk_io_time_weighted_seconds_total",
"demo_robustperception_io.prometheus.node_disk_read_time_seconds_total",
"demo_robustperception_io.prometheus.node_filesystem_free_bytes.device.dev.vda1",
"demo_robustperception_io.prometheus.node_forks_total",
"demo_robustperception_io.prometheus.node_load1",
"demo_robustperception_io.prometheus.node_load15",
"demo_robustperception_io.prometheus.node_load5",
"demo_robustperception_io.prometheus.node_memory_MemAvailable_bytes",
"demo_robustperception_io.prometheus.node_memory_MemFree_bytes",
"demo_robustperception_io.prometheus.node_network_receive_bytes_total.eth0",
"demo_robustperception_io.prometheus.node_network_receive_bytes_total.lo",
"demo_robustperception_io.prometheus.prometheus.promhttp_metric_handler_requests_total.200",
"encrypted_metrics.dGxXa3JybzNCaXM1ZzFxbmVTNzBLa1VHWkVkUHhrZEZDS3ZhTkdRckw0VXdPL0J2b3htUTAyM1NqWHFyTmxPSU5QTnNwdUVUT1d2YzlORVp5bGxQOUhYR01mWmp4TzVOdytiNEg4eVhoZW89",
"encrypted_metrics.QWl3YzhoSnBwTXBWUzlDTS9KSm43RFpHKy81R0RvZTVzY09FRHluVmVabCtyMFFWSUIwQk4yVFhvNHF2RnRrcGljelJuVllid21kVEJRUXNrdURPd2ZWMUhoT0p2Q3ROZTBjb2VnNHUzSUE9",
"encrypted_metrics.QWl3YzhoSnBwTXBWUzlDTS9KSm43S05mOFZiVHVNZ25qcGpuYmlaMk9xUDRsVHMrd3pwUnlYYWZ0YlhlYk1wclNxejY5SUprc1Y4Z1paVlRDUEIvMDI4anIzTTQ2R0pzS2Q4ampBSXE2Sms9",
"encrypted_metrics.QWl3YzhoSnBwTXBWUzlDTS9KSm43TEJ0aFJ0WUtDYWJ6Ukh6SVZMWFVrU3d4bjRYeU9xRng4MVlYcndnZWhmTnhadzA5OCtRcHRGYVdXRUEvc2sycWVySjEvRk1RMG54Vk1vbGtTbWRwTEk9",
"encrypted_metrics.T0xNeVNkeXF3NUMvTlpmbGFRTHdsMm9KQTl4bWFqWE8wVVNZRk9wQUxhN2VuZFZqazg4OE5Yb0hsU2FrVUIvVEwyQnVkR2llbmVPS2gxY2JyVWplNytxT1paTE5UY0ZyTDhqbWttSW5YTG89",
"encrypted_QWl3YzhoSnBwTXBWUzlDTS9KSm43RFpHKy81R0RvZTVzY09FRHluVmVabCtyMFFWSUIwQk4yVFhvNHF2RnRrcGljelJuVllid21kVEJRUXNrdURPd2ZWMUh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