WIP - add extractor, generate snippet_data
This commit is contained in:
37
node_modules/opentracing/lib/span_context.js
generated
vendored
Normal file
37
node_modules/opentracing/lib/span_context.js
generated
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
/**
|
||||
* SpanContext represents Span state that must propagate to descendant Spans
|
||||
* and across process boundaries.
|
||||
*
|
||||
* SpanContext is logically divided into two pieces: the user-level "Baggage"
|
||||
* (see setBaggageItem and getBaggageItem) that propagates across Span
|
||||
* boundaries and any Tracer-implementation-specific fields that are needed to
|
||||
* identify or otherwise contextualize the associated Span instance (e.g., a
|
||||
* <trace_id, span_id, sampled> tuple).
|
||||
*/
|
||||
var SpanContext = /** @class */ (function () {
|
||||
function SpanContext() {
|
||||
}
|
||||
// The SpanContext is entirely implementation dependent
|
||||
/**
|
||||
* Returns a string representation of the implementation internal trace ID.
|
||||
*
|
||||
* @returns {string}
|
||||
*/
|
||||
SpanContext.prototype.toTraceId = function () {
|
||||
return '';
|
||||
};
|
||||
/**
|
||||
* Returns a string representation of the implementation internal span ID.
|
||||
*
|
||||
* @returns {string}
|
||||
*/
|
||||
SpanContext.prototype.toSpanId = function () {
|
||||
return '';
|
||||
};
|
||||
return SpanContext;
|
||||
}());
|
||||
exports.SpanContext = SpanContext;
|
||||
exports.default = SpanContext;
|
||||
//# sourceMappingURL=span_context.js.map
|
||||
Reference in New Issue
Block a user