Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Buffer limit API for message events, links, and annotations? #138

@jgracenin

Description

@jgracenin

I have a Go service with a long running stream that had a memory leak due to unbounded storage of
message events. This was a known limitation: census-instrumentation/opencensus-go#401

gRPC's MAX_CONNECTION_AGE would help, but I also made a quick fork with a limit on message events, annotations, and links: census-instrumentation/opencensus-go#824 .

Do any other language implementations already limit these internal structures yet (events, links annotations) yet?

The PR also sparked a larger discussion on more granular limits for some future features (e.g. classified events, links annotations), but that's a larger API change and is probably better to be discussed here.

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