-
Notifications
You must be signed in to change notification settings - Fork 18
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 datadog integration #398
Conversation
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.
one comment but LGTM
ENV DD_LAMBDA_HANDLER="api.app.handler" | ||
ENV DD_TRACE_ENABLED="true" |
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.
is this used by datadog for tracing? might be nice to add documentation about it 😄
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.
the docs is here: https://docs.datadoghq.com/serverless/installation/python/?tab=containerimage
I think we may want to include the doc in a central place, let me think about this
@@ -5,10 +5,11 @@ flask-githubapp | |||
gunicorn[gevent] | |||
pyyaml | |||
requests | |||
markdown==3.3.4 | |||
markdown |
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.
What's the rationale behind this code change?
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.
the binning was because a bug in markdown, I helped patched this upstream, I thought I removed the binning but apparently not, just sneaking it back in now
This PR adds datadog integration to backend lambda.
The default integration allows datadog to report metrics like invoking time and aws s3 request times.
In terms of custom metrics, currently it is tracking plugin counts, but we can build other metrics on top of it