Opentelemetry in Vector #22959
Unanswered
Padmashankari
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@pront do you have any idea about this! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In vector, we have source 'opentelemetry' which supports otlp grpc and http.https://vector.dev/docs/reference/configuration/sources/opentelemetry/
This is the process we followed.
Need: Directly send pod logs to port or socket instead writing in file system, no need to set otel-collect, get logs in vector via otel port and process it.
Current setup:
From pod side:
this sending logs to 4318 port (shows logs as:
2025-04-16T15:56:45.456333Z info model Full push, new service vector/vector.vector.svc.cluster.local
2025-04-16T15:56:45.994525Z info model Full push, service accounts changed, vector.vector.svc.cluster.local
2025-04-16T15:56:53.258159Z info ads Push debounce stable[4] 1 for config ServiceEntry/vector/vector.vector.svc.cluster.local: 100.709056ms since last change, 100.708992ms since last push, full=false
From vector side:
configured vector file as
And the port 4318 is exposed as cluster-IP.
Here vector pod is running without any errors
Problem: But the source is empty while using
vector top
. logs are not being able to receive from vector side.Question:
Is it possible to send logs to vector without
otel-collector
?If yes, does normal proxy log format will support from vector side, which protocol grpc or http is better.
Beta Was this translation helpful? Give feedback.
All reactions