🪟 Pluggable Ktor plugin to implement Sentry for error handling and request contexts

Overview

🪟 Ktor Plugin for Sentry

Pluggable Ktor plugin to implement Sentry for error handling and request contexts.

What is this library?

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.

Example Usage

s.addTag("blep", "the fluff") } } }">
fun Application.module() {
    install(Sentry) {
        dsn = "..."
        scope { s ->
            s.addTag("blep", "the fluff")
        }
    }
}

Installation

👀 0.0.1 | 📜 Documentation

Gradle

Kotlin DSL

") }">
repositories {
    maven {
        url = uri("https://maven.floofy.dev/repo/releases")
    }
}

dependencies {
    implementation("dev.floofy.ktor:ktor-sentry:
   
    "
   )
}

Groovy DSL

" }">
repositories {
    maven {
        url "https://maven.floofy.dev/repo/releases"
    }
}

dependencies {
    implementation "dev.floofy.ktor:ktor-sentry:
   
    "
   
}

Maven

<repositories>
    <repository>
        <id>noel-mavenid>
        <url>https://maven.floofy.dev/repo/releasesurl>
    repository>
repositories>
<dependencies>
    <dependency>
        <groupId>dev.floofy.ktorgroupId>
        <artifactId>ktor-sentryartifactId>
        <version>{{VERSION}}version>
        <type>pomtype>
    dependency>
dependencies>

License

ktor-sentry is released under the MIT License by Noel. Read here for more information.

You might also like...
A simple (and naive) RESTful API made with Ktor, jasync-sql and JWT.

A simple (and naive) RESTful API made with Ktor, jasync-sql and JWT. Route Method Description /account POST Create a new account /account DELETE Delet

SSU u-saint parser with Kotlin-Multiplatform and Ktor.

kusaint Soongsil University(SSU) u-Saint Parser with Kotlin Multiplatform. Prerequisites JVM !!IMPORTANT!! To run kusaint as a library in JVM environm

A Modern Kotlin-Ktor RESTful API example. Connects to a PostgreSQL database and uses Exposed framework for database operations.
A Modern Kotlin-Ktor RESTful API example. Connects to a PostgreSQL database and uses Exposed framework for database operations.

kotlin-ktor-rest-api A Modern Kotlin-Ktor RESTful API example. Connects to a PostgreSQL database and uses Exposed framework for database operations. F

Ktor is an asynchronous framework for creating microservices, web applications and more.
Ktor is an asynchronous framework for creating microservices, web applications and more.

ktor-sample Ktor is an asynchronous framework for creating microservices, web applications and more. Written in Kotlin from the ground up. Application

Microservices with Ktor and Nomad

Microserviços com Ktor e Nomad Esse projeto é um teste prático de microserviços usando o framework Ktor, o banco de dados Postgres, o orquestrador de

Backend coding challenge using Kotlin and Ktor

Backend Coding Challenge We appreciate you taking the time to participate and su

Shoppe - Kotlin and Ktor app, which can easily be deployed to Heroku

[ 🚧 Work in progress 👷‍♀️ ⛏ 👷 🔧️ 👷 🔧 🚧 ] Shoppe Kotlin Multiplatform App

🐨 koa - Kotlin and Ktor OpenAPI

Koa intends to be a fully functional DSL for OpenAPI in Kotlin, including a Ktor plugin to add OpenAPI to your server Kotlin applications.

 Architecture With Kotlin-Ktor and SvelteJS
Architecture With Kotlin-Ktor and SvelteJS

Architecture With Kotlin-Ktor and SvelteJS Features Showing data frrom open API on US Population Showing Auto Generated QR code Why Ktor - Create asyn

