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

derive-text-encode: Handle keyword identifiers aka raw identifiers #16

Merged
merged 1 commit into from May 27, 2021

Conversation

mxinden
Copy link
Member

@mxinden mxinden commented May 27, 2021

Field names like r#type are problematic as r# is not a valid
OpenMetrics label name but one needs to use keyword identifier syntax
(aka. raw identifiers) as type is a keyword.

Makes sure r#type is replaced by type in the OpenMetrics output.

Field names like `r#type` are problematic as `r#` is not a valid
OpenMetrics label name but one needs to use keyword identifier syntax
(aka. raw identifiers) as `type` is a keyword.

Makes sure `r#type` is replaced by `type` in the OpenMetrics output.
@mxinden mxinden merged commit 12d1fc6 into master May 27, 2021
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.

None yet

1 participant