zio/zio-telemetry
Fork: 55 Star: 113 (更新于 2024-11-14 11:11:31)
license: Apache-2.0
Language: Scala .
ZIO-powered OpenTelemetry library
ZIO Telemetry
ZIO telemetry is purely-functional and type-safe. It provides clients for OpenTracing, OpenCensus and OpenTelemetry.
ZIO Telemetry consists of the following projects:
Introduction
In monolithic architecture, everything is in one place, and we know when a request starts and then how it goes through the components and when it finishes. We can obviously see what is happening with our request and where is it going. But, in distributed systems like microservice architecture, we cannot find out the story of a request through various services easily. This is where distributed tracing comes into play.
ZIO Telemetry is a purely functional client which helps up propagate context between services in a distributed environment.
Installation
In order to use this library, we need to add the following line in our build.sbt
file if we want to use OpenTelemetry client:
libraryDependencies += "dev.zio" %% "zio-opentelemetry" % "<version>"
If you're using ZIO Logging you can combine OpenTelemetry with ZIO Logging using:
libraryDependencies += "dev.zio" %% "zio-opentelemetry-zio-logging" % "<version>"
For using OpenTracing client we should add the following line in our build.sbt
file:
libraryDependencies += "dev.zio" %% "zio-opentracing" % "<version>"
And for using OpenCensus client we should add the following line in our build.sbt
file:
libraryDependencies += "dev.zio" %% "zio-opencensus" % "<version>"
Examples
You can find examples with full source code and instructions of how to run by following the links:
- OpenTelemetry Example
- OpenTelemetry Instrumentation Example
- OpenTelemetry ZIO Logging Example
- OpenTracing Example
Articles
- Trace your microservices with ZIO by Marek Kadek (September 2021)
Documentation
Learn more on the ZIO Telemetry homepage!
Contributing
For the general guidelines, see ZIO contributor's guide.
Code of Conduct
See the Code of Conduct
Support
License
最近版本更新:(数据更新于 1970-01-01 00:00:00)
主题(topics):
functional-programming, opencensus, opentelemetry, opentracing, scala, zio
zio/zio-telemetry同语言 Scala最近更新仓库
2024-10-05 03:06:12 delta-io/delta-sharing
2024-09-25 11:49:48 enso-org/enso
2024-09-05 00:48:36 delta-io/delta
2024-08-30 10:16:51 microsoft/SynapseML
2024-05-08 03:46:22 twitter/finagle
2024-03-16 01:53:23 databrickslabs/smolder