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

Add Regular Expression Parser to Carbon Receiver #129

Merged

Conversation

pjanotti
Copy link
Contributor

Adding a parser to Carbon receiver that allows extracting label keys and values from the metric "path" on the Carbon format. This is useful to break hierarchical path names used in Carbon to label keys and values while also allowing renaming the metrics.

Refactored the plaintext parser so the code handling the Carbon "line" was shared between the parsers that only treat the "metric path" differently - no changes to that code it was just moved to its own type.

Adding a parser to Carbon receiver that allows to extract label keys and values from the metric "path".
@pjanotti pjanotti merged commit 964ac71 into open-telemetry:master Feb 21, 2020
@pjanotti pjanotti deleted the add-regex-parser-to-carbon-receiver branch February 21, 2020 17:46
ljmsc referenced this pull request in ljmsc/opentelemetry-collector-contrib Feb 21, 2022
codeboten pushed a commit that referenced this pull request Nov 23, 2022
Creating an example app that showcases how an application integrates with opentelemetry.
codeboten pushed a commit that referenced this pull request Nov 23, 2022
vastin pushed a commit to vastin/opentelemetry-collector-contrib that referenced this pull request Oct 23, 2023
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