otel collector self monitoring
This commit is contained in:
parent
9ecead9899
commit
8a026f0055
1 changed files with 8 additions and 1 deletions
|
@ -10,6 +10,13 @@ receivers:
|
|||
endpoint: 0.0.0.0:4317
|
||||
http:
|
||||
endpoint: 0.0.0.0:4318
|
||||
prometheus/self:
|
||||
config:
|
||||
scrape_configs:
|
||||
- job_name: otel-collector-metrics
|
||||
scrape_interval: 10s
|
||||
static_configs:
|
||||
- targets: ["localhost:8888"]
|
||||
|
||||
processors:
|
||||
batch:
|
||||
|
@ -36,7 +43,7 @@ service:
|
|||
exporters:
|
||||
- otlp/tempo
|
||||
metrics:
|
||||
receivers: [otlp]
|
||||
receivers: [otlp, prometheus/self]
|
||||
processors: [batch]
|
||||
exporters:
|
||||
- prometheusremotewrite
|
||||
|
|
Loading…
Reference in a new issue