-
Notifications
You must be signed in to change notification settings - Fork 45
Fix issue with stats d method being called #140
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
Conversation
I think we have to mask out the python version in the user-agent |
datadog_lambda/metric.py
Outdated
class StatsDWrapper: | ||
class StatsWriter: | ||
def distribution(self, metric_name, value, tags=[], timestamp=None): | ||
pass |
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.
Shall we raise NotImplementedError
?
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.
datadog_lambda/metric.py
Outdated
""" | ||
Wraps StatsD calls, to give an identical interface to ThreadStats | ||
Wraps StatsD calls, creates a common |
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.
Unfinished sentence?
What does this PR do?
Abstracts ThreadStats and StatsD metric submission into ThreadStatsWriter and StatsDWriter classes, which share an interface.
Motivation
Fixes #139
Testing Guidelines
Additional Notes
Types of Changes
Check all that apply