Skip to content

Commit 80fb52f

Browse files
committed
changelog
1 parent 0c58628 commit 80fb52f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
## Unreleased
44

5+
### Features
6+
7+
- Add Ktor client integration ([#4527](https://github.com/getsentry/sentry-java/pull/4527))
8+
- To use the integration, add a dependency on `io.sentry:sentry-ktor`, then install the `SentryKtorClientPlugin` on your `HttpClient`,
9+
e.g.:
10+
```kotlin
11+
val client =
12+
HttpClient(Java) {
13+
install(io.sentry.ktor.SentryKtorClientPlugin) {
14+
captureFailedRequests = true
15+
failedRequestTargets = listOf(".*")
16+
failedRequestStatusCodes = listOf(HttpStatusCodeRange(500, 599))
17+
}
18+
}
19+
```
20+
521
### Fixes
622

723
- Optimize scope when maxBreadcrumb is 0 ([#4504](https://github.com/getsentry/sentry-java/pull/4504))

0 commit comments

Comments
 (0)