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

chore: add support for hostname prometheus tag and global tags #4

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

danyalprout
Copy link
Collaborator

@danyalprout danyalprout commented Feb 26, 2025

Description

Add ability to add automatic hostname tags to prometheus metrics and a generic global tag function.

Example output:

# HELP websocket_proxy_upstream_messages Count of messages received from the upstream source
# TYPE websocket_proxy_upstream_messages gauge
websocket_proxy_upstream_messages{hostname="N9WT6WH12Y",hello="world",blah="bah"} 2

@danyalprout danyalprout marked this pull request as ready for review February 26, 2025 16:51
@danyalprout danyalprout merged commit 1460721 into master Feb 26, 2025
3 checks passed
@danyalprout danyalprout deleted the global-tags branch February 26, 2025 17:41
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