typelevel / otel4s

An OpenTelemetry library for Scala based on Cats-Effect

Home Page:https://typelevel.org/otel4s

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

otel4s

Typelevel Organization Project Maven Central

Telemetry meets higher-kinded types

otel4s is an OpenTelemetry implementation for Scala. The design goal is to fully and faithfully implement the OpenTelemetry Specification atop Cats Effect.

Features

  • otel4s provides APIs and implementations for metrics and tracing.

  • Core modules for JVM, Scala.js, and Scala Native offer an API with no-op implementations. These are appropriate for library instrumentation.

  • SDK modules provide working telemetry (only tracing, currently) for applications. SDK modules are implemented in Scala from scratch. Available for JVM, Scala.js, and Scala Native. The implementation remains experimental and some functionality may be lacking.

  • opentelemetry-java backend provided for the JVM. This provides working telemetry for applications.

Status

The API is still highly experimental, but we are actively instrumenting various libraries and applications to check for fit. Don't put it in a binary-stable library yet, but we invite you to try it out and let us know what you think.

Modules availability

Module / Platform JVM Scala Native Scala.js
otel4s-core
otel4s-sdk (tracing only)
otel4s-oteljava

Learn more

See the website.

About

An OpenTelemetry library for Scala based on Cats-Effect

https://typelevel.org/otel4s

License:Apache License 2.0


Languages

Language:Scala 99.7%Language:Jinja 0.2%Language:Nix 0.0%