Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/tracing

Package Overview
Dependencies
Maintainers
4
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/tracing - npm Package Compare versions

Comparing version 0.12.0 to 0.12.1-alpha.4

3

build/src/export/BatchSpanProcessor.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc