Comments (2)
It may help if you provide more details on what you're trying to achieve.
If you mean to get the underlying span context, you can do that by doing something like:
$traceContext = $span->getContext();
// Get the underlying Zipkin span context
$traceContext->getRawContext()
This will give you access to a bunch of low-level instrumentation methods like retrieving the trace ID.
As for getting a serialized JSON representation of the finished span, I don't think you can do that unless you hook into reporter yourself like in tests here. However, you shouldn't have the need for that normally.
from tracing-laravel.
thankyou @adiachenko
from tracing-laravel.
Related Issues (12)
- Tracing db queries HOT 1
- Can't install on laravel 8 HOT 1
- How to get spanMap as an array after span is finished? HOT 3
- Migrate to Zipkin 2.0 HOT 2
- 'Vinelab\Tracing\Contracts\Tracer' is not Instantiable HOT 2
- Too few arguments to function 'Illuminate\Support\Manager::createDriver()' HOT 5
- Lumen Support HOT 2
- Has anyone considered adding more events to Laravel? HOT 4
- Lumen with Vinelab/tracing-laravel plugin raised error HOT 1
- Drop support for some older versions of PHP and Laravel in the next major release HOT 7
- Consider using idiomatic zipkin tags HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tracing-laravel.