Skip to content

[exporterhelper] Metrics for storage allocation #12894

@djaglowski

Description

@djaglowski

Component(s)

exporter/exporterhelper

Describe the issue you're reporting

One of the challenges I have heard several times is that it is difficult for users to determine the appropriate amount of storage space to allocate for the sending queue.

The answer will of course depend on the choice of storage extension, but we could provide metrics which are quite helpful in establishing a reasonable estimate.

We already have exporter_queue_size which reports the number of batches in the queue. However, without also knowing the size of these batches it is not possible to calculate the raw size of this data.

Would it make sense to add an optional histogram metric which records the size in bytes of each batch added to the queue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions