diff --git a/nais/dev-fss.yml b/nais/dev-fss.yml index 82530e688..5155ffc49 100644 --- a/nais/dev-fss.yml +++ b/nais/dev-fss.yml @@ -116,8 +116,6 @@ spec: value: http://abac-k9.k9saksbehandling.svc.nais.local/application/authorize # open telemetry - - name: "OTEL_EXPORTER_OTLP_ENDPOINT" - value: "https://elastic-apm.adeo.no" - name: "OTEL_METRICS_EXPORTER" value: "otlp" - name: "OTEL_LOGS_EXPORTER" diff --git a/src/main/resources/scripts/run.sh b/src/main/resources/scripts/run.sh index c776f85ef..aa54a0de7 100644 --- a/src/main/resources/scripts/run.sh +++ b/src/main/resources/scripts/run.sh @@ -21,11 +21,4 @@ then echo "- exporting $KEY" export "$KEY"="$VALUE" done -fi - -#start opentelemetyr-agenten dersom konfigurert -set +u -if [ ! -z "${OTEL_EXPORTER_OTLP_ENDPOINT}" ]; then - echo "Configuring attatchment of opentelemetry-agent" - JAVA_OPTS="${JAVA_OPTS} -javaagent:/app/opentelemetry-javaagent.jar" -fi +fi \ No newline at end of file