Skip to content

Commit

Permalink
do not record message contents in ActorTracing instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
levkhomich committed Oct 3, 2015
1 parent 9bad03c commit 96e4c2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ trait ActorTracing extends AroundReceiveOverrideHack { self: Actor =>
msg match {
case ts: BaseTracingSupport if receive.isDefinedAt(msg) =>
trace.start(ts, serviceName)
trace.record(ts, "request: " + msg.toString)
case _ =>
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ class ActorTracingSpec extends Specification with TracingTestCommons with Tracin
trace.finish(message)

val span = receiveSpan()
checkAnnotation(span, "request: " + message)
span.get_annotations.size mustEqual 2
span.get_binary_annotations mustEqual null
}

}
Expand Down

0 comments on commit 96e4c2b

Please sign in to comment.