Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…cing into develop
  • Loading branch information
Wizofgoz committed Jun 23, 2020
2 parents 63633af + 87fa9a3 commit a3f1cb5
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/Facades/Tracing.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ protected static function getFacadeAccessor(): string
{
return 'opentracing';
}
}
}
2 changes: 1 addition & 1 deletion src/Helpers/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ function begin_trace($operationName, $options = null): Scope
function end_trace(?Scope $scope = null): void
{
app(TracingService::class)->endTrace($scope);
}
}
2 changes: 1 addition & 1 deletion src/Resolvers/QueryTagResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ public function resolve($carrier, array $options = []): array

return $tags;
}
}
}
2 changes: 1 addition & 1 deletion src/Resolvers/RequestTagResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ public function resolve($carrier, array $options = []): array
HTTP_METHOD => $carrier->getMethod(),
];
}
}
}
2 changes: 1 addition & 1 deletion src/Resolvers/ResponseTagResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ public function resolve($carrier, array $options = []): array

return $tags;
}
}
}
2 changes: 1 addition & 1 deletion src/Resolvers/TagResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
interface TagResolver
{
public function resolve($carrier, array $options = []): array;
}
}
2 changes: 1 addition & 1 deletion tests/QueryTagResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ public function testResolveWrite()
$this->assertEquals(9002, $tags[PEER_PORT]);
$this->assertEquals(QueryTagResolver::PEER_SERVICE, $tags[PEER_SERVICE]);
}
}
}
2 changes: 1 addition & 1 deletion tests/RequestTagResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ public function testResolveAltMethod()
HTTP_METHOD => Request::METHOD_POST,
], $tags);
}
}
}
2 changes: 1 addition & 1 deletion tests/ResponseTagResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ public function testResolveServerError()
ERROR => true,
], $tags);
}
}
}
2 changes: 1 addition & 1 deletion tests/TracingHttpMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ public function testHandle()
$this->assertEquals('9876543210', dechex($context->getParentId()));
});
}
}
}
2 changes: 1 addition & 1 deletion tests/TracingJobMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ public function testHandle()
$this->assertNotNull($tracer->getActiveSpan()->getContext());
});
}
}
}
2 changes: 1 addition & 1 deletion tests/TracingLogProcessorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ public function testInvoke()
],
], $record);
}
}
}

0 comments on commit a3f1cb5

Please sign in to comment.