curl --request GET \
--url https://tenant.chronosphere.io/api/v1/config/monitors \
--header 'API-Token: <api-key>'{
"monitors": [
{
"name": "<string>",
"annotations": {},
"bucket_slug": "<string>",
"collection": {
"slug": "<string>",
"type": "SIMPLE"
},
"collection_slug": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"graphite_query": "sumSeries(stats.timers.*.mean_90)",
"interval_secs": 123,
"labels": {},
"logging_query": "<string>",
"notification_policy_slug": "<string>",
"prometheus_query": "up{job=\"prometheus\"} == 0",
"schedule": {
"timezone": "<string>",
"weekly_schedule": {
"friday": {
"active": "ALL_DAY",
"ranges": [
{
"end_hh_mm": "<string>",
"start_hh_mm": "<string>"
}
]
},
"monday": {
"active": "ALL_DAY",
"ranges": [
{
"end_hh_mm": "<string>",
"start_hh_mm": "<string>"
}
]
},
"saturday": {
"active": "ALL_DAY",
"ranges": [
{
"end_hh_mm": "<string>",
"start_hh_mm": "<string>"
}
]
},
"sunday": {
"active": "ALL_DAY",
"ranges": [
{
"end_hh_mm": "<string>",
"start_hh_mm": "<string>"
}
]
},
"thursday": {
"active": "ALL_DAY",
"ranges": [
{
"end_hh_mm": "<string>",
"start_hh_mm": "<string>"
}
]
},
"tuesday": {
"active": "ALL_DAY",
"ranges": [
{
"end_hh_mm": "<string>",
"start_hh_mm": "<string>"
}
]
},
"wednesday": {
"active": "ALL_DAY",
"ranges": [
{
"end_hh_mm": "<string>",
"start_hh_mm": "<string>"
}
]
}
}
},
"series_conditions": {
"defaults": {
"critical": {
"conditions": [
{
"op": "GEQ",
"resolve_sustain_secs": 123,
"sustain_secs": 123,
"value": 123
}
]
},
"warn": {
"conditions": [
{
"op": "GEQ",
"resolve_sustain_secs": 123,
"sustain_secs": 123,
"value": 123
}
]
}
},
"overrides": [
{
"label_matchers": [
{
"name": "<string>",
"type": "EXACT",
"value": "<string>"
}
],
"severity_conditions": {
"critical": {
"conditions": [
{
"op": "GEQ",
"resolve_sustain_secs": 123,
"sustain_secs": 123,
"value": 123
}
]
},
"warn": {
"conditions": [
{
"op": "GEQ",
"resolve_sustain_secs": 123,
"sustain_secs": 123,
"value": 123
}
]
}
}
}
]
},
"signal_grouping": {
"label_names": [
"<string>"
],
"signal_per_series": true
},
"slug": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"page": {
"next_token": "<string>"
}
}curl --request GET \
--url https://tenant.chronosphere.io/api/v1/config/monitors \
--header 'API-Token: <api-key>'{
"monitors": [
{
"name": "<string>",
"annotations": {},
"bucket_slug": "<string>",
"collection": {
"slug": "<string>",
"type": "SIMPLE"
},
"collection_slug": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"graphite_query": "sumSeries(stats.timers.*.mean_90)",
"interval_secs": 123,
"labels": {},
"logging_query": "<string>",
"notification_policy_slug": "<string>",
"prometheus_query": "up{job=\"prometheus\"} == 0",
"schedule": {
"timezone": "<string>",
"weekly_schedule": {
"friday": {
"active": "ALL_DAY",
"ranges": [
{
"end_hh_mm": "<string>",
"start_hh_mm": "<string>"
}
]
},
"monday": {
"active": "ALL_DAY",
"ranges": [
{
"end_hh_mm": "<string>",
"start_hh_mm": "<string>"
}
]
},
"saturday": {
"active": "ALL_DAY",
"ranges": [
{
"end_hh_mm": "<string>",
"start_hh_mm": "<string>"
}
]
},
"sunday": {
"active": "ALL_DAY",
"ranges": [
{
"end_hh_mm": "<string>",
"start_hh_mm": "<string>"
}
]
},
"thursday": {
"active": "ALL_DAY",
"ranges": [
{
"end_hh_mm": "<string>",
"start_hh_mm": "<string>"
}
]
},
"tuesday": {
"active": "ALL_DAY",
"ranges": [
{
"end_hh_mm": "<string>",
"start_hh_mm": "<string>"
}
]
},
"wednesday": {
"active": "ALL_DAY",
"ranges": [
{
"end_hh_mm": "<string>",
"start_hh_mm": "<string>"
}
]
}
}
},
"series_conditions": {
"defaults": {
"critical": {
"conditions": [
{
"op": "GEQ",
"resolve_sustain_secs": 123,
"sustain_secs": 123,
"value": 123
}
]
},
"warn": {
"conditions": [
{
"op": "GEQ",
"resolve_sustain_secs": 123,
"sustain_secs": 123,
"value": 123
}
]
}
},
"overrides": [
{
"label_matchers": [
{
"name": "<string>",
"type": "EXACT",
"value": "<string>"
}
],
"severity_conditions": {
"critical": {
"conditions": [
{
"op": "GEQ",
"resolve_sustain_secs": 123,
"sustain_secs": 123,
"value": 123
}
]
},
"warn": {
"conditions": [
{
"op": "GEQ",
"resolve_sustain_secs": 123,
"sustain_secs": 123,
"value": 123
}
]
}
}
}
]
},
"signal_grouping": {
"label_names": [
"<string>"
],
"signal_per_series": true
},
"slug": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"page": {
"next_token": "<string>"
}
}Chronosphere API token
Sets the preferred number of items to return per page. If set to 0, the
server will use its default value. Regardless of the value specified, clients
must never assume how many items will be returned.
An opaque page token that identifies which page the client should request. An empty value indicates the first page.
Filters results by slug, where any Monitor with a matching slug in the given list (and matches all other filters) will be returned.
Filters results by bucket_slug, where any Monitor with a matching bucket_slug in the given list (and matches all other filters) will be returned.
Filters results by collection_slug, where any Monitor with a matching collection_slug in the given list (and matches all other filters) will be returned.
Filters results by name, where any Monitor with a matching name in the given list (and matches all other filters) will be returned.
Filter returned monitors by the teams that own the collections that they belong to.