Skip to content

Global and prerendered labels #149

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

Merged
merged 1 commit into from
Jan 11, 2023
Merged

Conversation

binarin
Copy link
Contributor

@binarin binarin commented Jan 11, 2023

Reworked #147 with tests

@binarin binarin force-pushed the global_and_prerendered_labels branch 2 times, most recently from 9f78b1c to cebfe99 Compare January 11, 2023 16:00
Without this change, a collector that pre-renders labels (like RabbitMQ)
will return `<<>>` in case there are no labels at all. That will create an
an improper list when an empty binary is appended to a list of global
labels. Rather than dealing with improper list later, let's just avoid
them.
@binarin binarin force-pushed the global_and_prerendered_labels branch from cebfe99 to 8fa48f3 Compare January 11, 2023 19:20
@deadtrickster deadtrickster merged commit 4e4a9fd into master Jan 11, 2023
@deadtrickster deadtrickster deleted the global_and_prerendered_labels branch January 11, 2023 21:53
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.

3 participants