Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unescape (decode) tag names #2894

Merged
merged 2 commits into from
Sep 8, 2023
Merged

Unescape (decode) tag names #2894

merged 2 commits into from
Sep 8, 2023

Conversation

fabrizio-grafana
Copy link
Contributor

@fabrizio-grafana fabrizio-grafana commented Sep 6, 2023

What this PR does:

Tag names are currently not escaped (encoded) by Grafana when using them in URLs, such as for the /api/v2/search/tag/<tag>/values endpoint. We have a PR in Grafana to fix this issue by escaping tag names, but we need Tempo to unescape (decode) them.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@fabrizio-grafana fabrizio-grafana changed the title Decode (unescape) tag names Unescape (decode) tag names Sep 6, 2023
@fabrizio-grafana fabrizio-grafana self-assigned this Sep 6, 2023
@fabrizio-grafana fabrizio-grafana added the enhancement New feature or request label Sep 6, 2023
@fabrizio-grafana fabrizio-grafana marked this pull request as ready for review September 6, 2023 11:45
Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice fix. thanks!

@joe-elliott joe-elliott merged commit 694ee23 into main Sep 8, 2023
@joe-elliott joe-elliott deleted the encode-tag-names branch September 8, 2023 17:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants