Comments (4)
There is no requirement that child finishes before parent. The most common use case for this is when parent is the client
span and child is the server
span. The client may have a timeout that would cause the parent client
span to be closed before server completes processing of the request.
In other words, childOf reference implies parent's dependency on the outcome (and one of the outcomes is "server did not finish in time"), but not the causal relationship child.end happens-before parent.end
from specification.
The client may have a timeout that would cause the parent client span to be closed before server completes processing of the request.
This as interesting example and I think it would be great to explicitly include the characteristic and example in the reference.
from specification.
To me, it comes down to whether the data model sets a constraint on:
A child span can not outlive its parent
I do not see any references to this in the specification, and I would suggest that if this is not a requirement that it actually be explicitly stated that this is not guaranteed, rather than some-one inferring it from the diagram.
As a side-point, I do see the appeal of adding such a constraint on the data-model as it does capture the nature of request/response based systems well, i.e. you can guarantee that all child requests have returned by the time the response gets sent back (timeouts + gradual degradation being the exception perhaps).
However in-practice, enforcing such a constraint in the framework is a bit tricky, especially given that say clock skew between two processes can invalidate this when looking at timestamps. Likewise it imposes a potentially difficult implementation of the tracing model. As such I would suggest this be seen more as a Best Practice rather than data model constraint.
from specification.
Wouldn't be the same for Child Span A
and Child Span B
where the former is considered a parent?
from specification.
Related Issues (20)
- Typed support for semantic conventions
- Add structured message support to Semantic Conventions HOT 17
- Inject tracid and spanid HOT 5
- Event-driven and reactive systems HOT 2
- Proposal: Add more semantics for message HOT 1
- Trace time message spent in Kafka HOT 5
- Mark the specification as obsolete since the effort moved to OpenTelemetry HOT 1
- Add discrete events HOT 1
- Script to generate a PDF doc from Markdown HOT 1
- How to meet criteria of log structured timestamp? HOT 1
- Tracing TCP HOT 3
- The Carrier Formats are not in sync
- How to add baggage items to Mongo DB operations using jaeger-cloud-starter in java HOT 2
- Opentracing information in a message HOT 2
- windows HOT 1
- Clarify if null values are considered valid tag values? HOT 1
- me HOT 2
- Invalid link to data_conventions.md HOT 1
- 🛑 Deprecating OpenTracing HOT 6
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 specification.