diff options
author | mladens <mladens42@gmail.com> | 2017-07-12 12:26:38 +0200 |
---|---|---|
committer | mladens <mladens42@gmail.com> | 2017-07-12 12:26:38 +0200 |
commit | 6c0a8fb6395fca11b48f7ad1cd2bd774f90ee7fd (patch) | |
tree | 11cfe2100a59ab6af800293707ab6266dd2195ec /kamon-core/src/main | |
parent | 09af20cca6243400e0b922113d896e1ddc46382c (diff) | |
download | Kamon-6c0a8fb6395fca11b48f7ad1cd2bd774f90ee7fd.tar.gz Kamon-6c0a8fb6395fca11b48f7ad1cd2bd774f90ee7fd.tar.bz2 Kamon-6c0a8fb6395fca11b48f7ad1cd2bd774f90ee7fd.zip |
Remove span error counter, count from metric refined with error tag should be used
Diffstat (limited to 'kamon-core/src/main')
-rw-r--r-- | kamon-core/src/main/scala/kamon/trace/Span.scala | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kamon-core/src/main/scala/kamon/trace/Span.scala b/kamon-core/src/main/scala/kamon/trace/Span.scala index 63cecadc..464559e3 100644 --- a/kamon-core/src/main/scala/kamon/trace/Span.scala +++ b/kamon-core/src/main/scala/kamon/trace/Span.scala @@ -158,7 +158,6 @@ class Span(spanContext: SpanContext, initialOperationName: String, initialTags: } val refinedTags = if(isError) { - Span.Metrics.SpanErrorCount.refine(metricTags).increment() metricTags + ("error" -> Span.BooleanTagTrueValue) } else { metricTags |