{"id":15017935,"url":"https://github.com/typelevel/otel4s","last_synced_at":"2026-04-11T11:01:22.613Z","repository":{"id":37012600,"uuid":"490362352","full_name":"typelevel/otel4s","owner":"typelevel","description":"An OpenTelemetry library for Scala based on Cats-Effect","archived":false,"fork":false,"pushed_at":"2026-04-11T09:00:15.000Z","size":8149,"stargazers_count":207,"open_issues_count":15,"forks_count":48,"subscribers_count":13,"default_branch":"main","last_synced_at":"2026-04-11T10:15:38.348Z","etag":null,"topics":["cats","cats-effect","metrics","opentelemetry","scala","tracing","typelevel"],"latest_commit_sha":null,"homepage":"https://typelevel.org/otel4s","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/typelevel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"typelevel","open_collective":"typelevel-foundation"}},"created_at":"2022-05-09T16:30:35.000Z","updated_at":"2026-04-11T08:49:45.000Z","dependencies_parsed_at":"2023-01-17T13:16:28.468Z","dependency_job_id":"2de456a1-df4f-42a0-ad6d-8151925c8401","html_url":"https://github.com/typelevel/otel4s","commit_stats":{"total_commits":895,"total_committers":26,"mean_commits":34.42307692307692,"dds":0.6290502793296089,"last_synced_commit":"84881d1f2c50faa8296d9555c0b8d1f60457d7b0"},"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/typelevel/otel4s","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typelevel%2Fotel4s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typelevel%2Fotel4s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typelevel%2Fotel4s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typelevel%2Fotel4s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typelevel","download_url":"https://codeload.github.com/typelevel/otel4s/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typelevel%2Fotel4s/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cats","cats-effect","metrics","opentelemetry","scala","tracing","typelevel"],"created_at":"2024-09-24T19:51:13.271Z","updated_at":"2026-04-11T11:01:22.604Z","avatar_url":"https://github.com/typelevel.png","language":"Scala","funding_links":["https://github.com/sponsors/typelevel","https://opencollective.com/typelevel-foundation"],"categories":[],"sub_categories":[],"readme":"# otel4s\n\n![Typelevel Organization Project](https://img.shields.io/badge/typelevel-organization%20project-FF6169.svg)\n[![otel4s-core Scala version support](https://index.scala-lang.org/typelevel/otel4s/otel4s-core/latest.svg)](https://index.scala-lang.org/typelevel/otel4s/otel4s-core)\n\n## Telemetry meets higher-kinded types\n\n_otel4s_ is an [OpenTelemetry][otel] implementation for Scala.  The\ndesign goal is to fully and faithfully implement the [OpenTelemetry\nSpecification][otel spec] atop [Cats Effect][cats-effect].\n\n## Features\n\n* **Simple and idiomatic metrics and tracing API**\n\n  Provides a user-friendly and idiomatic API for telemetry, designed with Typelevel ecosystem best practices.\n  Intuitive interfaces for metrics, tracing, and context propagation.\n\n* **Minimal overhead**\n\n  The library utilizes metaprogramming techniques to reduce runtime costs and allocations.\n  **Near-zero** overhead when telemetry is disabled,\n  ensuring production performance is unaffected when tracing or metrics collection is not required.\n\n* **Modularity**\n\n  A modular architecture allows to include only the required components:\n  1. Core modules: designed for library instrumentation, offering a lightweight dependency footprint\n  2. Selective integration: use only the metrics or tracing functionality without requiring the other\n\n* **Cross-platform**\n\n  All modules are available for Scala 2.13 and Scala 3.\n  Core modules are available on all platforms: JVM, Scala.js, and Scala Native.\n\n* **OpenTelemetry Java SDK backend**\n\n  The backend utilizes [OpenTelemetry Java SDK][opentelemetry-java] under the hood, offering production-ready telemetry:\n  1. Low memory overhead\n  2. Extensive [instrumentation ecosystem][opentelemetry-java-instrumentation]\n  3. Well-tested implementation\n\n* **SDK backend**\n\n  SDK modules are implemented in Scala from scratch. Available for JVM, Scala.js, and Scala Native.\n  While the implementation is compliant with the OpenTelemetry specification,\n  it remains **experimental** and some functionality may be lacking.\n\n* **Testkit**\n\n  A testkit simplifies the validation of telemetry behavior in the applications and libraries:\n  1. Framework-agnostic, works with any test framework, such as weaver, munit, scalatest\n  2. Ideal for testing of the instrumented applications in end-to-end or unit tests\n  3. Available for OpenTelemetry Java and SDK backends\n\n## Status\n\nThe API is still highly experimental, but we are actively\ninstrumenting various libraries and applications to check for fit.\nDon't put it in a binary-stable library yet, but we invite you to try\nit out and let us know what you think.\n\n## Modules availability\n\n| Module / Platform | JVM | Scala Native | Scala.js |  \n|:-----------------:|:---:|:------------:|:--------:|\n|   `otel4s-core`   |  ✅  |      ✅       |    ✅     |\n|   `otel4s-sdk`    |  ✅  |      ✅       |    ✅     |\n| `otel4s-oteljava` |  ✅  |      ❌       |    ❌     | \n\n## Learn more\n\nSee the [website](https://typelevel.org/otel4s).\n\n[cats-effect]: https://typelevel.org/cats-effect/\n[opentelemetry-java]: https://opentelemetry.io/docs/languages/java/\n[opentelemetry-java-instrumentation]: https://opentelemetry.io/docs/languages/java/instrumentation/\n[otel]: https://opentelemetry.io/\n[otel spec]: https://opentelemetry.io/docs/reference/specification/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypelevel%2Fotel4s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypelevel%2Fotel4s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypelevel%2Fotel4s/lists"}