Config API
cURL
curl --request GET \ --url https://{tenant}.chronosphere.io/api/v1/config/derived-metrics/{slug} \ --header 'API-Token: <api-key>'
{ "derived_metric": { "metric_name": "cpu_usage:instance", "name": "<string>", "queries": [ { "query": { "prometheus_expr": "cpu_usage{$service, $instance} / sum(cpu_usage{$service})", "variables": [ { "default_prometheus_selector": "service=~\".*\"", "name": "service" } ] }, "selector": { "labels": [ { "name": "<string>", "type": "EXACT", "value": "<string>" } ] } } ], "created_at": "2023-11-07T05:31:56Z", "description": "<string>", "slug": "<string>", "updated_at": "2023-11-07T05:31:56Z" } }
Documentation IndexFetch the complete documentation index at: https://docs.chronosphere.io/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.chronosphere.io/llms.txt
Use this file to discover all available pages before exploring further.
Chronosphere API token
A successful response.
Show child attributes