Skip to content

Commit

Permalink
Bytter ut appdynamics med observability
Browse files Browse the repository at this point in the history
  • Loading branch information
stigebil committed Aug 30, 2024
1 parent b767343 commit faa073c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM ghcr.io/navikt/baseimages/temurin:21-appdynamics
FROM ghcr.io/navikt/baseimages/temurin:21

ENV APPD_ENABLED=true
ENV APP_NAME=familie-oppdrag

COPY init.sh /init-scripts/init.sh
Expand Down
5 changes: 5 additions & 0 deletions app-preprod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ spec:
- host: b27apvl220.preprod.local
ports:
- port: 1413

observability:
autoInstrumentation:
enabled: true
runtime: java
env:
- name: SPRING_PROFILES_ACTIVE
value: preprod
Expand Down
7 changes: 7 additions & 0 deletions app-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ spec:
- host: mpls02.adeo.no
ports:
- port: 1414
observability:
autoInstrumentation:
enabled: true
runtime: java
destinations:
- id: "grafana-lgtm"
- id: "elastic-apm"
env:
- name: SPRING_PROFILES_ACTIVE
value: prod
Expand Down

0 comments on commit faa073c

Please sign in to comment.