-
I am running two docker containers, interconnected via a Docker network. Container1 contains OTEL-SDK-Java-instrumented app, Container2 contains OTEL-Collector. OTEL-SDK-Java says: Config: receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
hostmetrics:
root_path: /
scrapers:
cpu:
memory:
metrics:
system.memory.utilization:
enabled: true
filesystem:
metrics:
system.filesystem.utilization:
enabled: true
processors:
batch:
exporters:
otlphttp:
endpoint: https://...
service:
pipelines:
metrics:
receivers: [hostmetrics]
processors: [batch]
exporters: [otlphttp] Indeed What am I doing wrong? How to actually enable ports 4317 and 4318 in the OTEL-COLLECTOR? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answering myself: Silly me, apparently I missed to mention
|
Beta Was this translation helpful? Give feedback.
Answering myself: Silly me, apparently I missed to mention
otlp
in the pipeline... 🤦 The solution is as-easy-as: