@microsoft/opentelemetry 0.1.0-alpha.3 → 0.1.0-alpha.4
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/README.md +69 -4
- package/dist/commonjs/a365/constants.d.ts +18 -1
- package/dist/commonjs/a365/constants.d.ts.map +1 -1
- package/dist/commonjs/a365/constants.js +22 -1
- package/dist/commonjs/a365/constants.js.map +1 -1
- package/dist/commonjs/a365/exporter/Agent365Exporter.d.ts.map +1 -1
- package/dist/commonjs/a365/exporter/Agent365Exporter.js +2 -3
- package/dist/commonjs/a365/exporter/Agent365Exporter.js.map +1 -1
- package/dist/commonjs/a365/hosting/baggageBuilderUtils.d.ts +22 -0
- package/dist/commonjs/a365/hosting/baggageBuilderUtils.d.ts.map +1 -0
- package/dist/commonjs/a365/hosting/baggageBuilderUtils.js +47 -0
- package/dist/commonjs/a365/hosting/baggageBuilderUtils.js.map +1 -0
- package/dist/commonjs/a365/hosting/baggageMiddleware.d.ts +9 -0
- package/dist/commonjs/a365/hosting/baggageMiddleware.d.ts.map +1 -0
- package/dist/commonjs/a365/hosting/baggageMiddleware.js +38 -0
- package/dist/commonjs/a365/hosting/baggageMiddleware.js.map +1 -0
- package/dist/commonjs/a365/hosting/index.d.ts +9 -0
- package/dist/commonjs/a365/hosting/index.d.ts.map +1 -0
- package/dist/commonjs/a365/hosting/index.js +25 -0
- package/dist/commonjs/a365/hosting/index.js.map +1 -0
- package/dist/commonjs/a365/hosting/observabilityHostingManager.d.ts +30 -0
- package/dist/commonjs/a365/hosting/observabilityHostingManager.d.ts.map +1 -0
- package/dist/commonjs/a365/hosting/observabilityHostingManager.js +49 -0
- package/dist/commonjs/a365/hosting/observabilityHostingManager.js.map +1 -0
- package/dist/commonjs/a365/hosting/outputLoggingMiddleware.d.ts +24 -0
- package/dist/commonjs/a365/hosting/outputLoggingMiddleware.d.ts.map +1 -0
- package/dist/commonjs/a365/hosting/outputLoggingMiddleware.js +82 -0
- package/dist/commonjs/a365/hosting/outputLoggingMiddleware.js.map +1 -0
- package/dist/commonjs/a365/hosting/scopeUtils.d.ts +56 -0
- package/dist/commonjs/a365/hosting/scopeUtils.d.ts.map +1 -0
- package/dist/commonjs/a365/hosting/scopeUtils.js +161 -0
- package/dist/commonjs/a365/hosting/scopeUtils.js.map +1 -0
- package/dist/commonjs/a365/hosting/turnContextUtils.d.ts +32 -0
- package/dist/commonjs/a365/hosting/turnContextUtils.d.ts.map +1 -0
- package/dist/commonjs/a365/hosting/turnContextUtils.js +141 -0
- package/dist/commonjs/a365/hosting/turnContextUtils.js.map +1 -0
- package/dist/commonjs/a365/hosting/types.d.ts +52 -0
- package/dist/commonjs/a365/hosting/types.d.ts.map +1 -0
- package/dist/commonjs/a365/hosting/types.js +5 -0
- package/dist/commonjs/a365/hosting/types.js.map +1 -0
- package/dist/commonjs/a365/index.d.ts +2 -0
- package/dist/commonjs/a365/index.d.ts.map +1 -1
- package/dist/commonjs/a365/index.js +16 -1
- package/dist/commonjs/a365/index.js.map +1 -1
- package/dist/commonjs/a365/middleware/BaggageBuilder.js +0 -1
- package/dist/commonjs/a365/middleware/BaggageBuilder.js.map +1 -1
- package/dist/commonjs/a365/scopes/OpenTelemetryScope.d.ts +11 -1
- package/dist/commonjs/a365/scopes/OpenTelemetryScope.d.ts.map +1 -1
- package/dist/commonjs/a365/scopes/OpenTelemetryScope.js +14 -2
- package/dist/commonjs/a365/scopes/OpenTelemetryScope.js.map +1 -1
- package/dist/commonjs/azureMonitor/index.d.ts +14 -0
- package/dist/commonjs/azureMonitor/index.d.ts.map +1 -1
- package/dist/commonjs/azureMonitor/index.js +29 -0
- package/dist/commonjs/azureMonitor/index.js.map +1 -1
- package/dist/commonjs/azureMonitor/metrics/handler.js +2 -2
- package/dist/commonjs/azureMonitor/metrics/handler.js.map +1 -1
- package/dist/commonjs/azureMonitor/traces/handler.d.ts +0 -3
- package/dist/commonjs/azureMonitor/traces/handler.d.ts.map +1 -1
- package/dist/commonjs/azureMonitor/traces/handler.js +0 -17
- package/dist/commonjs/azureMonitor/traces/handler.js.map +1 -1
- package/dist/commonjs/distro/distro.d.ts +3 -1
- package/dist/commonjs/distro/distro.d.ts.map +1 -1
- package/dist/commonjs/distro/distro.js +53 -9
- package/dist/commonjs/distro/distro.js.map +1 -1
- package/dist/commonjs/distro/instrumentations.d.ts +31 -0
- package/dist/commonjs/distro/instrumentations.d.ts.map +1 -0
- package/dist/commonjs/distro/instrumentations.js +131 -0
- package/dist/commonjs/distro/instrumentations.js.map +1 -0
- package/dist/commonjs/index.d.ts +3 -12
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +16 -20
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/types.d.ts +4 -2
- package/dist/commonjs/types.d.ts.map +1 -1
- package/dist/commonjs/types.js.map +1 -1
- package/dist/esm/a365/constants.d.ts +18 -1
- package/dist/esm/a365/constants.d.ts.map +1 -1
- package/dist/esm/a365/constants.js +22 -1
- package/dist/esm/a365/constants.js.map +1 -1
- package/dist/esm/a365/exporter/Agent365Exporter.d.ts.map +1 -1
- package/dist/esm/a365/exporter/Agent365Exporter.js +2 -3
- package/dist/esm/a365/exporter/Agent365Exporter.js.map +1 -1
- package/dist/esm/a365/hosting/baggageBuilderUtils.d.ts +22 -0
- package/dist/esm/a365/hosting/baggageBuilderUtils.d.ts.map +1 -0
- package/dist/esm/a365/hosting/baggageBuilderUtils.js +43 -0
- package/dist/esm/a365/hosting/baggageBuilderUtils.js.map +1 -0
- package/dist/esm/a365/hosting/baggageMiddleware.d.ts +9 -0
- package/dist/esm/a365/hosting/baggageMiddleware.d.ts.map +1 -0
- package/dist/esm/a365/hosting/baggageMiddleware.js +34 -0
- package/dist/esm/a365/hosting/baggageMiddleware.js.map +1 -0
- package/dist/esm/a365/hosting/index.d.ts +9 -0
- package/dist/esm/a365/hosting/index.d.ts.map +1 -0
- package/dist/esm/a365/hosting/index.js +9 -0
- package/dist/esm/a365/hosting/index.js.map +1 -0
- package/dist/esm/a365/hosting/observabilityHostingManager.d.ts +30 -0
- package/dist/esm/a365/hosting/observabilityHostingManager.d.ts.map +1 -0
- package/dist/esm/a365/hosting/observabilityHostingManager.js +45 -0
- package/dist/esm/a365/hosting/observabilityHostingManager.js.map +1 -0
- package/dist/esm/a365/hosting/outputLoggingMiddleware.d.ts +24 -0
- package/dist/esm/a365/hosting/outputLoggingMiddleware.d.ts.map +1 -0
- package/dist/esm/a365/hosting/outputLoggingMiddleware.js +78 -0
- package/dist/esm/a365/hosting/outputLoggingMiddleware.js.map +1 -0
- package/dist/esm/a365/hosting/scopeUtils.d.ts +56 -0
- package/dist/esm/a365/hosting/scopeUtils.d.ts.map +1 -0
- package/dist/esm/a365/hosting/scopeUtils.js +157 -0
- package/dist/esm/a365/hosting/scopeUtils.js.map +1 -0
- package/dist/esm/a365/hosting/turnContextUtils.d.ts +32 -0
- package/dist/esm/a365/hosting/turnContextUtils.d.ts.map +1 -0
- package/dist/esm/a365/hosting/turnContextUtils.js +133 -0
- package/dist/esm/a365/hosting/turnContextUtils.js.map +1 -0
- package/dist/esm/a365/hosting/types.d.ts +52 -0
- package/dist/esm/a365/hosting/types.d.ts.map +1 -0
- package/dist/esm/a365/hosting/types.js +4 -0
- package/dist/esm/a365/hosting/types.js.map +1 -0
- package/dist/esm/a365/index.d.ts +2 -0
- package/dist/esm/a365/index.d.ts.map +1 -1
- package/dist/esm/a365/index.js +2 -0
- package/dist/esm/a365/index.js.map +1 -1
- package/dist/esm/a365/middleware/BaggageBuilder.js +0 -1
- package/dist/esm/a365/middleware/BaggageBuilder.js.map +1 -1
- package/dist/esm/a365/scopes/OpenTelemetryScope.d.ts +11 -1
- package/dist/esm/a365/scopes/OpenTelemetryScope.d.ts.map +1 -1
- package/dist/esm/a365/scopes/OpenTelemetryScope.js +14 -2
- package/dist/esm/a365/scopes/OpenTelemetryScope.js.map +1 -1
- package/dist/esm/azureMonitor/index.d.ts +14 -0
- package/dist/esm/azureMonitor/index.d.ts.map +1 -1
- package/dist/esm/azureMonitor/index.js +27 -0
- package/dist/esm/azureMonitor/index.js.map +1 -1
- package/dist/esm/azureMonitor/metrics/handler.js +2 -2
- package/dist/esm/azureMonitor/metrics/handler.js.map +1 -1
- package/dist/esm/azureMonitor/traces/handler.d.ts +0 -3
- package/dist/esm/azureMonitor/traces/handler.d.ts.map +1 -1
- package/dist/esm/azureMonitor/traces/handler.js +1 -18
- package/dist/esm/azureMonitor/traces/handler.js.map +1 -1
- package/dist/esm/distro/distro.d.ts +3 -1
- package/dist/esm/distro/distro.d.ts.map +1 -1
- package/dist/esm/distro/distro.js +55 -11
- package/dist/esm/distro/distro.js.map +1 -1
- package/dist/esm/distro/instrumentations.d.ts +31 -0
- package/dist/esm/distro/instrumentations.d.ts.map +1 -0
- package/dist/esm/distro/instrumentations.js +126 -0
- package/dist/esm/distro/instrumentations.js.map +1 -0
- package/dist/esm/index.d.ts +3 -12
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -17
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types.d.ts +4 -2
- package/dist/esm/types.d.ts.map +1 -1
- package/dist/esm/types.js.map +1 -1
- package/package.json +5 -5
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
import { metrics, trace } from "@opentelemetry/api";
|
|
4
4
|
import { logs } from "@opentelemetry/api-logs";
|
|
5
5
|
import { NodeSDK } from "@opentelemetry/sdk-node";
|
|
6
|
-
import { BatchSpanProcessor } from "@opentelemetry/sdk-trace-base";
|
|
6
|
+
import { BatchSpanProcessor, SimpleSpanProcessor, ConsoleSpanExporter, } from "@opentelemetry/sdk-trace-base";
|
|
7
|
+
import { SimpleLogRecordProcessor, ConsoleLogRecordExporter } from "@opentelemetry/sdk-logs";
|
|
8
|
+
import { ConsoleMetricExporter, PeriodicExportingMetricReader } from "@opentelemetry/sdk-metrics";
|
|
7
9
|
import { InternalConfig } from "../shared/config.js";
|
|
8
10
|
import { MetricHandler } from "../azureMonitor/metrics/index.js";
|
|
9
11
|
import { TraceHandler } from "../azureMonitor/traces/handler.js";
|
|
@@ -11,10 +13,11 @@ import { LogHandler } from "../azureMonitor/logs/index.js";
|
|
|
11
13
|
import { AZURE_MONITOR_OPENTELEMETRY_VERSION } from "../types.js";
|
|
12
14
|
import { patchOpenTelemetryInstrumentationEnable } from "../azureMonitor/utils/opentelemetryInstrumentationPatcher.js";
|
|
13
15
|
import { parseResourceDetectorsFromEnvVar } from "../utils/common.js";
|
|
14
|
-
import { setupAzureMonitorComponents } from "../azureMonitor/index.js";
|
|
16
|
+
import { setupAzureMonitorComponents, hasAzureMonitorConnectionString, validateAzureMonitorConfig, } from "../azureMonitor/index.js";
|
|
15
17
|
import { isOtlpEnabled, createOtlpComponents } from "../otlp/index.js";
|
|
16
18
|
import { A365Configuration, Agent365Exporter, A365SpanProcessor, PerRequestSpanProcessor, } from "../a365/index.js";
|
|
17
19
|
import { MICROSOFT_OPENTELEMETRY_VERSION } from "../types.js";
|
|
20
|
+
import { createInstrumentations, createSampler, createViews } from "./instrumentations.js";
|
|
18
21
|
process.env["AZURE_MONITOR_DISTRO_VERSION"] = AZURE_MONITOR_OPENTELEMETRY_VERSION;
|
|
19
22
|
process.env["MICROSOFT_OPENTELEMETRY_VERSION"] = MICROSOFT_OPENTELEMETRY_VERSION;
|
|
20
23
|
let sdk;
|
|
@@ -24,7 +27,9 @@ let disposeAzureMonitor;
|
|
|
24
27
|
*
|
|
25
28
|
* This is the primary entry point for the distro. It sets up OpenTelemetry
|
|
26
29
|
* providers and instrumentations, then attaches the configured exporters:
|
|
27
|
-
* - Azure Monitor (
|
|
30
|
+
* - Azure Monitor (when `options.azureMonitor` is provided or the
|
|
31
|
+
* `APPLICATIONINSIGHTS_CONNECTION_STRING` env var is set; explicitly disable
|
|
32
|
+
* with `options.azureMonitor.enabled = false`)
|
|
28
33
|
* - OTLP HTTP (when `OTEL_EXPORTER_OTLP_ENDPOINT` is set)
|
|
29
34
|
* - A365 (when `options.a365.enabled` is true or `ENABLE_A365_OBSERVABILITY_EXPORTER=true`)
|
|
30
35
|
*
|
|
@@ -33,9 +38,15 @@ let disposeAzureMonitor;
|
|
|
33
38
|
export function useMicrosoftOpenTelemetry(options) {
|
|
34
39
|
const config = new InternalConfig(options);
|
|
35
40
|
patchOpenTelemetryInstrumentationEnable();
|
|
36
|
-
|
|
37
|
-
//
|
|
41
|
+
// Azure Monitor is enabled when configured programmatically or via JSON config.
|
|
42
|
+
// An explicit `enabled: false` always wins, even if a connection string is present.
|
|
43
|
+
// Connection-string validation is delegated to the Azure Monitor module.
|
|
44
|
+
const azureMonitorRequested = options?.azureMonitor?.enabled !== false &&
|
|
45
|
+
(!!options?.azureMonitor || hasAzureMonitorConnectionString(config));
|
|
46
|
+
const azureMonitorEnabled = azureMonitorRequested && validateAzureMonitorConfig(config);
|
|
47
|
+
// Reset dispose callback to avoid stale references from a previous initialization
|
|
38
48
|
disposeAzureMonitor = undefined;
|
|
49
|
+
// ── Azure Monitor components (statsbeat, browser SDK loader, etc.) ─
|
|
39
50
|
if (azureMonitorEnabled) {
|
|
40
51
|
disposeAzureMonitor = setupAzureMonitorComponents(config);
|
|
41
52
|
}
|
|
@@ -53,16 +64,20 @@ export function useMicrosoftOpenTelemetry(options) {
|
|
|
53
64
|
// registerGlobal() to create a fresh one with the correct version.
|
|
54
65
|
const globalOpentelemetryApiKey = Symbol.for("opentelemetry.js.api.1");
|
|
55
66
|
delete globalThis[globalOpentelemetryApiKey];
|
|
56
|
-
// ──
|
|
67
|
+
// ── Instrumentations, sampler, and views (always created) ─────────
|
|
68
|
+
const instrumentations = createInstrumentations(config, {
|
|
69
|
+
filterAzureMonitorRequests: azureMonitorEnabled,
|
|
70
|
+
});
|
|
71
|
+
const sampler = createSampler(config);
|
|
72
|
+
const views = createViews(config);
|
|
73
|
+
// ── Azure Monitor handlers (only when configured) ─────────────────
|
|
57
74
|
let metricHandler;
|
|
58
75
|
let traceHandler;
|
|
59
76
|
let logHandler;
|
|
60
|
-
const instrumentations = [];
|
|
61
77
|
if (azureMonitorEnabled) {
|
|
62
78
|
metricHandler = new MetricHandler(config);
|
|
63
79
|
traceHandler = new TraceHandler(config, metricHandler);
|
|
64
80
|
logHandler = new LogHandler(config, metricHandler);
|
|
65
|
-
instrumentations.push(...traceHandler.getInstrumentations(), ...logHandler.getInstrumentations());
|
|
66
81
|
}
|
|
67
82
|
const resourceDetectorsList = parseResourceDetectorsFromEnvVar();
|
|
68
83
|
// ── Merge user-provided processors / readers / views ──────────────
|
|
@@ -89,6 +104,7 @@ export function useMicrosoftOpenTelemetry(options) {
|
|
|
89
104
|
}
|
|
90
105
|
// ── A365 exporter (enabled via options.a365 or env vars) ──────────
|
|
91
106
|
const a365Config = new A365Configuration(options?.a365);
|
|
107
|
+
const a365ConsoleExportFallback = !a365Config.enabled && !!options?.a365;
|
|
92
108
|
if (a365Config.enabled) {
|
|
93
109
|
const a365Exporter = new Agent365Exporter({
|
|
94
110
|
clusterCategory: a365Config.clusterCategory,
|
|
@@ -106,12 +122,40 @@ export function useMicrosoftOpenTelemetry(options) {
|
|
|
106
122
|
: new BatchSpanProcessor(a365Exporter);
|
|
107
123
|
spanProcessors.push(a365ExportProcessor);
|
|
108
124
|
}
|
|
109
|
-
|
|
125
|
+
else if (a365ConsoleExportFallback) {
|
|
126
|
+
// A365 options provided but exporter disabled — fall back to console export
|
|
127
|
+
// so developers can validate spans locally (matches upstream A365 SDK behavior
|
|
128
|
+
// when ENABLE_A365_OBSERVABILITY_EXPORTER=false).
|
|
129
|
+
spanProcessors.push(new SimpleSpanProcessor(new ConsoleSpanExporter()));
|
|
130
|
+
}
|
|
131
|
+
// Merge views: use Azure Monitor views when available (they cover the same
|
|
132
|
+
// instrumentations as createViews), otherwise fall back to the standalone views.
|
|
133
|
+
const allViews = [
|
|
134
|
+
...(metricHandler ? metricHandler.getViews() : views),
|
|
135
|
+
...customViews,
|
|
136
|
+
];
|
|
137
|
+
// ── Console exporters (auto-enabled when no other exporter is active, or explicitly) ─
|
|
138
|
+
const hasCustomProcessors = (options?.spanProcessors?.length ?? 0) > 0 ||
|
|
139
|
+
(options?.metricReaders?.length ?? 0) > 0 ||
|
|
140
|
+
(options?.logRecordProcessors?.length ?? 0) > 0;
|
|
141
|
+
const consoleEnabled = options?.enableConsoleExporters ??
|
|
142
|
+
(!azureMonitorEnabled && !isOtlpEnabled() && !a365Config.enabled && !hasCustomProcessors);
|
|
143
|
+
if (consoleEnabled) {
|
|
144
|
+
// Skip span console exporter when A365 fallback already added one
|
|
145
|
+
if (!a365ConsoleExportFallback) {
|
|
146
|
+
spanProcessors.push(new SimpleSpanProcessor(new ConsoleSpanExporter()));
|
|
147
|
+
}
|
|
148
|
+
metricReaders.push(new PeriodicExportingMetricReader({
|
|
149
|
+
exporter: new ConsoleMetricExporter(),
|
|
150
|
+
exportIntervalMillis: config.metricExportIntervalMillis,
|
|
151
|
+
}));
|
|
152
|
+
logRecordProcessors.push(new SimpleLogRecordProcessor(new ConsoleLogRecordExporter()));
|
|
153
|
+
}
|
|
110
154
|
// ── Create and start NodeSDK ──────────────────────────────────────
|
|
111
155
|
const sdkConfig = {
|
|
112
156
|
autoDetectResources: true,
|
|
113
157
|
metricReaders: metricReaders,
|
|
114
|
-
views,
|
|
158
|
+
views: allViews,
|
|
115
159
|
instrumentations: instrumentations,
|
|
116
160
|
logRecordProcessors: [
|
|
117
161
|
...(logHandler ? [logHandler.getAzureLogRecordProcessor()] : []),
|
|
@@ -119,7 +163,7 @@ export function useMicrosoftOpenTelemetry(options) {
|
|
|
119
163
|
...(logHandler ? [logHandler.getBatchLogRecordProcessor()] : []),
|
|
120
164
|
],
|
|
121
165
|
resource: config.resource,
|
|
122
|
-
sampler
|
|
166
|
+
sampler,
|
|
123
167
|
spanProcessors: [
|
|
124
168
|
...(traceHandler ? [traceHandler.getAzureMonitorSpanProcessor()] : []),
|
|
125
169
|
...spanProcessors,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distro.js","sourceRoot":"","sources":["../../../src/distro/distro.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,OAAO,
|
|
1
|
+
{"version":3,"file":"distro.js","sourceRoot":"","sources":["../../../src/distro/distro.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,OAAO,EAEL,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAElG,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,mCAAmC,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,EAAE,uCAAuC,EAAE,MAAM,8DAA8D,CAAC;AACvH,OAAO,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,EAC/B,0BAA0B,GAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE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AAC,CAAC;IACzF,CAAC;IAED,qEAAqE;IACrE,MAAM,SAAS,GAAkC;QAC/C,mBAAmB,EAAE,IAAI;QACzB,aAAa,EAAE,aAAa;QAC5B,KAAK,EAAE,QAAQ;QACf,gBAAgB,EAAE,gBAAgB;QAClC,mBAAmB,EAAE;YACnB,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YAChE,GAAG,mBAAmB;YACtB,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;SACjE;QACD,QAAQ,EAAE,MAAM,CAAC,QAAQ;QACzB,OAAO;QACP,cAAc,EAAE;YACd,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YACtE,GAAG,cAAc;YACjB,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,qBAAqB,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;SAChE;QACD,iBAAiB,EAAE,qBAAqB;KACzC,CAAC;IACF,GAAG,GAAG,IAAI,OAAO,CAAC,SAAS,CAAC,CAAC;IAC7B,uDAAuD;IACvD,GAAG,CAAC,KAAK,EAAE,CAAC;AACd,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,8BAA8B;IAC5C,mBAAmB,EAAE,EAAE,CAAC;IACxB,OAAO,GAAG,EAAE,QAAQ,EAAE,CAAC;AACzB,CAAC;AAED;;;GAGG;AAEH,MAAM,UAAU,eAAe;IAC7B,OAAO,GAAG,CAAC;AACb,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { Sampler } from "@opentelemetry/sdk-trace-base";
|
|
2
|
+
import type { Instrumentation } from "@opentelemetry/instrumentation";
|
|
3
|
+
import type { ViewOptions } from "@opentelemetry/sdk-metrics";
|
|
4
|
+
import type { InternalConfig } from "../shared/config.js";
|
|
5
|
+
/**
|
|
6
|
+
* Build the list of auto-instrumentations based on the distro configuration.
|
|
7
|
+
* This covers trace instrumentations (HTTP, Azure SDK, DB clients, Azure
|
|
8
|
+
* Functions) and log instrumentations (Bunyan, Winston).
|
|
9
|
+
*
|
|
10
|
+
* When `filterAzureMonitorRequests` is true the HTTP instrumentation will
|
|
11
|
+
* suppress outgoing requests generated by the Azure Monitor exporter so they
|
|
12
|
+
* don't appear as dependency telemetry.
|
|
13
|
+
*/
|
|
14
|
+
export declare function createInstrumentations(config: InternalConfig, options?: {
|
|
15
|
+
filterAzureMonitorRequests?: boolean;
|
|
16
|
+
}): Instrumentation[];
|
|
17
|
+
/**
|
|
18
|
+
* Create an OTel sampler based on the distro configuration.
|
|
19
|
+
*
|
|
20
|
+
* Precedence:
|
|
21
|
+
* 1. Explicit sampler provided via environment config (e.g. OTEL_TRACES_SAMPLER)
|
|
22
|
+
* 2. Rate-limited sampler when `tracesPerSecond` > 0
|
|
23
|
+
* 3. Percentage-based ApplicationInsightsSampler using `samplingRatio`
|
|
24
|
+
*/
|
|
25
|
+
export declare function createSampler(config: InternalConfig): Sampler;
|
|
26
|
+
/**
|
|
27
|
+
* Create metric views for the enabled instrumentations so that metric readers
|
|
28
|
+
* have access to metrics produced by those instrumentations.
|
|
29
|
+
*/
|
|
30
|
+
export declare function createViews(config: InternalConfig): ViewOptions[];
|
|
31
|
+
//# sourceMappingURL=instrumentations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instrumentations.d.ts","sourceRoot":"","sources":["../../../src/distro/instrumentations.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAa7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAO1D;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,cAAc,EACtB,OAAO,CAAC,EAAE;IAAE,0BAA0B,CAAC,EAAE,OAAO,CAAA;CAAE,GACjD,eAAe,EAAE,CA0EnB;AAID;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAQ7D;AAID;;;GAGG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,cAAc,GAAG,WAAW,EAAE,CA0BjE"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { createAzureSdkInstrumentation } from "@azure/opentelemetry-instrumentation-azure-sdk";
|
|
4
|
+
import { RateLimitedSampler } from "@azure/monitor-opentelemetry-exporter";
|
|
5
|
+
import { HttpInstrumentation } from "@opentelemetry/instrumentation-http";
|
|
6
|
+
import { MongoDBInstrumentation } from "@opentelemetry/instrumentation-mongodb";
|
|
7
|
+
import { MySQLInstrumentation } from "@opentelemetry/instrumentation-mysql";
|
|
8
|
+
import { PgInstrumentation } from "@opentelemetry/instrumentation-pg";
|
|
9
|
+
import { RedisInstrumentation } from "@opentelemetry/instrumentation-redis";
|
|
10
|
+
import { AzureFunctionsInstrumentation } from "@azure/functions-opentelemetry-instrumentation";
|
|
11
|
+
import { BunyanInstrumentation } from "@opentelemetry/instrumentation-bunyan";
|
|
12
|
+
import { WinstonInstrumentation } from "@opentelemetry/instrumentation-winston";
|
|
13
|
+
import { ignoreOutgoingRequestHook } from "../azureMonitor/utils/common.js";
|
|
14
|
+
import { ApplicationInsightsSampler } from "../azureMonitor/traces/sampler.js";
|
|
15
|
+
import { logLevelToSeverityNumber } from "../azureMonitor/utils/logUtils.js";
|
|
16
|
+
// ── Instrumentations ────────────────────────────────────────────────
|
|
17
|
+
/**
|
|
18
|
+
* Build the list of auto-instrumentations based on the distro configuration.
|
|
19
|
+
* This covers trace instrumentations (HTTP, Azure SDK, DB clients, Azure
|
|
20
|
+
* Functions) and log instrumentations (Bunyan, Winston).
|
|
21
|
+
*
|
|
22
|
+
* When `filterAzureMonitorRequests` is true the HTTP instrumentation will
|
|
23
|
+
* suppress outgoing requests generated by the Azure Monitor exporter so they
|
|
24
|
+
* don't appear as dependency telemetry.
|
|
25
|
+
*/
|
|
26
|
+
export function createInstrumentations(config, options) {
|
|
27
|
+
const instrumentations = [];
|
|
28
|
+
const filterAzureMonitor = options?.filterAzureMonitorRequests ?? false;
|
|
29
|
+
// ── Trace instrumentations ──────────────────────────────────────
|
|
30
|
+
if (config.instrumentationOptions.http?.enabled) {
|
|
31
|
+
const httpConfig = config.instrumentationOptions.http;
|
|
32
|
+
if (filterAzureMonitor) {
|
|
33
|
+
const providedHook = httpConfig.ignoreOutgoingRequestHook;
|
|
34
|
+
const mergedHook = (request) => {
|
|
35
|
+
const isAzureMonitorRequest = ignoreOutgoingRequestHook(request);
|
|
36
|
+
if (!isAzureMonitorRequest && providedHook) {
|
|
37
|
+
return providedHook(request);
|
|
38
|
+
}
|
|
39
|
+
return isAzureMonitorRequest;
|
|
40
|
+
};
|
|
41
|
+
httpConfig.ignoreOutgoingRequestHook = mergedHook;
|
|
42
|
+
}
|
|
43
|
+
instrumentations.push(new HttpInstrumentation(httpConfig));
|
|
44
|
+
}
|
|
45
|
+
if (config.instrumentationOptions.azureSdk?.enabled) {
|
|
46
|
+
instrumentations.push(createAzureSdkInstrumentation(config.instrumentationOptions.azureSdk));
|
|
47
|
+
}
|
|
48
|
+
if (config.instrumentationOptions.mongoDb?.enabled) {
|
|
49
|
+
instrumentations.push(new MongoDBInstrumentation(config.instrumentationOptions.mongoDb));
|
|
50
|
+
}
|
|
51
|
+
if (config.instrumentationOptions.mySql?.enabled) {
|
|
52
|
+
instrumentations.push(new MySQLInstrumentation(config.instrumentationOptions.mySql));
|
|
53
|
+
}
|
|
54
|
+
if (config.instrumentationOptions.postgreSql?.enabled) {
|
|
55
|
+
instrumentations.push(new PgInstrumentation(config.instrumentationOptions.postgreSql));
|
|
56
|
+
}
|
|
57
|
+
if (config.instrumentationOptions.redis?.enabled ||
|
|
58
|
+
config.instrumentationOptions.redis4?.enabled) {
|
|
59
|
+
instrumentations.push(new RedisInstrumentation(config.instrumentationOptions.redis));
|
|
60
|
+
}
|
|
61
|
+
if (config.instrumentationOptions.azureFunctions?.enabled) {
|
|
62
|
+
instrumentations.push(new AzureFunctionsInstrumentation(config.instrumentationOptions.azureFunctions));
|
|
63
|
+
}
|
|
64
|
+
// ── Log instrumentations ────────────────────────────────────────
|
|
65
|
+
const logLevelEnv = process.env.APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_LEVEL;
|
|
66
|
+
if (config.instrumentationOptions.bunyan?.enabled) {
|
|
67
|
+
instrumentations.push(new BunyanInstrumentation({
|
|
68
|
+
...config.instrumentationOptions.bunyan,
|
|
69
|
+
logSeverity: logLevelEnv ? logLevelToSeverityNumber(logLevelEnv) : undefined,
|
|
70
|
+
}));
|
|
71
|
+
}
|
|
72
|
+
if (config.instrumentationOptions.winston?.enabled) {
|
|
73
|
+
instrumentations.push(new WinstonInstrumentation({
|
|
74
|
+
...config.instrumentationOptions.winston,
|
|
75
|
+
logSeverity: logLevelEnv ? logLevelToSeverityNumber(logLevelEnv) : undefined,
|
|
76
|
+
}));
|
|
77
|
+
}
|
|
78
|
+
return instrumentations;
|
|
79
|
+
}
|
|
80
|
+
// ── Sampler ─────────────────────────────────────────────────────────
|
|
81
|
+
/**
|
|
82
|
+
* Create an OTel sampler based on the distro configuration.
|
|
83
|
+
*
|
|
84
|
+
* Precedence:
|
|
85
|
+
* 1. Explicit sampler provided via environment config (e.g. OTEL_TRACES_SAMPLER)
|
|
86
|
+
* 2. Rate-limited sampler when `tracesPerSecond` > 0
|
|
87
|
+
* 3. Percentage-based ApplicationInsightsSampler using `samplingRatio`
|
|
88
|
+
*/
|
|
89
|
+
export function createSampler(config) {
|
|
90
|
+
if (config.sampler) {
|
|
91
|
+
return config.sampler;
|
|
92
|
+
}
|
|
93
|
+
if (config.tracesPerSecond && config.tracesPerSecond > 0) {
|
|
94
|
+
return new RateLimitedSampler(config.tracesPerSecond);
|
|
95
|
+
}
|
|
96
|
+
return new ApplicationInsightsSampler(config.samplingRatio);
|
|
97
|
+
}
|
|
98
|
+
// ── Metric views ────────────────────────────────────────────────────
|
|
99
|
+
/**
|
|
100
|
+
* Create metric views for the enabled instrumentations so that metric readers
|
|
101
|
+
* have access to metrics produced by those instrumentations.
|
|
102
|
+
*/
|
|
103
|
+
export function createViews(config) {
|
|
104
|
+
const views = [];
|
|
105
|
+
if (config.instrumentationOptions.azureSdk?.enabled) {
|
|
106
|
+
views.push({ meterName: "@azure/opentelemetry-instrumentation-azure-sdk" });
|
|
107
|
+
}
|
|
108
|
+
if (config.instrumentationOptions.http?.enabled) {
|
|
109
|
+
views.push({ meterName: "@opentelemetry/instrumentation-http" });
|
|
110
|
+
}
|
|
111
|
+
if (config.instrumentationOptions.mongoDb?.enabled) {
|
|
112
|
+
views.push({ meterName: "@opentelemetry/instrumentation-mongodb" });
|
|
113
|
+
}
|
|
114
|
+
if (config.instrumentationOptions.mySql?.enabled) {
|
|
115
|
+
views.push({ meterName: "@opentelemetry/instrumentation-mysql" });
|
|
116
|
+
}
|
|
117
|
+
if (config.instrumentationOptions.postgreSql?.enabled) {
|
|
118
|
+
views.push({ meterName: "@opentelemetry/instrumentation-pg" });
|
|
119
|
+
}
|
|
120
|
+
if (config.instrumentationOptions.redis?.enabled ||
|
|
121
|
+
config.instrumentationOptions.redis4?.enabled) {
|
|
122
|
+
views.push({ meterName: "@opentelemetry/instrumentation-redis" });
|
|
123
|
+
}
|
|
124
|
+
return views;
|
|
125
|
+
}
|
|
126
|
+
//# sourceMappingURL=instrumentations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
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AAsC,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AzureMonitorOpenTelemetryOptions
|
|
1
|
+
import type { AzureMonitorOpenTelemetryOptions } from "./types.js";
|
|
2
2
|
export type { AzureMonitorOpenTelemetryOptions };
|
|
3
3
|
export { useMicrosoftOpenTelemetry, shutdownMicrosoftOpenTelemetry, MICROSOFT_OPENTELEMETRY_VERSION, } from "./distro/index.js";
|
|
4
4
|
export type { MicrosoftOpenTelemetryOptions, InstrumentationOptions, BrowserSdkLoaderOptions, A365Options, } from "./distro/index.js";
|
|
@@ -7,16 +7,7 @@ export type { ClusterCategory, A365BaggageOptions, A365HostingOptions } from "./
|
|
|
7
7
|
export { OpenTelemetryScope, InvokeAgentScope, ExecuteToolScope, InferenceScope, OutputScope, OpenTelemetryConstants, MessageRole, FinishReason, Modality, InvocationRole, InferenceOperationType, A365_MESSAGE_SCHEMA_VERSION, isParentSpanRef, createContextWithParentSpanRef, runWithParentSpanRef, injectContextToHeaders, extractContextFromHeaders, runWithExtractedTraceContext, BaggageBuilder, BaggageScope, A365SpanProcessor, PerRequestSpanProcessor, GENERIC_ATTRIBUTES, INVOKE_AGENT_ATTRIBUTES, runWithExportToken, updateExportToken, getExportToken, } from "./a365/index.js";
|
|
8
8
|
export type { AgentDetails, UserDetails, CallerDetails, Request as A365Request, Channel, ServiceEndpoint, InvokeAgentScopeDetails, ToolCallDetails, InferenceDetails, InferenceResponse, OutputResponse, SpanDetails as A365SpanDetails, ParentSpanRef, ParentContext, ChatMessage, InputMessages, OutputMessage, OutputMessages, InputMessagesParam, OutputMessagesParam, ResponseMessagesParam, MessagePart, TextPart, ToolCallRequestPart, ToolCallResponsePart, ReasoningPart, HeadersCarrier, } from "./a365/index.js";
|
|
9
9
|
export type { PerRequestSpanProcessorOptions } from "./a365/index.js";
|
|
10
|
+
export { BaggageBuilderUtils, ScopeUtils, getCallerBaggagePairs, getTargetAgentBaggagePairs, getTenantIdPair, getChannelBaggagePairs, getConversationIdAndItemLinkPairs, resolveEmbodiedAgentIds, BaggageMiddleware, OutputLoggingMiddleware, A365_PARENT_SPAN_KEY, A365_AUTH_TOKEN_KEY, ObservabilityHostingManager, } from "./a365/index.js";
|
|
11
|
+
export type { ObservabilityHostingOptions, TurnContextLike, ActivityLike, MiddlewareLike, SendActivitiesHandler, } from "./a365/index.js";
|
|
10
12
|
export type { OpenAIAgentsInstrumentationConfig, LangChainInstrumentationConfig } from "./types.js";
|
|
11
|
-
/**
|
|
12
|
-
* Initialize Azure Monitor Distro
|
|
13
|
-
* @param options - Microsoft OpenTelemetry Options
|
|
14
|
-
* @deprecated Use {@link useMicrosoftOpenTelemetry} instead.
|
|
15
|
-
*/
|
|
16
|
-
export declare function useAzureMonitor(options?: MicrosoftOpenTelemetryOptions): void;
|
|
17
|
-
/**
|
|
18
|
-
* Shutdown Azure Monitor Open Telemetry Distro
|
|
19
|
-
* @deprecated Use {@link shutdownMicrosoftOpenTelemetry} instead.
|
|
20
|
-
*/
|
|
21
|
-
export declare function shutdownAzureMonitor(): Promise<void>;
|
|
22
13
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gCAAgC,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,YAAY,CAAC;AAGnE,YAAY,EAAE,gCAAgC,EAAE,CAAC;AACjD,OAAO,EACL,yBAAyB,EACzB,8BAA8B,EAC9B,+BAA+B,GAChC,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,6BAA6B,EAC7B,sBAAsB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AM,iBAAiB,CAAC;AACzB,YAAY,EACV,2BAA2B,EAC3B,eAAe,EACf,YAAY,EACZ,cAAc,EACd,qBAAqB,GACtB,MAAM,iBAAiB,CAAC;AAGzB,YAAY,EAAE,iCAAiC,EAAE,8BAA8B,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,25 +1,10 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
import { useMicrosoftOpenTelemetry, shutdownMicrosoftOpenTelemetry } from "./distro/distro.js";
|
|
4
3
|
export { useMicrosoftOpenTelemetry, shutdownMicrosoftOpenTelemetry, MICROSOFT_OPENTELEMETRY_VERSION, } from "./distro/index.js";
|
|
5
4
|
// ── Re-exports from A365 configuration ──────────────────────────────────────
|
|
6
5
|
export { A365Configuration } from "./a365/index.js";
|
|
7
6
|
// ── Re-exports from A365 scopes (manual telemetry API) ──────────────────────
|
|
8
7
|
export { OpenTelemetryScope, InvokeAgentScope, ExecuteToolScope, InferenceScope, OutputScope, OpenTelemetryConstants, MessageRole, FinishReason, Modality, InvocationRole, InferenceOperationType, A365_MESSAGE_SCHEMA_VERSION, isParentSpanRef, createContextWithParentSpanRef, runWithParentSpanRef, injectContextToHeaders, extractContextFromHeaders, runWithExtractedTraceContext, BaggageBuilder, BaggageScope, A365SpanProcessor, PerRequestSpanProcessor, GENERIC_ATTRIBUTES, INVOKE_AGENT_ATTRIBUTES, runWithExportToken, updateExportToken, getExportToken, } from "./a365/index.js";
|
|
9
|
-
// ──
|
|
10
|
-
|
|
11
|
-
* Initialize Azure Monitor Distro
|
|
12
|
-
* @param options - Microsoft OpenTelemetry Options
|
|
13
|
-
* @deprecated Use {@link useMicrosoftOpenTelemetry} instead.
|
|
14
|
-
*/
|
|
15
|
-
export function useAzureMonitor(options) {
|
|
16
|
-
useMicrosoftOpenTelemetry(options);
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Shutdown Azure Monitor Open Telemetry Distro
|
|
20
|
-
* @deprecated Use {@link shutdownMicrosoftOpenTelemetry} instead.
|
|
21
|
-
*/
|
|
22
|
-
export function shutdownAzureMonitor() {
|
|
23
|
-
return shutdownMicrosoftOpenTelemetry();
|
|
24
|
-
}
|
|
8
|
+
// ── Re-exports from A365 hosting utilities ──────────────────────────────────
|
|
9
|
+
export { BaggageBuilderUtils, ScopeUtils, getCallerBaggagePairs, getTargetAgentBaggagePairs, getTenantIdPair, getChannelBaggagePairs, getConversationIdAndItemLinkPairs, resolveEmbodiedAgentIds, BaggageMiddleware, OutputLoggingMiddleware, A365_PARENT_SPAN_KEY, A365_AUTH_TOKEN_KEY, ObservabilityHostingManager, } from "./a365/index.js";
|
|
25
10
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EACL,yBAAyB,EACzB,8BAA8B,EAC9B,+BAA+B,GAChC,MAAM,mBAAmB,CAAC;AAQ3B,+EAA+E;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGpD,+EAA+E;AAC/E,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,sBAAsB,EACtB,2BAA2B,EAC3B,eAAe,EACf,8BAA8B,EAC9B,oBAAoB,EACpB,sBAAsB,EACtB,yBAAyB,EACzB,4BAA4B,EAC5B,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,GACf,MAAM,iBAAiB,CAAC;AAgCzB,+EAA+E;AAC/E,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,qBAAqB,EACrB,0BAA0B,EAC1B,eAAe,EACf,sBAAsB,EACtB,iCAAiC,EACjC,uBAAuB,EACvB,iBAAiB,EACjB,uBAAuB,EACvB,oBAAoB,EACpB,mBAAmB,EACnB,2BAA2B,GAC5B,MAAM,iBAAiB,CAAC"}
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -37,6 +37,8 @@ export interface MicrosoftOpenTelemetryOptions {
|
|
|
37
37
|
azureMonitor?: AzureMonitorOpenTelemetryOptions;
|
|
38
38
|
/** A365 observability configuration. When provided with `enabled: true`, A365 export is enabled. */
|
|
39
39
|
a365?: A365Options;
|
|
40
|
+
/** Enable console exporters for traces, metrics, and logs. Auto-enabled when no other exporter is active. */
|
|
41
|
+
enableConsoleExporters?: boolean;
|
|
40
42
|
}
|
|
41
43
|
/**
|
|
42
44
|
* Azure Monitor scoped options.
|
|
@@ -50,11 +52,11 @@ export interface AzureMonitorOpenTelemetryOptions {
|
|
|
50
52
|
enabled?: boolean;
|
|
51
53
|
/** Azure Monitor Exporter Configuration */
|
|
52
54
|
azureMonitorExporterOptions?: AzureMonitorExporterOptions;
|
|
53
|
-
/** Enable Live Metrics feature (Default
|
|
55
|
+
/** Enable Live Metrics feature (Default true) */
|
|
54
56
|
enableLiveMetrics?: boolean;
|
|
55
57
|
/** Enable Standard Metrics feature (Default true) */
|
|
56
58
|
enableStandardMetrics?: boolean;
|
|
57
|
-
/** Enable log sampling based on trace (Default
|
|
59
|
+
/** Enable log sampling based on trace (Default false) */
|
|
58
60
|
enableTraceBasedSamplingForLogs?: boolean;
|
|
59
61
|
/** Enable Performance Counter feature */
|
|
60
62
|
enablePerformanceCounters?: boolean;
|
package/dist/esm/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD;;GAEG;AACH,eAAO,MAAM,+BAA+B,kBAAkB,CAAC;AAE/D;;;;;;GAMG;AACH,MAAM,WAAW,6BAA6B;IAG5C,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,mFAAmF;IACnF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4GAA4G;IAC5G,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mDAAmD;IACnD,sBAAsB,CAAC,EAAE,sBAAsB,CAAC;IAChD,4EAA4E;IAC5E,mBAAmB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC3C,sEAAsE;IACtE,cAAc,CAAC,EAAE,aAAa,EAAE,CAAC;IACjC,oEAAoE;IACpE,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAC/B,kEAAkE;IAClE,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;IAItB,mFAAmF;IACnF,YAAY,CAAC,EAAE,gCAAgC,CAAC;IAEhD,oGAAoG;IACpG,IAAI,CAAC,EAAE,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,2BAA2B,EAA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AE,wBAAwB,CAAC;IAC1C,OAAO,EAAE,gBAAgB,CAAC;CAC3B"}
|
package/dist/esm/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,eAAe,CAAC;AAoJ/D;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,GAAG,CAAiB;IAC1D,CAAC,WAAW,EAAE,CAAC,CAAC;IAChB,CAAC,aAAa,EAAE,CAAC,CAAC;IAClB,CAAC,kBAAkB,EAAE,CAAC,CAAC;IACvB,CAAC,QAAQ,EAAE,CAAC,CAAC;IACb,CAAC,aAAa,EAAE,EAAE,CAAC;IACnB,CAAC,MAAM,EAAE,EAAE,CAAC;IACZ,CAAC,kBAAkB,EAAE,EAAE,CAAC;IACxB,CAAC,WAAW,EAAE,GAAG,CAAC;IAClB,CAAC,+BAA+B,EAAE,GAAG,CAAC;CACvC,CAAC,CAAC;AAiEH,MAAM,CAAC,MAAM,mCAAmC,GAAG,QAAQ,CAAC;AAC5D,MAAM,CAAC,MAAM,gCAAgC,GAAG,kCAAkC,CAAC;AACnF,MAAM,CAAC,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;AAC3D,MAAM,CAAC,MAAM,yBAAyB,GAAG,2BAA2B,CAAC;AACrE,MAAM,CAAC,MAAM,iCAAiC,GAAG,mCAAmC,CAAC;AAErF,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,yCAAqB,CAAA;IACrB,gCAAY,CAAA;AACd,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B;AAED;;;GAGG;AACH,MAAM,C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,EAAE,wBAAwB,CAAC,IAAI,CAAC;IACtE,CAAC,wCAAwC,EAAE,wBAAwB,CAAC,OAAO,CAAC;IAC5E,CAAC,qCAAqC,EAAE,wBAAwB,CAAC,IAAI,CAAC;IACtE,CAAC,oCAAoC,EAAE,wBAAwB,CAAC,GAAG,CAAC;IACpE,CAAC,0CAA0C,EAAE,wBAAwB,CAAC,SAAS,CAAC;IAChF,CAAC,uCAAuC,EAAE,wBAAwB,CAAC,MAAM,CAAC;IAC1E,CAAC,4CAA4C,EAAE,wBAAwB,CAAC,WAAW,CAAC;IACpF,CAAC,oCAAoC,EAAE,wBAAwB,CAAC,GAAG,CAAC;IACpE,CAAC,qCAAqC,EAAE,wBAAwB,CAAC,IAAI,CAAC;IACtE,CAAC,wCAAwC,EAAE,wBAAwB,CAAC,OAAO,CAAC;IAC5E,CAAC,uCAAuC,EAAE,wBAAwB,CAAC,MAAM,CAAC;CAC3E,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/opentelemetry",
|
|
3
3
|
"author": "Microsoft Corporation",
|
|
4
|
-
"version": "0.1.0-alpha.
|
|
4
|
+
"version": "0.1.0-alpha.4",
|
|
5
5
|
"description": "Microsoft OpenTelemetry distribution for JavaScript/TypeScript",
|
|
6
6
|
"main": "./dist/commonjs/index.js",
|
|
7
7
|
"module": "./dist/esm/index.js",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
},
|
|
59
59
|
"./loader": {
|
|
60
60
|
"import": {
|
|
61
|
-
"types": "./dist/esm/loader.d.ts",
|
|
62
|
-
"default": "./dist/esm/loader.js"
|
|
61
|
+
"types": "./dist/esm/azureMonitor/loader.d.ts",
|
|
62
|
+
"default": "./dist/esm/azureMonitor/loader.js"
|
|
63
63
|
},
|
|
64
64
|
"require": {
|
|
65
|
-
"types": "./dist/commonjs/loader.d.ts",
|
|
66
|
-
"default": "./dist/commonjs/loader.js"
|
|
65
|
+
"types": "./dist/commonjs/azureMonitor/loader.d.ts",
|
|
66
|
+
"default": "./dist/commonjs/azureMonitor/loader.js"
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
},
|