-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PAY-6796: Application Insights migration to version 3.4
- Loading branch information
1 parent
b030a5f
commit 3e7fcc5
Showing
5 changed files
with
32 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
ARG APP_INSIGHTS_AGENT_VERSION=2.5.1 | ||
ARG APP_INSIGHTS_AGENT_VERSION=3.4.14 | ||
FROM hmctspublic.azurecr.io/base/java:17-distroless | ||
|
||
EXPOSE 8080 | ||
|
||
COPY lib/applicationinsights.json /opt/app/ | ||
COPY build/libs/fees-register-app.jar /opt/app/ | ||
COPY lib/AI-Agent.xml /opt/app/ | ||
|
||
CMD ["fees-register-app.jar"] | ||
EXPOSE 8080 | ||
|
||
CMD [ \ | ||
"--add-opens", "java.base/java.lang=ALL-UNNAMED", \ | ||
"fees-register-app.jar" \ | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ appVersion: "2.0" | |
description: Helm chart for the HMCTS fees-register api | ||
name: fees-register-api | ||
home: https://github.com/hmcts/ccfr-fees-register-app | ||
version: 0.4.7 | ||
version: 0.4.8 | ||
maintainers: | ||
- name: HMCTS Fees & Payments Dev Team | ||
email: [email protected] | ||
|
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"connectionString": "${file:/mnt/secrets/ccpay/app-insights-connection-string}", | ||
"role": { | ||
"name": "fees-register-app" | ||
}, | ||
"preview": { | ||
"sampling": { | ||
"overrides": [ | ||
{ | ||
"telemetryType": "request", | ||
"attributes": [ | ||
{ | ||
"key": "http.url", | ||
"value": "https?://[^/]+/health.*", | ||
"matchType": "regexp" | ||
} | ||
], | ||
"percentage": 1 | ||
} | ||
] | ||
} | ||
} | ||
} |