You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem
When the collector fails due to memory_limiter, the agent receives a 500 status code. This status code is not retryable, and the error sometimes resolves within minutes, especially after creating one more collector's instance through autoscaling.
The solution
We propose making the memory_limiter and otlp_receiver return a 503 status code instead of 500 in situations where the failure is temporary and expected to be resolved shortly.
Benefits:
makes the situation retryable, allowing the agent to attempt a new connection after a brief delay.
aligns with common HTTP status code semantics, indicating that the service is temporarily unavailable.
The text was updated successfully, but these errors were encountered:
…rrors (#9357)
**Description:**
Updates the receiver's http response to return a proper http status
based on whether or not the pipeline returned a retryable error. Builds
upon the work done in
#8080 and
#9307
**Link to tracking Issue:**
Closes#9337Closes#8132Closes#9636Closes#6725
**Testing:**
Updated lots of unit tests
The problem
When the collector fails due to memory_limiter, the agent receives a 500 status code. This status code is not retryable, and the error sometimes resolves within minutes, especially after creating one more collector's instance through autoscaling.
The solution
We propose making the
memory_limiter
andotlp_receiver
return a 503 status code instead of 500 in situations where the failure is temporary and expected to be resolved shortly.Benefits:
The text was updated successfully, but these errors were encountered: