Comments (6)
OpenTracing can be used with streaming / pub-sub. We have an internal project integrating tracing with Kafka, for example.
I think the main question is what you want to use tracing for in this scenario. For system analysis the lineage is often very important. With OpenTracing, we can correlate messages processed by different nodes in the pipeline and build an execution graph, similar to the call graph we get from regular RPC use case.
from specification.
And how we can handle situation when multiple services which consume the same source message want to finish started span which is single per message from source and generate differenct spans as result of processing whole trace? As i read, span (which is created when source message is created) may be closed only once. Or there exists another approach to create spans for that case?
It there an implementation of OpenTracing that can handle this case?
from specification.
In our model the span does not represent the time message spends in the queue. Spans are meant to be single-process, so there is a span, started and finished, in the producer that encapsulates the work of putting the message into the queue. Each consumer starts its own span upon reading the message, and those spans encapsulate the work done by each consumer. You can think of it in terms of AWS's lambda architecture - a handler function does not even need to know how it gets the message, from a queue or via an RPC call, therefore its OpenTracing instrumentation should not be different in each scenario either.
from specification.
So that "short life spans" should be linked only by means of "FollowsFrom" reference type?
And how can i calculate for example total time from creating source message to the end of processing? Only by traverse from the end to the beggining of the trace and calculate it by myself? Is there an existed tracing system that can handle that for me?
from specification.
FollowsFrom or yet another non-standard ref type. FollowsFrom ref type usually keeps the next span in the same trace. Sometimes you want the consumer to start a new trace, but link to the parent trace via some custom span ref type.
When spans are in the same trace, e.g. Zipkin will still display the total duration of the trace for you.
from specification.
Is there an example/snippet of tracing spans using FollowsFrom
(or some other means) with published messages? I need a visual
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
- Finish time of child Span (ChildOf reference) HOT 4
- 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.