Skip to content

Feature request: Scraper/Writer #2

@lmangani

Description

@lmangani

The scheduler and config could be extended to support additional useful features:

  • optionally writing metrics directly to a remote_write endpoint
{
   "_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"
}
{
   "_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"
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions