@azure/core-tracing
Advanced tools
Comparing version 1.1.3-alpha.20240919.1 to 1.1.3-alpha.20240920.2
@@ -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
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
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
238499
2459