@ms-cloudpack/telemetry 0.6.3 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AppInsightsTelemetryClient-TE5FJJ76.js → AppInsightsTelemetryClient-VHBDVKM4.js} +12927 -22030
- package/dist/{NoOpTelemetryClient-UXSLOLXO.js → NoOpTelemetryClient-M2CYNHPI.js} +2 -2
- package/dist/{chunk-M7NO6I7R.js → chunk-6ZXUGFN2.js} +12 -19
- package/dist/chunk-NCK3Y7B7.js +12430 -0
- package/dist/index.js +4 -4
- package/lib/AppInsightsTelemetryClient.d.ts +6 -0
- package/lib/BaseTelemetryClient.d.ts +23 -0
- package/lib/NoOpTelemetryClient.d.ts +9 -0
- package/lib/PerformanceRecorder.d.ts +2 -3
- package/lib/{AppInsights/SpanEnrichingProcessor.d.ts → SpanEnrichingProcessor.d.ts} +3 -3
- package/lib/{AppInsights/convertLogLevel.d.ts → convertLogLevel.d.ts} +1 -1
- package/lib/{AppInsights/createResourceFromOptions.d.ts → createResourceFromOptions.d.ts} +1 -1
- package/lib/index.d.ts +1 -2
- package/lib/types/MetricEvent.d.ts +2 -2
- package/lib/types/PerformanceTracker.d.ts +2 -2
- package/lib/types/TelemetryClient.d.ts +1 -8
- package/package.json +5 -2
- package/dist/chunk-KAD6FC6G.js +0 -1841
- package/lib/AppInsights/AppInsightsTelemetryClient.d.ts +0 -30
- package/lib/AppInsights/createTraceProvider.d.ts +0 -8
- package/lib/NoOp/NoOpTelemetryClient.d.ts +0 -16
- package/lib/types/SpanAttributes.d.ts +0 -3
- /package/lib/{AppInsights/getComputerName.d.ts → getComputerName.d.ts} +0 -0
|
@@ -6,8 +6,8 @@ const __filename = topLevelUrl.fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = topLevelPath.dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
NoOpTelemetryClient
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-6ZXUGFN2.js";
|
|
10
|
+
import "./chunk-NCK3Y7B7.js";
|
|
11
11
|
export {
|
|
12
12
|
NoOpTelemetryClient
|
|
13
13
|
};
|
|
@@ -5,27 +5,20 @@ const require = topLevelCreateRequire(import.meta.url);
|
|
|
5
5
|
const __filename = topLevelUrl.fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = topLevelPath.dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
__name
|
|
10
|
-
|
|
11
|
-
trace
|
|
12
|
-
} from "./chunk-KAD6FC6G.js";
|
|
8
|
+
BaseTelemetryClient,
|
|
9
|
+
__name
|
|
10
|
+
} from "./chunk-NCK3Y7B7.js";
|
|
13
11
|
|
|
14
|
-
// src/
|
|
15
|
-
|
|
16
|
-
var _NoOpTelemetryClient = class _NoOpTelemetryClient {
|
|
12
|
+
// src/NoOpTelemetryClient.ts
|
|
13
|
+
var _NoOpTelemetryClient = class _NoOpTelemetryClient extends BaseTelemetryClient {
|
|
17
14
|
constructor() {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return Promise.resolve();
|
|
26
|
-
}
|
|
27
|
-
getTracer() {
|
|
28
|
-
return trace.getTracer("no-op");
|
|
15
|
+
super({
|
|
16
|
+
productVersion: "no-op",
|
|
17
|
+
serviceName: "no-op",
|
|
18
|
+
rootSpanName: "no-op",
|
|
19
|
+
serviceNamespace: "no-op",
|
|
20
|
+
logLevel: "NONE"
|
|
21
|
+
});
|
|
29
22
|
}
|
|
30
23
|
};
|
|
31
24
|
__name(_NoOpTelemetryClient, "NoOpTelemetryClient");
|