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

Adds prettify support for quoted UTF8 label and metric names #43

Merged
merged 5 commits into from
Feb 14, 2025

Conversation

possibull
Copy link
Contributor

Adds support for UTF8 metric and label names as detailed in #41

@possibull possibull linked an issue Feb 10, 2025 that may be closed by this pull request
@possibull possibull changed the title Adds support for quoted UTF8 label and metric names Adds prettify support for quoted UTF8 label and metric names Feb 10, 2025
@possibull possibull marked this pull request as ready for review February 10, 2025 22:45
@possibull possibull marked this pull request as draft February 10, 2025 22:55
@possibull possibull self-assigned this Feb 10, 2025
@possibull possibull marked this pull request as ready for review February 10, 2025 23:17
@possibull possibull requested a review from f41gh7 February 10, 2025 23:17
prettifier_test.go Outdated Show resolved Hide resolved
lexer.go Outdated Show resolved Hide resolved
parser.go Outdated Show resolved Hide resolved
parser.go Outdated Show resolved Hide resolved
lexer.go Show resolved Hide resolved
Refactored to use appendQuotedIdent
Changed a test to use same() for readability
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (master@72b650d). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #43   +/-   ##
=========================================
  Coverage          ?   88.88%           
=========================================
  Files             ?       11           
  Lines             ?     3625           
  Branches          ?        0           
=========================================
  Hits              ?     3222           
  Misses            ?      306           
  Partials          ?       97           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hagen1778 hagen1778 merged commit e0dbf51 into master Feb 14, 2025
5 checks passed
@hagen1778
Copy link
Contributor

hagen1778 commented Feb 14, 2025

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.

Use quotes in prettify output
3 participants