Skip to content

Commit

Permalink
Merge branch 'main' into chore/stable-otlp
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan authored Dec 21, 2021
2 parents bee2cd0 + 8b9935b commit 413567b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/tracer-web/examples/fetchXhr/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const prepareClickEvent = () => {
const element1 = document.getElementById('button1');
const element2 = document.getElementById('button2');

const clickHandler = (fetchFn) => () => {
const clickHandler = (fetchFn) => {
const singleSpan = webTracerWithZone.startSpan('files-series-info');
context.with(trace.setSpan(context.active(), singleSpan), () => {
fetchFn(url).then((_data) => {
Expand Down
2 changes: 1 addition & 1 deletion examples/tracer-web/examples/fetchXhrB3/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const prepareClickEvent = () => {
const element1 = document.getElementById('button1');
const element2 = document.getElementById('button2');

const clickHandler = (fetchFn) => () => {
const clickHandler = (fetchFn) => {
const singleSpan = webTracerWithZone.startSpan('files-series-info');
context.with(trace.setSpan(context.active(), singleSpan), () => {
fetchFn(url).then((_data) => {
Expand Down

0 comments on commit 413567b

Please sign in to comment.