Pluggable Ktor plugin to implement Sentry for error handling and request contexts.
This basically implements error tracking and appending the request to your Sentry project. It's just simple as installing the plugin, and it will track errors and such.
fun Application.module() {
install(Sentry) {
dsn = "..."
scope { s ->
s.addTag("blep", "the fluff")
}
}
}
👀 0.0.1 | 📜 Documentation
repositories {
maven {
url = uri("https://maven.floofy.dev/repo/releases")
}
}
dependencies {
implementation("dev.floofy.ktor:ktor-sentry:<VERSION>")
}
repositories {
maven {
url "https://maven.floofy.dev/repo/releases"
}
}
dependencies {
implementation "dev.floofy.ktor:ktor-sentry:<VERSION>"
}
<repositories>
<repository>
<id>noel-maven</id>
<url>https://maven.floofy.dev/repo/releases</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>dev.floofy.ktor</groupId>
<artifactId>ktor-sentry</artifactId>
<version>{{VERSION}}</version>
<type>pom</type>
</dependency>
</dependencies>
ktor-sentry is released under the MIT License by Noel. Read here for more information.