Skip to content

Commit

Permalink
Merge pull request #28 from DataDog/storms/runtime-metric-startup
Browse files Browse the repository at this point in the history
Start dogstatsd when only runtime metrics are enabled
  • Loading branch information
jcstorms1 authored Jan 26, 2024
2 parents be40503 + aeae289 commit 5d51f70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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.9.0/datadog_wrapper | bash
curl -s https://raw.githubusercontent.com/DataDog/datadog-aas-linux/v.1.10.0/datadog_wrapper | bash

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

Expand Down
4 changes: 2 additions & 2 deletions datadog_wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ setEnvVars() {
fi

if [ -z "${DD_AAS_LINUX_VERSION}" ]; then
DD_AAS_LINUX_VERSION="v1.9.0"
DD_AAS_LINUX_VERSION="v.1.10.0"
fi

if [ -z "${DD_BINARY_DIR}" ]; then
Expand Down Expand Up @@ -136,7 +136,7 @@ startBinaries() {
eval "${DD_BINARY_DIR}/process_manager ${BINARY_DIR}/trace-agent run -c ${DD_BINARY_DIR} &"
fi

if [ "$DD_CUSTOM_METRICS_ENABLED" = "true" ]; then
if [ "$DD_CUSTOM_METRICS_ENABLED" = "true" ] || [ "$DD_RUNTIME_METRICS_ENABLED" = "true" ]; then
echo "Starting DogStatsD"
eval "${DD_BINARY_DIR}/process_manager ${BINARY_DIR}/dogstatsd start &"
fi
Expand Down

0 comments on commit 5d51f70

Please sign in to comment.