Dont run datadog agent on scheduler dynos (#5319) [deploy]

This commit is contained in:
Molly Struve 2019-12-31 15:47:20 -05:00 committed by GitHub
parent 36cf0a6976
commit e300f7770d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
datadog/prerun.sh Normal file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
# Disable the Datadog Agent for scheduler workers
if [ "$DYNOTYPE" == "scheduler" ]; then
DISABLE_DATADOG_AGENT="true"
fi