Skip to content

Commit

Permalink
fix(APM): Adding eAPM config
Browse files Browse the repository at this point in the history
Merge pull request #1149 from mbolla22/main
  • Loading branch information
shashank-reddy-nr authored Jan 22, 2025
2 parents cbc589d + 0ce46ba commit 6dd111c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/newrelic/infrastructure/kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ install:
NR_CLI_LOGGING="{{.NR_CLI_LOGGING}}"
NR_CLI_LOGGING_LOW_DATA_MODE="{{.NR_CLI_LOGGING_LOW_DATA_MODE}}"
NR_CLI_AGENT_OPERATOR="{{.NR_CLI_AGENT_OPERATOR}}"
NR_CLI_EAPM_AGENT="{{.NR_CLI_EAPM_AGENT}}"
# Prometheus integrations
Expand Down Expand Up @@ -277,6 +278,7 @@ install:
NR_CLI_LOGGING_PERSISTENCE_STORAGE_CLASS=${NR_CLI_LOGGING_PERSISTENCE_STORAGE_CLASS:-""}
NR_CLI_LOGGING_LINUX_MOUNT_PATH=${NR_CLI_LOGGING_LINUX_MOUNT_PATH:-""}
NR_CLI_AGENT_OPERATOR=${NR_CLI_AGENT_OPERATOR:-false}
NR_CLI_EAPM_AGENT=${NR_CLI_EAPM_AGENT:-false}
# Prometheus integrations
Expand Down Expand Up @@ -579,6 +581,7 @@ install:
fi
ARGS="${ARGS} --set ksm.enabled=${NR_CLI_KSM}"
ARGS="${ARGS} --set k8s-agents-operator.enabled=${NR_CLI_AGENT_OPERATOR}"
ARGS="${ARGS} --set newrelic-eapm-agent.enabled=${NR_CLI_EAPM_AGENT}"
# if installing in GKE Autopilot, we need to turn off controlPlane and pixie and set kubelet scheme and port
if [[ "{{.NR_CLI_GKE_AUTOPILOT}}" == "true" ]]; then
Expand Down Expand Up @@ -695,6 +698,7 @@ install:
BODY="${BODY},\"global.lowDataMode\":\"${NR_CLI_LOW_DATA_MODE}\""
BODY="${BODY},\"ksm.enabled\":\"${NR_CLI_KSM}\""
BODY="${BODY},\"k8s-agents-operator.enabled\":\"${NR_CLI_AGENT_OPERATOR}\""
BODY="${BODY},\"newrelic-eapm-agent.enabled\":\"${NR_CLI_EAPM_AGENT}\""
# if installing in GKE Autopilot, turn off controlPlane and set kubelet scheme and port
if [[ "{{.NR_CLI_GKE_AUTOPILOT}}" == "true" ]]; then
Expand Down

0 comments on commit 6dd111c

Please sign in to comment.