Slackbot
02/23/2024, 5:19 PMEric Thompson
02/23/2024, 5:39 PMEric Thompson
02/23/2024, 5:41 PMotelCollector:
config:
receivers:
prometheus:
config:
global:
scrape_interval: 30s # Adjust this interval as needed
# need 1 scape config per monitored cluster
# each job is executed in parallel and the targets inside them are executed serially
scrape_configs:
# monitor dev
- job_name: 'my-job'
static_configs:
- targets: ['prometheus_service_name:metrics_port']
labels:
customer: dev
service:
pipelines:
metrics:
receivers: [otlp, prometheus]
processors: [batch]
exporters: [clickhousemetricswrite]
Emily
02/26/2024, 3:24 PM