Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
Use better span names in the example
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri Shkuro committed Mar 4, 2017
1 parent 2b1844f commit bd030b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tracer.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ export default class Tracer {
* var parent = Tracer.startSpan('DoWork');
*
* // Start a new (child) Span:
* var child = Tracer.startSpan('Subroutine', {
* var child = Tracer.startSpan('load-from-db', {
* childOf: parent.context(),
* });
*
* // Start a new async (FollowsFrom) Span:
* var child = Tracer.startSpan('Subroutine', {
* var child = Tracer.startSpan('async-cache-write', {
* references: [
* opentracing.followsFrom(parent.context())
* ],
Expand Down

0 comments on commit bd030b4

Please sign in to comment.