Skip to content

Commit

Permalink
refactor: try all apm instrumentation enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
InesNi committed Dec 15, 2023
1 parent f2a998d commit 83eaca6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ start_and_configure_dd_agent() {
# TODO investigate if max_traces_per_second needs adjusting
# TODO review other config options. Reference https://github.com/DataDog/datadog-agent/blob/main/pkg/config/config_template.yaml#L1279C1-L1287C30

DD_SITE="datadoghq.com" DD_APM_ENABLED="true" DD_OTLP_CONFIG_TRACES_ENABLED="true" DD_HOSTNAME="task-$1" DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT="localhost:4318" DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT="localhost:4317" DD_APM_TRACE_BUFFER="100" bash -c "$(curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script_agent7.sh)"
DD_APM_INSTRUMENTATION_ENABLED="all" DD_SITE="datadoghq.com" DD_APM_ENABLED="true" DD_OTLP_CONFIG_TRACES_ENABLED="true" DD_HOSTNAME="task-$1" DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT="localhost:4318" DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT="localhost:4317" DD_APM_TRACE_BUFFER="100" bash -c "$(curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script_agent7.sh)"

echo "Starting datadog-agent..."
service datadog-agent start
Expand Down

0 comments on commit 83eaca6

Please sign in to comment.