Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopocarlini committed Oct 9, 2024
1 parent 086af70 commit 5f6efaa
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RUN java -Djarmode=layertools -jar application.jar extract

FROM ghcr.io/pagopa/docker-base-springboot-openjdk17:v2.1.0@sha256:7093cd54f2beb7bdb1cca3b33cb94e06eeb5750027cdb96f7bebb274118a5629

COPY --chown=spring:spring docker/applicationinsights.json ./applicationinsights.json

COPY --chown=spring:spring --from=builder dependencies/ ./
COPY --chown=spring:spring --from=builder snapshot-dependencies/ ./

Expand Down
23 changes: 23 additions & 0 deletions docker/applicationinsights.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"selfDiagnostics": {
"destination": "console",
"level": "INFO"
},
"sampling": {
"percentage": 5,
"overrides": [
{
"telemetryType": "exception",
"percentage": 100
},
{
"telemetryType": "request",
"percentage": 100
},
{
"telemetryType": "dependency",
"percentage": 1
}
]
}
}

0 comments on commit 5f6efaa

Please sign in to comment.