opencensus-python
opencensus-python copied to clipboard
Data exceeds the max UDP packet size
Describe your environment.
- Latest version 0.5.0.
- With Django ext.
- Configurations
OPENCENSUS = {
'TRACE': {
'SAMPLER': 'opencensus.trace.samplers.ProbabilitySampler(rate=1.0)',
'EXPORTER': '''opencensus.ext.jaeger.trace_exporter.JaegerExporter(
service_name='okr',
agent_host_name='128.0.0.1',
agent_port=6831,
transport=opencensus.common.transports.async_.AsyncTransport
)''',
}
}
Steps to reproduce. My use case is: to trace Graphql requests which contain so many fields (with corresponding resolvers).
What is the expected behavior? As @reyang suggested to treat max_batch_size as the threshold to trigger exporter, could be a good option.
What is the actual behavior?
WARNING Data exceeds the max UDP packet size; size 90445, max 65000
WARNING Data exceeds the max UDP packet size; size 98349, max 65000
cc @c24t
https://github.com/census-instrumentation/opencensus-python/issues/522#issuecomment-489366988
Seems to be fixed in opentelemetry by https://github.com/open-telemetry/opentelemetry-python/pull/1500 (if anyone like me ends up here web-searching the error)