Allow setting span start/end times explicitly
See original GitHub issueWe have a use case where the start/end times of traces is coming from an external system. We need to be able to explicitly set the times instead of the times automatically retrieved from the local clock.
The suggested change to the Span API is the following:
- Add
void setStartTime(Timestamp startTimestamp)
to Span. - Add
void end(EndSpanOptions options, Timestamp endTimestamp)
to Span.
Here is the draft of proposed solution that I can turn into Pull Request if this issue is accepted:
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:11 (5 by maintainers)
Top Results From Across the Web
timechart - Splunk Documentation
When you specify a minspan value, the span that is used for the search must be equal to or greater than one of...
Read more >opentelemetry.trace package
Each operation in a trace is represented by a Span , which records the start, end time, and metadata associated with the operation....
Read more >grid-column - CSS: Cascading Style Sheets - MDN Web Docs
The grid-column CSS shorthand property specifies a grid item's size and location within a grid column by contributing a line, a span, ...
Read more >Structural markup and right-to-left text in HTML - W3C
In HTML the base direction is either (a) set explicitly by the nearest ... Add dir="rtl" to the html tag any time the...
Read more >Just-in-Time Mode - Tailwind CSS
Enabling JIT mode. To enable just-in-time mode, set the mode option to 'jit' in your tailwind.config.js file: // tailwind.config.js module.exports = { + ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am constructing Spans, I didn’t consider creating SpanData directly. I can check that to see if it works for my use case.
For reference here is how I use this feature in my code currently:
@MahatmaFatalError sorry, I no longer have that piece of code around to dig into it. I solved my problem in a different (unrelated) way, so can’t help much with this.