Skip to content

Commit

Permalink
Fix datadog crash
Browse files Browse the repository at this point in the history
DD-CF-buildpack has a monitoring routine which assumes a multi-buildpack setup
and doesn't work well with our current DD setup. So ignoring the `monit_datadog`
call as it was stopping the DD agents.
  • Loading branch information
pappachino committed Jun 30, 2023
1 parent 9905807 commit 8da9214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildpack/telemetry/datadog.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def _patch_run_datadog_script(script_dir):
lines = file_handler.readlines()
file_handler.seek(0)
for line in lines:
if "stop_datadog &" in line:
if "monit_datadog &" in line:
file_handler.write(f"# {line}")
else:
file_handler.write(line)
Expand Down

0 comments on commit 8da9214

Please sign in to comment.