diff --git a/lib/applicationinsights.json b/lib/applicationinsights.json index 39cef022..e8eb3641 100644 --- a/lib/applicationinsights.json +++ b/lib/applicationinsights.json @@ -2,5 +2,22 @@ "connectionString": "${file:/mnt/secrets/rd/app-insights-connection-string}", "role": { "name": "location reference data load" + }, + "preview": { + "sampling": { + "overrides": [ + { + "telemetryType": "request", + "attributes": [ + { + "key": "http.url", + "value": "https?://[^/]+/health.*", + "matchType": "regexp" + } + ], + "percentage": 1 + } + ] + } } }