Troubleshooting RESOURCE_EXHAUSTED Errors in Phoenix Tracing
Hi Everyone, I'm getting continuous RESOURCE_EXHAUSTED errors when using Phoenix for tracing with a LangGraph application. - Phoenix auto-instrumentation with batch=True - Each agent request generates multiple spans (custom spans + LangChain auto-instrumentation + LangGraph execution spans). The problem: I see constant warnings like "Transient error StatusCode.RESOURCE_EXHAUSTED encountered while exporting traces to localhost:4317, retrying in 1s/2s/4s/8s/16s/32s..." has anyone else seen this issue? - Are there recommended rate limiting or batching configurations for high-volume applications? - Is there a way to sample traces (e.g., only send every 10th trace) to reduce load(maybe?)? - Can I filter out certain types of spans before they're sent to Phoenix?
