🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@azure/core-tracing

Package Overview
Dependencies
Maintainers
2
Versions
407
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/core-tracing - npm Package Compare versions

Comparing version

to
1.1.3-alpha.20240920.2

2

dist/browser/index.d.ts

@@ -1,4 +0,4 @@

export { Instrumenter, InstrumenterSpanOptions, OperationTracingOptions, OptionsWithTracingContext, Resolved, SpanStatus, SpanStatusError, SpanStatusSuccess, TracingClient, TracingClientOptions, TracingContext, TracingSpan, TracingSpanKind, TracingSpanLink, TracingSpanOptions, } from "./interfaces.js";
export { AddEventOptions, Instrumenter, InstrumenterSpanOptions, OperationTracingOptions, OptionsWithTracingContext, Resolved, SpanStatus, SpanStatusError, SpanStatusSuccess, TracingClient, TracingClientOptions, TracingContext, TracingSpan, TracingSpanKind, TracingSpanLink, TracingSpanOptions, } from "./interfaces.js";
export { useInstrumenter } from "./instrumenter.js";
export { createTracingClient } from "./tracingClient.js";
//# sourceMappingURL=index.d.ts.map

@@ -20,2 +20,5 @@ // Copyright (c) Microsoft Corporation.

},
addEvent: () => {
// noop
},
};

@@ -22,0 +25,0 @@ }

@@ -177,2 +177,15 @@ /**

/**
* Represents options you can pass to {@link TracingSpan.addEvent}.
*/
export interface AddEventOptions {
/**
* A set of attributes to attach to the event.
*/
attributes?: Record<string, unknown>;
/**
* The start time of the event.
*/
startTime?: Date;
}
/**
* Represents an implementation agnostic tracing span.

@@ -213,2 +226,6 @@ */

isRecording(): boolean;
/**
* Adds an event to the span.
*/
addEvent?(name: string, options?: AddEventOptions): void;
}

@@ -215,0 +232,0 @@ /** An immutable context bag of tracing values for the current operation. */

@@ -1,4 +0,4 @@

export { Instrumenter, InstrumenterSpanOptions, OperationTracingOptions, OptionsWithTracingContext, Resolved, SpanStatus, SpanStatusError, SpanStatusSuccess, TracingClient, TracingClientOptions, TracingContext, TracingSpan, TracingSpanKind, TracingSpanLink, TracingSpanOptions, } from "./interfaces.js";
export { AddEventOptions, Instrumenter, InstrumenterSpanOptions, OperationTracingOptions, OptionsWithTracingContext, Resolved, SpanStatus, SpanStatusError, SpanStatusSuccess, TracingClient, TracingClientOptions, TracingContext, TracingSpan, TracingSpanKind, TracingSpanLink, TracingSpanOptions, } from "./interfaces.js";
export { useInstrumenter } from "./instrumenter.js";
export { createTracingClient } from "./tracingClient.js";
//# sourceMappingURL=index.d.ts.map

@@ -26,2 +26,5 @@ "use strict";

},
addEvent: () => {
// noop
},
};

@@ -28,0 +31,0 @@ }

@@ -177,2 +177,15 @@ /**

/**
* Represents options you can pass to {@link TracingSpan.addEvent}.
*/
export interface AddEventOptions {
/**
* A set of attributes to attach to the event.
*/
attributes?: Record<string, unknown>;
/**
* The start time of the event.
*/
startTime?: Date;
}
/**
* Represents an implementation agnostic tracing span.

@@ -213,2 +226,6 @@ */

isRecording(): boolean;
/**
* Adds an event to the span.
*/
addEvent?(name: string, options?: AddEventOptions): void;
}

@@ -215,0 +232,0 @@ /** An immutable context bag of tracing values for the current operation. */

/**
* Represents options you can pass to {@link TracingSpan.addEvent}.
*/
export declare interface AddEventOptions {
/**
* A set of attributes to attach to the event.
*/
attributes?: Record<string, unknown>;
/**
* The start time of the event.
*/
startTime?: Date;
}
/**
* Creates a new tracing client.

@@ -250,2 +264,6 @@ *

isRecording(): boolean;
/**
* Adds an event to the span.
*/
addEvent?(name: string, options?: AddEventOptions): void;
}

