-
Notifications
You must be signed in to change notification settings - Fork 469
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
tools: block generator data reporting #5339
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.
Looks very good, though I haven't yet attempted to run. Just left a few nits to make the python file a bit more pythonic.
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.
LGTM
@@ -0,0 +1 @@ | |||
datadog==0.45.0 |
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.
I don't like maintaining python deps/packages w/ requirements.txt files. For something small like this I think it's fine, but if we plan on having multiple scripts w/ different dependencies, shared modules, etc. we should think about having a proper python package.
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.
Looks good, is this currently meant to be run locally or as some part of automated process?
@@ -0,0 +1,53 @@ | |||
from datadog import initialize |
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.
nit: can combine below import
from datadog import initialize | |
from datadog import api, initialize |
This PR add a script to send block TPS result from a block generator report to datadog.