aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/scala/kamon/trace/IdentityProvider.scala
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2017-08-14 23:08:14 +0200
committerIvan Topolnjak <ivantopo@gmail.com>2017-08-14 23:08:35 +0200
commit407d74e89acdd4dff5a887c1ae5793d63e9e7a2e (patch)
tree677f0a573dfe028f31826748609e315a4bfa36dd /kamon-core/src/main/scala/kamon/trace/IdentityProvider.scala
parent3a8c0fa25f12230b27e943d1fffe07f814c650fe (diff)
downloadKamon-407d74e89acdd4dff5a887c1ae5793d63e9e7a2e.tar.gz
Kamon-407d74e89acdd4dff5a887c1ae5793d63e9e7a2e.tar.bz2
Kamon-407d74e89acdd4dff5a887c1ae5793d63e9e7a2e.zip
expose the identity provider through the Tracer
Diffstat (limited to 'kamon-core/src/main/scala/kamon/trace/IdentityProvider.scala')
-rw-r--r--kamon-core/src/main/scala/kamon/trace/IdentityProvider.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/kamon-core/src/main/scala/kamon/trace/IdentityProvider.scala b/kamon-core/src/main/scala/kamon/trace/IdentityProvider.scala
index 3f44629e..937200f5 100644
--- a/kamon-core/src/main/scala/kamon/trace/IdentityProvider.scala
+++ b/kamon-core/src/main/scala/kamon/trace/IdentityProvider.scala
@@ -8,8 +8,8 @@ import kamon.util.HexCodec
import scala.util.Try
trait IdentityProvider {
- def traceIdentifierGenerator(): IdentityProvider.Generator
- def spanIdentifierGenerator(): IdentityProvider.Generator
+ def traceIdGenerator(): IdentityProvider.Generator
+ def spanIdGenerator(): IdentityProvider.Generator
}
object IdentityProvider {
@@ -57,8 +57,8 @@ object IdentityProvider {
} getOrElse(IdentityProvider.NoIdentifier)
}
- override def traceIdentifierGenerator(): Generator = longGenerator
- override def spanIdentifierGenerator(): Generator = longGenerator
+ override def traceIdGenerator(): Generator = longGenerator
+ override def spanIdGenerator(): Generator = longGenerator
}
object Default {
@@ -97,7 +97,7 @@ object IdentityProvider {
} getOrElse(IdentityProvider.NoIdentifier)
}
- override def traceIdentifierGenerator(): Generator = doubleLongGenerator
+ override def traceIdGenerator(): Generator = doubleLongGenerator
}
object DoubleSizeTraceID {