@ms-cloudpack/telemetry
Advanced tools
Comparing version 0.10.11 to 0.10.12
@@ -9,3 +9,3 @@ import { createRequire as topLevelCreateRequire } from 'node:module'; | ||
NoOpTelemetryClient | ||
} from "./chunk-RQHEXBMA.js"; | ||
} from "./chunk-DZ26G5TC.js"; | ||
import { | ||
@@ -17,3 +17,3 @@ DiagConsoleLogger, | ||
init_esm | ||
} from "./chunk-K6SP5OSF.js"; | ||
} from "./chunk-26T3UJ3W.js"; | ||
@@ -25,3 +25,3 @@ // src/createTelemetryClient.ts | ||
console.debug("No connection string found. Telemetry will not be sent."); | ||
const { NoOpTelemetryClient: NoOpTelemetryClient2 } = await import("./NoOpTelemetryClient-CXHBGYTQ.js"); | ||
const { NoOpTelemetryClient: NoOpTelemetryClient2 } = await import("./NoOpTelemetryClient-YFBGGJLV.js"); | ||
return new NoOpTelemetryClient2(); | ||
@@ -33,3 +33,3 @@ } | ||
}); | ||
const { AppInsightsTelemetryClient } = await import("./AppInsightsTelemetryClient-WPYWCXFS.js"); | ||
const { AppInsightsTelemetryClient } = await import("./AppInsightsTelemetryClient-EVVRLV5G.js"); | ||
return new AppInsightsTelemetryClient(options); | ||
@@ -36,0 +36,0 @@ } |
import type { Tracer, Span, SpanOptions, Context } from '@opentelemetry/api'; | ||
export type SpanFunction<T> = (span: Span) => T | Promise<T>; | ||
type StartActiveSpanFn = <T>(name: string, optionsOrFn?: SpanOptions | SpanFunction<T>, contextOrFn?: Context | SpanFunction<T>, maybeFn?: SpanFunction<T>) => T; | ||
export declare function createImprovedStartActiveSpan(target: Tracer): <T>(name: string, optionsOrFn?: SpanOptions | SpanFunction<unknown> | undefined, contextOrFn?: Context | SpanFunction<unknown> | undefined, maybeFn?: SpanFunction<unknown> | undefined) => Promise<T>; | ||
export {}; | ||
//# sourceMappingURL=createImprovedStartActiveSpan.d.ts.map |
{ | ||
"name": "@ms-cloudpack/telemetry", | ||
"version": "0.10.11", | ||
"version": "0.10.12", | ||
"description": "Helpers for reporting telemetry in Cloudpack.", | ||
@@ -20,3 +20,3 @@ "license": "MIT", | ||
"@ms-cloudpack/eslint-plugin-internal": "^0.0.1", | ||
"@ms-cloudpack/package-utilities": "^11.3.1", | ||
"@ms-cloudpack/package-utilities": "^11.3.2", | ||
"@ms-cloudpack/scripts": "^0.0.1", | ||
@@ -29,5 +29,3 @@ "@opentelemetry/api": "~1.9.0", | ||
"@opentelemetry/sdk-trace-node": "~1.26.0", | ||
"@opentelemetry/semantic-conventions": "~1.27.0", | ||
"@types/uuid": "^10.0.0", | ||
"uuid": "^10.0.0" | ||
"@opentelemetry/semantic-conventions": "~1.27.0" | ||
}, | ||
@@ -34,0 +32,0 @@ "scripts": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
12
1221209
27336
2