Skip to content

Commit

Permalink
trigger circle ci rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
tlhunter committed Sep 15, 2022
1 parent f3d30d9 commit 485b08e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/dd-trace/src/opentracing/span.js
Expand Up @@ -43,6 +43,7 @@ class DatadogSpan {
if (DD_TRACE_EXPERIMENTAL_SPAN_COUNTS && finishedRegistry) {
metrics.increment('runtime.node.spans.unfinished')
metrics.increment('runtime.node.spans.unfinished.by.name', `span_name:${operationName}`)

metrics.increment('runtime.node.spans.open') // unfinished for real
metrics.increment('runtime.node.spans.open.by.name', `span_name:${operationName}`)

Expand Down Expand Up @@ -122,6 +123,7 @@ class DatadogSpan {
metrics.decrement('runtime.node.spans.unfinished.by.name', `span_name:${this._name}`)
metrics.increment('runtime.node.spans.finished')
metrics.increment('runtime.node.spans.finished.by.name', `span_name:${this._name}`)

metrics.decrement('runtime.node.spans.open') // unfinished for real
metrics.decrement('runtime.node.spans.open.by.name', `span_name:${this._name}`)

Expand Down

0 comments on commit 485b08e

Please sign in to comment.