Skip to content

Commit

Permalink
update process manager and release version
Browse files Browse the repository at this point in the history
  • Loading branch information
jcstorms1 committed Jan 12, 2024
1 parent 270d7eb commit 6d2ae24
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ _Note: Currently Java, NODE, .NET, PHP and Python are supported._
##### Node, .NET, PHP or Python
Add the following to the startup command box

curl -s https://raw.githubusercontent.com/DataDog/datadog-aas-linux/v1.8.0/datadog_wrapper | bash
curl -s https://raw.githubusercontent.com/DataDog/datadog-aas-linux/v1.8.1/datadog_wrapper | bash

![](https://p-qkfgo2.t2.n0.cdn.getcloudapp.com/items/8LuqpR7e/6a9bf63d-5169-49d0-a68a-20e6e3009d47.jpg?v=7704a16bc91a6a57caf8befd84204415)

Expand Down
2 changes: 1 addition & 1 deletion datadog_wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ setEnvVars() {
fi

if [ -z "${DD_AAS_LINUX_VERSION}" ]; then
DD_AAS_LINUX_VERSION="v1.8.0"
DD_AAS_LINUX_VERSION="v1.8.1"
fi

if [ -z "${DD_BINARY_DIR}" ]; then
Expand Down
4 changes: 4 additions & 0 deletions process_manager/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ fn main() {
let dd_arg = command.get_program().to_str().unwrap();
if dd_arg.ends_with("dogstatsd") {
command.arg(&dd_command[2]);
// trace-agent requires the args: run -c <datadog.yaml location>
} else if dd_arg.ends_with("trace-agent") {
command.args(&dd_command[2..=4]);
}

spawn(command);
}

fn spawn(mut command: Command) {
if let Ok(mut dd_process) = command.spawn() {
let status = dd_process.wait().expect("dd_process wasn't running");
Expand Down

0 comments on commit 6d2ae24

Please sign in to comment.