-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
The scheduler and config could be extended to support additional useful features:
- optionally writing metrics directly to a
remote_writeendpoint
{
"_info": "Custom Metrics from Clickhouse to remote_write",
"name": "my_status",
"help": "My Status",
"query": "SELECT status, group, count(*) as counter FROM my_index ...",
"labels": ["status","group"],
"counter_name": "counter",
"refresh": "60s",
"type":"gauge",
"remote_write": "http://qryn:3100/api/prom/remote/write"
}
- optionally using the scheduler to pull remote metrics and convert to writes
{
"_info": "Remote Scraper to Local Writer",
"name": "my_scraper",
"refresh": "60s",
"source":"http://target:9096/metrics",
"remote_write": "http://qryn:3100/api/prom/remote/write"
}
Reactions are currently unavailable