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
|
endpoint: 0.0.0.0:4317
|
||||||
http:
|
http:
|
||||||
endpoint: 0.0.0.0:4318
|
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:
|
processors:
|
||||||
batch:
|
batch:
|
||||||
|
@ -36,7 +43,7 @@ service:
|
||||||
exporters:
|
exporters:
|
||||||
- otlp/tempo
|
- otlp/tempo
|
||||||
metrics:
|
metrics:
|
||||||
receivers: [otlp]
|
receivers: [otlp, prometheus/self]
|
||||||
processors: [batch]
|
processors: [batch]
|
||||||
exporters:
|
exporters:
|
||||||
- prometheusremotewrite
|
- prometheusremotewrite
|
||||||
|
|
Loading…
Reference in a new issue