Tracing
Helper classes for OpenTracing and Micrometer (API Documentation)
Usage
- sbt
libraryDependencies += "com.kyleu" %% "projectile-lib-tracing" % "1.20.0"
- Maven
<dependency> <groupId>com.kyleu</groupId> <artifactId>projectile-lib-tracing_2.12</artifactId> <version>1.20.0</version> </dependency>
- Gradle
dependencies { compile group: 'com.kyleu', name: 'projectile-lib-tracing_2.12', version: '1.20.0' }
Classes
Instrumented
Helper class to initialize Prometheus, Datadog, or StatsD metrics reporting
MetricsConfig
Case class containing all of the information needed to report metrics. Usually created from a config file.
OpenTracingService
Implements TracingService to provide system-wide tracing support
TraceDataOpenTracing
Extends TraceData with OpenTracing-specific functionality
1.20.0