Comments
  • Configure Renovate

    Configure Renovate

    Mend Renovate

    Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

    🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.


    Detected Package Files

    • .github/workflows/docs.yml (github-actions)
    • .github/workflows/ktlint.yml (github-actions)
    • gradle.properties (gradle)
    • settings.gradle.kts (gradle)
    • build.gradle.kts (gradle)
    • gradle/wrapper/gradle-wrapper.properties (gradle-wrapper)

    Configuration

    🔡 Renovate has detected a custom config for this PR. Feel free to ask for help if you have any doubts and would like it reviewed.

    Important: Now that this branch is edited, Renovate can't rebase it from the base branch any more. If you make changes to the base branch that could impact this onboarding PR, please merge them manually.

    What to Expect

    With your current configuration, Renovate will create 13 Pull Requests:

    chore(deps): update dependency gradle to v7.4.2
    • Schedule: ["at any time"]
    • Branch name: renovate/gradle-7.x
    • Merge into: master
    • Upgrade gradle to 7.4.2
    chore(deps): update dependency io.ktor:ktor-bom to v1.6.8
    • Schedule: ["at any time"]
    • Branch name: renovate/io.ktor-ktor-bom-1.x
    • Merge into: master
    • Upgrade io.ktor:ktor-bom to 1.6.8
    chore(deps): update dependency org.slf4j:slf4j-api to v1.7.36
    • Schedule: ["at any time"]
    • Branch name: renovate/org.slf4j-slf4j-api-1.x
    • Merge into: master
    • Upgrade org.slf4j:slf4j-api to 1.7.36
    chore(deps): update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.8.0
    chore(deps): update dependency io.kotest:kotest-bom to v5.3.2
    • Schedule: ["at any time"]
    • Branch name: renovate/io.kotest-kotest-bom-5.x
    • Merge into: master
    • Upgrade io.kotest:kotest-bom to 5.3.2
    chore(deps): update dependency io.sentry:sentry to v5.7.4
    • Schedule: ["at any time"]
    • Branch name: renovate/io.sentry-sentry-5.x
    • Merge into: master
    • Upgrade io.sentry:sentry to 5.7.4
    chore(deps): update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.7.0
    chore(deps): update plugin com.diffplug.spotless to v6.8.0
    • Schedule: ["at any time"]
    • Branch name: renovate/com.diffplug.spotless-6.x
    • Merge into: master
    • Upgrade com.diffplug.spotless to 6.8.0
    chore(deps): update plugin org.jetbrains.dokka to v1.7.0
    • Schedule: ["at any time"]
    • Branch name: renovate/org.jetbrains.dokka-1.x
    • Merge into: master
    • Upgrade org.jetbrains.dokka to 1.7.0
    chore(deps): update plugin org.jetbrains.kotlin.jvm to v1.7.0
    • Schedule: ["at any time"]
    • Branch name: renovate/org.jetbrains.kotlin.jvm-1.x
    • Merge into: master
    • Upgrade org.jetbrains.kotlin.jvm to 1.7.0
    chore(deps): update actions/cache action to v3
    • Schedule: ["at any time"]
    • Branch name: renovate/actions-cache-3.x
    • Merge into: master
    • Upgrade actions/cache to v3.0.4
    chore(deps): update dependency io.ktor:ktor-bom to v2
    • Schedule: ["at any time"]
    • Branch name: renovate/io.ktor-ktor-bom-2.x
    • Merge into: master
    • Upgrade io.ktor:ktor-bom to 2.0.3
    chore(deps): update dependency io.sentry:sentry to v6
    • Schedule: ["at any time"]
    • Branch name: renovate/io.sentry-sentry-6.x
    • Merge into: master
    • Upgrade io.sentry:sentry to 6.1.4

    🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or spam the project. See docs for prhourlylimit for details.


    ❓ Got questions? Check out Renovate's Docs, particularly the Getting Started section. If you need any further assistance then you can also request help here.


    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
Releases(v0.0.1)
Owner
Noel
17 year old developer that does the coding in his room, and... sometimes it compiles correctly! ♡(˶╹̆ ▿╹̆˵)و✧♡
Noel
Test tv - A marketing company needs a simple pluggable application with a RESTful interface

Demo project A marketing company needs a simple pluggable application with a RES

null 0 Jan 18, 2022
Integration Testing Kotlin Multiplatform Kata for Kotlin Developers. The main goal is to practice integration testing using Ktor and Ktor Client Mock

This kata is a Kotlin multiplatform version of the kata KataTODOApiClientKotlin of Karumi. We are here to practice integration testing using HTTP stub

Jorge Sánchez Fernández 29 Oct 3, 2022
KTor-Client---Android - The essence of KTor Client for network calls

KTor Client - Android This project encompasses the essence of KTor Client for ne

Mansoor Nisar 2 Jan 18, 2022
🌨️ Simple, intuitive, and opinionated command handling library for Kord

??️ Snow Simple, intuitive, and opinionated command handling library for Kord Why? Since I maintain two Discord bots, both in Kotlin, Nino and Noel (p

Noel ʕ •ᴥ•ʔ 1 Jan 16, 2022
🧶 Library to handling files for persistent storage with Google Cloud Storage and Amazon S3-compatible server, made in Kotlin

?? Remi Library to handling files for persistent storage with Google Cloud Storage and Amazon S3-compatible server, made in Kotlin! Why is this built?

Noelware 8 Dec 17, 2022
Firebase Authentication plugin for Ktor framework.

Firebase Authentication is a Ktor plugin which verifies requests authorized by a Firebase Auth Id Token.

Manav Tamboli 2 Jul 16, 2022
Plugin to integrate EventStoreDB into Ktor-Server!

Ktor Plugin EventStoreDB EventStoreDB is an open-source database technology that stores your critical data in streams of immutable events. It was buil

null 7 Sep 1, 2022
This library handles conversion between Request Params and JPA Specification.

Spring Jpa Magic Filter This library handles conversion between spring rest Request Params and JPA Specification. It can be considered a simpler alter

Verissimo Joao Ribeiro 4 Jan 12, 2022
Android app to fetch closed pull request of any public repo

Pullr Android app to fetch closed pull request of any public repo ?? Features Co

Sonu Sourav 2 Sep 17, 2022
A demo project which demonstrates the work of javax.servlet.Filter capable of escaping / modifying / removing a part of JSON request based on specified criteria.

Replace Filter Demo A demo project which demonstrates the work of javax.servlet.Filter capable of escaping / modifying / removing a part of JSON reque

Vlad Krava 1 Jan 17, 2022