-
Notifications
You must be signed in to change notification settings - Fork 600
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
add Wavefront Handler #632
base: master
Are you sure you want to change the base?
Conversation
Supersedes #480 |
Can you change the commit message to be relevant to what it is? also add testing? |
@@ -376,7 +376,7 @@ def collect(self): | |||
raise NotImplementedError() | |||
|
|||
def publish(self, name, value, raw_value=None, precision=0, | |||
metric_type='GAUGE', instance=None): | |||
metric_type='GAUGE', instance=None, point_tags=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
metric_tags would make more sense throughout.
Send metrics to a Wavefront proxy | ||
""" | ||
|
||
RETRY = 3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make this a config option.
'host': 'Wavefront proxy endpoint', | ||
'port': 'port on Wavefront proxy', | ||
'timeout': '', | ||
'format': '', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a description for these 2?
This is a repeat of a PR that's I'd previously had open for a very long time. It reached a point where rebasing from master was getting so messy that I chose to close it and generate a fresh, clean PR. Two new files and one minor change, in a single commit.
It adds support for a handler which sends multidimensional metrics to a Wavefront proxy. I've been using it in production for the best part of a year.