Skip to content

Add kamon-http4k server instrumentation - #1427

Open
souvlakias wants to merge 1 commit into
kamon-io:masterfrom
vaslabs-ltd:add-http4k
Open

Add kamon-http4k server instrumentation#1427
souvlakias wants to merge 1 commit into
kamon-io:masterfrom
vaslabs-ltd:add-http4k

Conversation

@souvlakias

Copy link
Copy Markdown

Motivation

We have a service running http4k and would like to use Kamon with it.

Description

This PR adds a new kamon-http4k server instrumentation module, based on the structure and logic of kamon-http4s-1.0 (some files are mostly identical)

Since http4k is built around the Filter abstraction, the instrumentation is implemented as a backend-agnostic Filter that works out-of-the-box with any backend (e.g. Netty, SunHttp, etc.).

Tests included in ServerInstrumentationSpec pass successfully.

Additionally, a demo application that uses this feature can be found in this repo: https://github.com/vaslabs-ltd/kamon-http4k-poc.

cc: @vaslabs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant