Skip to content
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

Encode labels once during checkpoint #572

Merged
merged 2 commits into from
Mar 20, 2020

Conversation

krnowak
Copy link
Member

@krnowak krnowak commented Mar 20, 2020

The checkpoint function is executed in a single thread so we can do
the encoding lazily before passing the encoded version of labels to
the exporter. This is a cheap and quick way to avoid encoding the
labels on every collection interval.

This is to address the second point in #539.

The `checkpoint` function is executed in a single thread so we can do
the encoding lazily before passing the encoded version of labels to
the exporter. This is a cheap and quick way to avoid encoding the
labels on every collection interval.
@rghetia rghetia merged commit cc756f6 into open-telemetry:master Mar 20, 2020
@krnowak krnowak deleted the encode-labels-once branch March 20, 2020 17:04
@pellared pellared added this to the untracked milestone Nov 8, 2024
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 this pull request may close these issues.

4 participants