@@ -252,0 +270,0 @@

@@ -1,4 +0,4 @@

export { Instrumenter, InstrumenterSpanOptions, OperationTracingOptions, OptionsWithTracingContext, Resolved, SpanStatus, SpanStatusError, SpanStatusSuccess, TracingClient, TracingClientOptions, TracingContext, TracingSpan, TracingSpanKind, TracingSpanLink, TracingSpanOptions, } from "./interfaces.js";
export { AddEventOptions, Instrumenter, InstrumenterSpanOptions, OperationTracingOptions, OptionsWithTracingContext, Resolved, SpanStatus, SpanStatusError, SpanStatusSuccess, TracingClient, TracingClientOptions, TracingContext, TracingSpan, TracingSpanKind, TracingSpanLink, TracingSpanOptions, } from "./interfaces.js";
export { useInstrumenter } from "./instrumenter.js";
export { createTracingClient } from "./tracingClient.js";
//# sourceMappingURL=index.d.ts.map

@@ -20,2 +20,5 @@ // Copyright (c) Microsoft Corporation.

},
addEvent: () => {
// noop
},
};

@@ -22,0 +25,0 @@ }

@@ -177,2 +177,15 @@ /**

/**
* Represents options you can pass to {@link TracingSpan.addEvent}.
*/
export interface AddEventOptions {
/**
* A set of attributes to attach to the event.
*/
attributes?: Record<string, unknown>;
/**
* The start time of the event.
*/
startTime?: Date;
}
/**
* Represents an implementation agnostic tracing span.

@@ -213,2 +226,6 @@ */

isRecording(): boolean;
/**
* Adds an event to the span.
*/
addEvent?(name: string, options?: AddEventOptions): void;
}

@@ -215,0 +232,0 @@ /** An immutable context bag of tracing values for the current operation. */

@@ -1,4 +0,4 @@

export { Instrumenter, InstrumenterSpanOptions, OperationTracingOptions, OptionsWithTracingContext, Resolved, SpanStatus, SpanStatusError, SpanStatusSuccess, TracingClient, TracingClientOptions, TracingContext, TracingSpan, TracingSpanKind, TracingSpanLink, TracingSpanOptions, } from "./interfaces.js";
export { AddEventOptions, Instrumenter, InstrumenterSpanOptions, OperationTracingOptions, OptionsWithTracingContext, Resolved, SpanStatus, SpanStatusError, SpanStatusSuccess, TracingClient, TracingClientOptions, TracingContext, TracingSpan, TracingSpanKind, TracingSpanLink, TracingSpanOptions, } from "./interfaces.js";
export { useInstrumenter } from "./instrumenter.js";
export { createTracingClient } from "./tracingClient.js";
//# sourceMappingURL=index.d.ts.map

@@ -20,2 +20,5 @@ // Copyright (c) Microsoft Corporation.

},
addEvent: () => {
// noop
},
};

@@ -22,0 +25,0 @@ }

@@ -177,2 +177,15 @@ /**

/**
* Represents options you can pass to {@link TracingSpan.addEvent}.
*/
export interface AddEventOptions {
/**
* A set of attributes to attach to the event.
*/
attributes?: Record<string, unknown>;
/**
* The start time of the event.
*/
startTime?: Date;
}
/**
* Represents an implementation agnostic tracing span.

@@ -213,2 +226,6 @@ */

isRecording(): boolean;
/**
* Adds an event to the span.
*/
addEvent?(name: string, options?: AddEventOptions): void;
}

@@ -215,0 +232,0 @@ /** An immutable context bag of tracing values for the current operation. */

{
"name": "@azure/core-tracing",
"version": "1.1.3-alpha.20240919.1",
"version": "1.1.3-alpha.20240920.2",
"description": "Provides low-level interfaces and helper methods for tracing in Azure SDK",

@@ -90,3 +90,3 @@ "sdk-type": "client",

"tshy": "^2.0.0",
"typescript": "~5.5.3",
"typescript": "~5.6.2",
"vitest": "^2.0.5"

@@ -93,0 +93,0 @@ },

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

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

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

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

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