Skip to content

Adjust rate-limit usage on partial ingestion failure #3890

Open
@bboreham

Description

@bboreham

After #3825 (since reverted), any failure to ingest samples will cause the rate-limit reservation to be canceled.
However it is quite possible in Cortex that some samples were accepted and some rejected; we can only send one result back to the caller so we send an error.

I think we would need a special gRPC error object to carry back the count of succeeded/failed samples to get this more accurate.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions