Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Add overflow mb limit to the client #8

@norberttech

Description

@norberttech

Currently there is no limit on how large telemetry client queue can grow. If used in some long running backend processes it can even cause memory overflow that could break the process.

I think we should look for a way to tell client to do auto flush when queue size is greater than 5mb (this value should be configurable).

To reduce resource consumption we can try to calculate each new entry size and then just increase the current size pointer in the client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions