Skip to content

Commit 74ea83b

Browse files
chrisworthcgiclaude
andcommitted
CME-541: Add health endpoint sampling to Application Insights config
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent dc2d8c2 commit 74ea83b

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

lib/applicationinsights.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,22 @@
22
"connectionString": "${file:/mnt/secrets/rd/app-insights-connection-string}",
33
"role": {
44
"name": "location reference data load"
5+
},
6+
"preview": {
7+
"sampling": {
8+
"overrides": [
9+
{
10+
"telemetryType": "request",
11+
"attributes": [
12+
{
13+
"key": "http.url",
14+
"value": "https?://[^/]+/health.*",
15+
"matchType": "regexp"
16+
}
17+
],
18+
"percentage": 1
19+
}
20+
]
21+
}
522
}
623
}

0 commit comments

Comments
 (0)