jaeger-operator
jaeger-operator copied to clipboard
ThriftSender received a span that was too large
Describe the bug
ThriftSender received a span that was too large, size = 278492, max = 64842
in the app logs.
To Reproduce Steps to reproduce the behavior:
- Install Jaeger Operator in Kubernetes
- Add sidecar container in app with jaeger-client
- In app logs i see "ThriftSender received a span that was too large, size = 278492, max = 64842"
Version (please complete the following information):
- OS: Linux
- Jaeger version: 1.27
- Deployment: Kubernetes
Additional context
On the app side in logs i see "ThriftSender received a span that was too large, size = 278492, max = 64842". In this document https://www.jaegertracing.io/docs/1.28/performance-tuning/#adjust-server-queue-sizes I read, in order to avoid this error on the application side, you need to change the parameter for sidecar jaeger-agent - --processor.jaeger-binary.server-max-packet-size
How can i change processor.jaeger-binary.server-max-packet-size
in sidecar jaeger-agent?
In Kubernetes sidecar jaeger-agent i add with:
metadata:
name: <app_name>
annotations:
"sidecar.jaegertracing.io/inject": "true"
I've got the same issue.
Hey, this can be specified using the JaegerCR. e.g.
apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
name: simplest
spec:
agent:
options:
processor:
jaeger-binary:
server-max-packet-size: 1234
You can verify your option using kubectl describe pod ${pod-name}
.
Containers:
jaeger-agent:
Args:
--processor.jaeger-binary.server-max-packet-size=1234
Can we close this issue?
I can't testing it now. But i think u can close this issue.
@AlKapkone can you verify it?
I would like to understand why a span is too large?