12345678910111213141516171819202122 |
- prometheus:
- prometheus/customname:
- trim_metric_suffixes: true
- use_start_time_metric: true
- start_time_metric_regex: '^(.+_)*process_start_time_seconds$'
- report_extra_scrape_metrics: true
- enable_protobuf_negotiation: true
- target_allocator:
- endpoint: http://my-targetallocator-service
- interval: 30s
- collector_id: collector-1
- # imported struct from the Prometheus code base. Can be used optionally to configure the jobs as seen in the docs
- # https://prometheus.io/docs/prometheus/latest/configuration/configuration/#http_sd_config
- http_sd_config:
- refresh_interval: 60s
- basic_auth:
- username: prometheus
- password: changeme
- config:
- scrape_configs:
- - job_name: 'demo'
- scrape_interval: 5s
|