Skip to content

Commit 925e554

Browse files
committed
Sett opp logging til både loki og elastic
Legger også til autoInstrumentation hvor det mangler for JVM-apper
1 parent d3b05e1 commit 925e554

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

nais/dev/nais.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ spec:
3535
cpu: 100m
3636
memory: 256Mi
3737
observability:
38+
logging:
39+
destinations:
40+
- id: loki
41+
- id: elastic
3842
autoInstrumentation:
3943
enabled: true
4044
runtime: java

nais/prod/nais.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ spec:
3030
cpu: 30m
3131
memory: 512Mi
3232
observability:
33+
logging:
34+
destinations:
35+
- id: loki
36+
- id: elastic
3337
autoInstrumentation:
3438
enabled: true
3539
runtime: java
@@ -84,4 +88,4 @@ spec:
8488
- name: cloudsql.enable_pgaudit
8589
value: "true"
8690
- name: pgaudit.log
87-
value: 'write'
91+
value: 'write'

0 commit comments

Comments
 (0)