-
Notifications
You must be signed in to change notification settings - Fork 815
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
New source install script #485
Conversation
Also, I need to make sure that the dogweb endpoint for failure reporting is functional (was created months ago) |
Also do not merge until it's 100% ready, merging it to master would mean that it would be used on prod by everyone installing the agent using the source install. |
printf "$1" | tee -a $logfile | ||
|
||
while true; do | ||
read -p "Do you want to send a failure report to Datadog ? (y/n)" yn |
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.
Before you ask for confirmation, you should dump out the report so they can look at 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.
unknow -> unknown
Besides the comments, it looks great. Did you test on Linux too? |
|
||
# Function to display a message passed as an argument in red and then exit | ||
quit_error() { | ||
printf "\033[31m" |
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.
Probably worth having constants for these color delimiters
In case supervisord is not running.
Conflicts: packaging/datadog-agent/source/agent packaging/datadog-agent/source/info
Should also fix #449 if file logging is turned off by default. |
Fix #476
Fix #473
Fix #378
Fix #139
Fix #478