-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instrumenter: calling
#shouldStartUnder:request:
is the responsibil…
…ity of the instrumentation developer
- Loading branch information
1 parent
0bfa43a
commit 0a49ae1
Showing
8 changed files
with
154 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
Class { | ||
#name : #OTContext, | ||
#superclass : #Object, | ||
#name : 'OTContext', | ||
#superclass : 'Object', | ||
#instVars : [ | ||
'currentSpan' | ||
], | ||
#category : 'OpenTelemetry-Instrumentation' | ||
#category : 'OpenTelemetry-Instrumentation', | ||
#package : 'OpenTelemetry-Instrumentation' | ||
} | ||
|
||
{ #category : #'accessing - context' } | ||
{ #category : 'accessing - context' } | ||
OTContext >> currentSpan [ | ||
|
||
^ currentSpan | ||
] | ||
|
||
{ #category : #accessing } | ||
{ #category : 'accessing' } | ||
OTContext >> currentSpan: aSpan [ | ||
|
||
currentSpan := aSpan | ||
] | ||
|
||
{ #category : #initialization } | ||
{ #category : 'initialization' } | ||
OTContext >> initialize [ | ||
"TODO gather data on executor" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.