Skip to content

Add throttling / backpressure and correct error handling to OTLP receiver #669

@tigrannajaryan

Description

@tigrannajaryan

OTLP must throttle the clients when it receives a backpressure from the pipeline (e.g. memory_limiter).

Must comply with OTLP spec and use gRPC status codes + RetryInfo (see the spec).

Also currently does not seem to correctly handle non-permanent errors returned by next consumer. We return 500, which according to OTLP spec means client will not retry. This means we will lose data.

Instead for retryable errors we must return 503 and for permanent errors must return 400 or similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalearea:receiverhelp wantedGood issue for contributors to OpenTelemetry Service to pick up

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions