OpenTelemetry (gRPC) Input is listening on UDP instead of TCP
Expected Behavior
gRPC works over TCP
Current Behavior
From the UI:
This Input is listening for: UDP Traffic.
OTLP collection is unable to connect to send data
Possible Solution
Steps to Reproduce (for bugs)
Enable OpenTelemetry (gRPC) Input
Context
Your Environment
- Graylog Version: 6.2.2+13ba949
- Java Version: 17.0.15
- OpenSearch Version:
- MongoDB Version:
- Operating System:
- Browser version:
The input is actually listening on TCP, but the input diagnosis page shows UDP. We need to figure out why that is.
Add this here from the closed duplicate issue:
The diagnosis page logic is checking for the existence of the tcp_keepalive input attribute to determine the protocol. tcp_keepalive is not configurable for the OpenTelemetry Input so UDP is always shown.
https://github.com/Graylog2/graylog2-server/blob/4ec26333a3029ecb9e9817a6f512203acfdb0321/graylog2-web-interface/src/pages/InputDiagnosisPage.tsx#L286
Thank you!