Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Zincfox/opentelemetry-kotlin-delegate

Repository files navigation

Opentelemetry kotlin delegate

About

A simple opentelemetry wrapper library which delegates to the JS- and Java-specific opentelemetry libraries under the hood.

The benefit of this approach over dcxp/opentelemetry-kotlin is that it allows the interop with the target-specific libraries, whereas opentelemetry-kotlin reimplements the opentelemetry specification, resulting in its own classes and no interop with libraries not depending on it.

On java no wrapper objects are allocated, nearly everything is done with the actual OpenTelemetry library classes by utilizing actual typealias.

Where did Context.makeCurrent() go?

Context.makeCurrent and Scope.close do not exist in the JavaScript opentelemetry api, as such they cannot be included in the multiplatform wrapper. Instead, use Context.runWithActive to run code with the given context.

TODO

  • Documentation
  • Publish official maven artifact and move to public github repository

About

A Kotlin multiplatform wrapper around opentelemetry-api for Java and JavaScript

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.