Skip to content

Support slashes in pgw grouping keys. - #442

Merged
brian-brazil merged 1 commit into
masterfrom
pgw-slash
Jul 25, 2019
Merged

brian-brazil merged 1 commit into
masterfrom
pgw-slash

Conversation

@brian-brazil

Copy link
Copy Markdown
Contributor

Signed-off-by: Brian Brazil brian.brazil@robustperception.io

@beorn7

Comment thread prometheus_client/exposition.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You need to use base64.urlsafe_b64encode to avoid / and + in the result.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed

Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
@brian-brazil
brian-brazil merged commit a8f5c80 into master Jul 25, 2019
@brian-brazil
brian-brazil deleted the pgw-slash branch July 25, 2019 16:28
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.

2 participants