Dont run datadog agent on scheduler dynos (#5319) [deploy]
This commit is contained in:
parent
36cf0a6976
commit
e300f7770d
1 changed files with 6 additions and 0 deletions
6
datadog/prerun.sh
Normal file
6
datadog/prerun.sh
Normal 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
|
||||
Loading…
Add table
Reference in a new issue