Skip to content

[exporterhelper] Metrics for storage allocation #12894

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
djaglowski opened this issue Apr 18, 2025 · 1 comment · May be fixed by #13002
Open

[exporterhelper] Metrics for storage allocation #12894

djaglowski opened this issue Apr 18, 2025 · 1 comment · May be fixed by #13002

Comments

@djaglowski
Copy link
Member

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?

Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant