Skip to content
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

Revert "Revert "log auto and manual DTT starts, green DTTs and red DTTs"" #20051

Merged
merged 1 commit into from Jan 16, 2018

Conversation

Erin007
Copy link
Contributor

@Erin007 Erin007 commented Jan 16, 2018

Reverts #20028

With the change in #20043, this PR can be reverted to get the original change that writes DTT metrics to the metrics table.

When initially merged, there was a sequel_connect': undefined methodgsub' for nil:NilClass error, because staging (which currently deliberately doesn’t have metrics db credentials) broke just from the metrics library require because the connection string devinternal_db_writer was not present.
Currently, only test writes metrics. We have credentials being injected successfully onto test by chef. To fix, I check for CDO.devinternal_db_writer before calling sequel_connect to bypass the problem on staging.

@Erin007 Erin007 merged commit 9e440e9 into staging Jan 16, 2018
@Erin007 Erin007 deleted the revert-20028-revert-19998-mark-red-green-dtts branch January 16, 2018 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants