@opentelemetry/tracing
Advanced tools
Comparing version 0.12.0 to 0.12.1-alpha.4
@@ -0,1 +1,2 @@ | ||
import { Span } from '../Span'; | ||
import { SpanProcessor } from '../SpanProcessor'; | ||
@@ -19,3 +20,3 @@ import { BufferConfig } from '../types'; | ||
forceFlush(): Promise<void>; | ||
onStart(span: ReadableSpan): void; | ||
onStart(span: Span): void; | ||
onEnd(span: ReadableSpan): void; | ||
@@ -22,0 +23,0 @@ shutdown(): Promise<void>; |
@@ -0,4 +1,5 @@ | ||
import { Span } from '../Span'; | ||
import { SpanProcessor } from '../SpanProcessor'; | ||
import { ReadableSpan } from './ReadableSpan'; | ||
import { SpanExporter } from './SpanExporter'; | ||
import { ReadableSpan } from './ReadableSpan'; | ||
/** | ||
@@ -16,3 +17,3 @@ * An implementation of the {@link SpanProcessor} that converts the {@link Span} | ||
forceFlush(): Promise<void>; | ||
onStart(span: ReadableSpan): void; | ||
onStart(span: Span): void; | ||
onEnd(span: ReadableSpan): void; | ||
@@ -19,0 +20,0 @@ shutdown(): Promise<void>; |
@@ -0,3 +1,4 @@ | ||
import { ReadableSpan } from './export/ReadableSpan'; | ||
import { Span } from './Span'; | ||
import { SpanProcessor } from './SpanProcessor'; | ||
import { ReadableSpan } from './export/ReadableSpan'; | ||
/** | ||
@@ -11,3 +12,3 @@ * Implementation of the {@link SpanProcessor} that simply forwards all | ||
forceFlush(): Promise<void>; | ||
onStart(span: ReadableSpan): void; | ||
onStart(span: Span): void; | ||
onEnd(span: ReadableSpan): void; | ||
@@ -14,0 +15,0 @@ shutdown(): Promise<void>; |
@@ -0,6 +1,7 @@ | ||
import { ReadableSpan } from './export/ReadableSpan'; | ||
import { Span } from './Span'; | ||
import { SpanProcessor } from './SpanProcessor'; | ||
import { ReadableSpan } from './export/ReadableSpan'; | ||
/** No-op implementation of SpanProcessor */ | ||
export declare class NoopSpanProcessor implements SpanProcessor { | ||
onStart(span: ReadableSpan): void; | ||
onStart(span: Span): void; | ||
onEnd(span: ReadableSpan): void; | ||
@@ -7,0 +8,0 @@ shutdown(): Promise<void>; |
import { ReadableSpan } from './export/ReadableSpan'; | ||
import { Span } from './Span'; | ||
/** | ||
@@ -12,7 +13,7 @@ * SpanProcessor is the interface Tracer SDK uses to allow synchronous hooks | ||
/** | ||
* Called when a {@link ReadableSpan} is started, if the `span.isRecording()` | ||
* Called when a {@link Span} is started, if the `span.isRecording()` | ||
* returns true. | ||
* @param span the Span that just started. | ||
*/ | ||
onStart(span: ReadableSpan): void; | ||
onStart(span: Span): void; | ||
/** | ||
@@ -19,0 +20,0 @@ * Called when a {@link ReadableSpan} is ended, if the `span.isRecording()` |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.12.0"; | ||
export declare const VERSION = "0.12.1-alpha.4+f8988b5d"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.12.0'; | ||
exports.VERSION = '0.12.1-alpha.4+f8988b5d'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/tracing", | ||
"version": "0.12.0", | ||
"version": "0.12.1-alpha.4+f8988b5d", | ||
"description": "OpenTelemetry Tracing", | ||
@@ -83,3 +83,3 @@ "main": "build/src/index.js", | ||
}, | ||
"gitHead": "3f72613a36b6f97555a0fa7481755cf8b6cce1a7" | ||
"gitHead": "f8988b5d8d2e138add50774d06bea77ef25745ba" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92522
1442
1