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

pkg/parcacol: Improve sparse labelset ingestion #2201

Merged
merged 2 commits into from
Nov 30, 2022
Merged

Conversation

metalmatze
Copy link
Member

This is especially important when requests with various series exist where some series might not have labels in their labelset, however, the overall buffer written to storage has these label names available as column.

This is especially important when request with various series exist where some series might not have labels in their labelset, however the overall buffer written to storage has these label names available as column.
pkg/parcacol/sample.go Outdated Show resolved Hide resolved
I stopped converting labels.Labels to map[string]string in the separateNameFromLabels. It seem like a good abstraction there still.
@brancz brancz merged commit cd2e171 into main Nov 30, 2022
@metalmatze metalmatze deleted the storage-labelnames branch November 30, 2022 16:13
fabxc pushed a commit to fabxc/parca that referenced this pull request Dec 5, 2022
* pkg/parcacol: Pass labelset names to consistently ingest labels

This is especially important when request with various series exist where some series might not have labels in their labelset, however the overall buffer written to storage has these label names available as column.

* pkg: Pass labelset as map[string]string for quicker access

I stopped converting labels.Labels to map[string]string in the separateNameFromLabels. It seem like a good abstraction there still.
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.

2 participants