-
Notifications
You must be signed in to change notification settings - Fork 590
Closed
Labels
A-commonArea:common issues that not related to specific pillarArea:common issues that not related to specific pillarM-exporter-otlpenhancementNew feature or requestNew feature or requesthelp wantedGood for taking. Extra help will be provided by maintainers/approversGood for taking. Extra help will be provided by maintainers/approvers
Description
We are currently using open telemetry with the OTLP exporter. We get these sort of errors while batch-exporting:
OpenTelemetry trace error occurred. Exporter otlp encountered the following error(s): the grpc server returns error (Some resource has been exhausted): , detailed error message: grpc: received message larger than max (9074759 vs. 4194304)
Clearly we are sending too large spans. However, it's not easy to track down where the problematic spans are. It would be good if the error message included some information that could help diagnose the issues.
Logging all the span names is probably not a good idea, since there could be a lot of them. Some kind of sampling might help. Alternatively, for this specific error the approximate byte size of the spans could be tallied and logged if they are a significant fraction of the payload. This might be getting into too-specific solutions.
matthiasg
Metadata
Metadata
Assignees
Labels
A-commonArea:common issues that not related to specific pillarArea:common issues that not related to specific pillarM-exporter-otlpenhancementNew feature or requestNew feature or requesthelp wantedGood for taking. Extra help will be provided by maintainers/approversGood for taking. Extra help will be provided by maintainers/approvers