aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/test/scala/kamon/trace/TracerSpec.scala
blob: 686c15d0c177f13f9cc19c9755408a05889596a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package kamon.trace

import kamon.Kamon
import org.scalatest.{Matchers, WordSpec}

class TracerSpec extends WordSpec with Matchers {

  "the Kamon tracer" should {
    "build spans that contain all information given to the builder" in {
      val span = tracer.buildSpan("myOperation")
        .withSpanTag("hello", "world")
        .start()
    }
  }

  val tracer: Tracer = Kamon

}