/
opt
/
canhelp
/
node_modules
/
@opentelemetry
/
api
/
build
/
src
/
trace
/
/opt/canhelp/node_modules/@opentelemetry/api/build/src/trace
mkdir
upload
Name
Size
Mode
Actions
internal/
-
0755
rm
attributes.d.ts
344
0644
edit
dl
rm
attributes.js
200
0644
edit
dl
rm
attributes.js.map
568
0644
edit
dl
rm
context-utils.d.ts
1275
0644
edit
dl
rm
context-utils.js
2067
0644
edit
dl
rm
context-utils.js.map
2926
0644
edit
dl
rm
invalid-span-constants.d.ts
364
0644
edit
dl
rm
invalid-span-constants.js
686
0644
edit
dl
rm
invalid-span-constants.js.map
944
0644
edit
dl
rm
link.d.ts
1295
0644
edit
dl
rm
link.js
194
0644
edit
dl
rm
link.js.map
1515
0644
edit
dl
rm
NonRecordingSpan.d.ts
1169
0644
edit
dl
rm
NonRecordingSpan.js
1551
0644
edit
dl
rm
NonRecordingSpan.js.map
2879
0644
edit
dl
rm
NoopTracer.d.ts
780
0644
edit
dl
rm
NoopTracer.js
2444
0644
edit
dl
rm
NoopTracer.js.map
4791
0644
edit
dl
rm
NoopTracerProvider.d.ts
511
0644
edit
dl
rm
NoopTracerProvider.js
621
0644
edit
dl
rm
NoopTracerProvider.js.map
981
0644
edit
dl
rm
ProxyTracer.d.ts
1209
0644
edit
dl
rm
ProxyTracer.js
1413
0644
edit
dl
rm
ProxyTracer.js.map
3270
0644
edit
dl
rm
ProxyTracerProvider.d.ts
1089
0644
edit
dl
rm
ProxyTracerProvider.js
1655
0644
edit
dl
rm
ProxyTracerProvider.js.map
2438
0644
edit
dl
rm
Sampler.d.ts
1600
0644
edit
dl
rm
Sampler.js
197
0644
edit
dl
rm
Sampler.js.map
1843
0644
edit
dl
rm
SamplingResult.d.ts
1824
0644
edit
dl
rm
SamplingResult.js
1169
0644
edit
dl
rm
SamplingResult.js.map
2205
0644
edit
dl
rm
span.d.ts
5019
0644
edit
dl
rm
span.js
194
0644
edit
dl
rm
span.js.map
5173
0644
edit
dl
rm
spancontext-utils.d.ts
804
0644
edit
dl
rm
spancontext-utils.js
2446
0644
edit
dl
rm
spancontext-utils.js.map
4645
0644
edit
dl
rm
SpanOptions.d.ts
755
0644
edit
dl
rm
SpanOptions.js
201
0644
edit
dl
rm
SpanOptions.js.map
973
0644
edit
dl
rm
span_context.d.ts
2145
0644
edit
dl
rm
span_context.js
202
0644
edit
dl
rm
span_context.js.map
2322
0644
edit
dl
rm
span_kind.d.ts
952
0644
edit
dl
rm
span_kind.js
1375
0644
edit
dl
rm
span_kind.js.map
1381
0644
edit
dl
rm
status.d.ts
605
0644
edit
dl
rm
status.js
823
0644
edit
dl
rm
status.js.map
976
0644
edit
dl
rm
tracer.d.ts
2695
0644
edit
dl
rm
tracer.js
196
0644
edit
dl
rm
tracer.js.map
2912
0644
edit
dl
rm
tracer_options.d.ts
267
0644
edit
dl
rm
tracer_options.js
204
0644
edit
dl
rm
tracer_options.js.map
483
0644
edit
dl
rm
tracer_provider.d.ts
878
0644
edit
dl
rm
tracer_provider.js
205
0644
edit
dl
rm
tracer_provider.js.map
1090
0644
edit
dl
rm
trace_flags.d.ts
234
0644
edit
dl
rm
trace_flags.js
569
0644
edit
dl
rm
trace_flags.js.map
597
0644
edit
dl
rm
trace_state.d.ts
1520
0644
edit
dl
rm
trace_state.js
201
0644
edit
dl
rm
trace_state.js.map
1863
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/@opentelemetry/api/build/src/trace/span.js.map
(5173B)
{"version":3,"file":"span.js","sourceRoot":"","sources":["../../../src/trace/span.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport type { Exception } from '../common/Exception';\nimport type { TimeInput } from '../common/Time';\nimport type { SpanAttributes, SpanAttributeValue } from './attributes';\nimport type { SpanContext } from './span_context';\nimport type { SpanStatus } from './status';\nimport type { Link } from './link';\n\n/**\n * An interface that represents a span. A span represents a single operation\n * within a trace. Examples of span might include remote procedure calls or a\n * in-process function calls to sub-components. A Trace has a single, top-level\n * \"root\" Span that in turn may have zero or more child Spans, which in turn\n * may have children.\n *\n * Spans are created by the {@link Tracer.startSpan} method.\n *\n * @since 1.0.0\n */\nexport interface Span {\n /**\n * Returns the {@link SpanContext} object associated with this Span.\n *\n * Get an immutable, serializable identifier for this span that can be used\n * to create new child spans. Returned SpanContext is usable even after the\n * span ends.\n *\n * @returns the SpanContext object associated with this Span.\n */\n spanContext(): SpanContext;\n\n /**\n * Sets an attribute to the span.\n *\n * Sets a single Attribute with the key and value passed as arguments.\n *\n * @param key the key for this attribute.\n * @param value the value for this attribute. Setting a value null or\n * undefined is invalid and will result in undefined behavior.\n */\n setAttribute(key: string, value: SpanAttributeValue): this;\n\n /**\n * Sets attributes to the span.\n *\n * @param attributes the attributes that will be added.\n * null or undefined attribute values\n * are invalid and will result in undefined behavior.\n */\n setAttributes(attributes: SpanAttributes): this;\n\n /**\n * Adds an event to the Span.\n *\n * @param name the name of the event.\n * @param [attributesOrStartTime] the attributes that will be added; these are\n * associated with this event. Can be also a start time\n * if type is {@type TimeInput} and 3rd param is undefined\n * @param [startTime] start time of the event.\n */\n addEvent(\n name: string,\n attributesOrStartTime?: SpanAttributes | TimeInput,\n startTime?: TimeInput\n ): this;\n\n /**\n * Adds a single link to the span.\n *\n * Links added after the creation will not affect the sampling decision.\n * It is preferred span links be added at span creation.\n *\n * @param link the link to add.\n */\n addLink(link: Link): this;\n\n /**\n * Adds multiple links to the span.\n *\n * Links added after the creation will not affect the sampling decision.\n * It is preferred span links be added at span creation.\n *\n * @param links the links to add.\n */\n addLinks(links: Link[]): this;\n\n /**\n * Sets the status of the span.\n *\n * By default, a span has status {@link SpanStatusCode.UNSET}.\n * Calling this method overrides that default.\n *\n * The status codes have a total order: `OK > ERROR > UNSET`.\n *\n * - Once {@link SpanStatusCode.OK} is set, any further attempts to change\n * the status are ignored.\n * - Any attempt to set {@link SpanStatusCode.UNSET} is always ignored.\n *\n * The `message` field is only used when {@link SpanStatusCode.ERROR} is set.\n * For all other status codes, `message` is ignored.\n *\n * @param status The {@link SpanStatus} to set.\n */\n setStatus(status: SpanStatus): this;\n\n /**\n * Updates the Span name.\n *\n * This will override the name provided via {@link Tracer.startSpan}.\n *\n * Upon this update, any sampling behavior based on Span name will depend on\n * the implementation.\n *\n * @param name the Span name.\n */\n updateName(name: string): this;\n\n /**\n * Marks the end of Span execution.\n *\n * Call to End of a Span MUST not have any effects on child spans. Those may\n * still be running and can be ended later.\n *\n * Do not return `this`. The Span generally should not be used after it\n * is ended so chaining is not desired in this context.\n *\n * @param [endTime] the time to set as Span's end time. If not provided,\n * use the current time as the span's end time.\n */\n end(endTime?: TimeInput): void;\n\n /**\n * Returns the flag whether this span will be recorded.\n *\n * @returns true if this Span is active and recording information like events\n * with the `AddEvent` operation and attributes using `setAttributes`.\n */\n isRecording(): boolean;\n\n /**\n * Sets exception as a span event\n * @param exception the exception the only accepted values are string or Error\n * @param [time] the time to set as Span's event time. If not provided,\n * use the current time.\n */\n recordException(exception: Exception, time?: TimeInput): void;\n}\n"]}
Save
cmd:
run