Skip to content

Add functionality for TelemetryClient to not use global providers #1683

Add functionality for TelemetryClient to not use global providers

Add functionality for TelemetryClient to not use global providers #1683

Triggered via pull request December 10, 2025 21:27
Status Failure
Total duration 30s
Artifacts

node.js.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

43 errors
build (ubuntu-latest, 22.x): test/unitTests/shim/telemetryClientProvider.tests.ts#L0
Argument of type '"addSpanProcessor"' is not assignable to parameter of type 'keyof NodeTracerProvider'.
build (ubuntu-latest, 22.x): test/unitTests/shim/config.tests.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 22.x): test/unitTests/logs/console.tests.ts#L0
Property 'addLogRecordProcessor' does not exist on type 'LoggerProvider'.
build (ubuntu-latest, 22.x): src/shim/telemetryClientProvider.ts#L0
Property 'addMetricReader' does not exist on type 'MeterProvider'.
build (ubuntu-latest, 22.x): src/shim/telemetryClientProvider.ts#L0
Property 'addLogRecordProcessor' does not exist on type 'LoggerProvider'.
build (ubuntu-latest, 22.x): src/shim/telemetryClientProvider.ts#L0
Property 'addSpanProcessor' does not exist on type 'NodeTracerProvider'.
build (ubuntu-latest, 22.x): src/shim/telemetryClientProvider.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 22.x): src/shared/configuration/config.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 22.x): src/agent/azureFunctionsLoader.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 22.x): src/agent/appServicesLoader.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 18.x)
The strategy configuration was canceled because "build.ubuntu-latest_22_x" failed
build (ubuntu-latest, 18.x): test/unitTests/shim/telemetryClientProvider.tests.ts#L0
Argument of type '"addSpanProcessor"' is not assignable to parameter of type 'keyof NodeTracerProvider'.
build (ubuntu-latest, 18.x): test/unitTests/shim/config.tests.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 18.x): test/unitTests/logs/console.tests.ts#L0
Property 'addLogRecordProcessor' does not exist on type 'LoggerProvider'.
build (ubuntu-latest, 18.x): src/shim/telemetryClientProvider.ts#L0
Property 'addMetricReader' does not exist on type 'MeterProvider'.
build (ubuntu-latest, 18.x): src/shim/telemetryClientProvider.ts#L0
Property 'addLogRecordProcessor' does not exist on type 'LoggerProvider'.
build (ubuntu-latest, 18.x): src/shim/telemetryClientProvider.ts#L0
Property 'addSpanProcessor' does not exist on type 'NodeTracerProvider'.
build (ubuntu-latest, 18.x): src/shim/telemetryClientProvider.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 18.x): src/shared/configuration/config.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 18.x): src/agent/azureFunctionsLoader.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 18.x): src/agent/appServicesLoader.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 16.x)
The strategy configuration was canceled because "build.ubuntu-latest_22_x" failed
build (ubuntu-latest, 16.x): test/unitTests/shim/telemetryClientProvider.tests.ts#L0
Argument of type '"addSpanProcessor"' is not assignable to parameter of type 'keyof NodeTracerProvider'.
build (ubuntu-latest, 16.x): test/unitTests/shim/config.tests.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 16.x): test/unitTests/logs/console.tests.ts#L0
Property 'addLogRecordProcessor' does not exist on type 'LoggerProvider'.
build (ubuntu-latest, 16.x): src/shim/telemetryClientProvider.ts#L0
Property 'addMetricReader' does not exist on type 'MeterProvider'.
build (ubuntu-latest, 16.x): src/shim/telemetryClientProvider.ts#L0
Property 'addLogRecordProcessor' does not exist on type 'LoggerProvider'.
build (ubuntu-latest, 16.x): src/shim/telemetryClientProvider.ts#L0
Property 'addSpanProcessor' does not exist on type 'NodeTracerProvider'.
build (ubuntu-latest, 16.x): src/shim/telemetryClientProvider.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 16.x): src/shared/configuration/config.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 16.x): src/agent/azureFunctionsLoader.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 16.x): src/agent/appServicesLoader.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 20.x)
The strategy configuration was canceled because "build.ubuntu-latest_22_x" failed
build (ubuntu-latest, 20.x): test/unitTests/shim/telemetryClientProvider.tests.ts#L0
Argument of type '"addSpanProcessor"' is not assignable to parameter of type 'keyof NodeTracerProvider'.
build (ubuntu-latest, 20.x): test/unitTests/shim/config.tests.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 20.x): test/unitTests/logs/console.tests.ts#L0
Property 'addLogRecordProcessor' does not exist on type 'LoggerProvider'.
build (ubuntu-latest, 20.x): src/shim/telemetryClientProvider.ts#L0
Property 'addMetricReader' does not exist on type 'MeterProvider'.
build (ubuntu-latest, 20.x): src/shim/telemetryClientProvider.ts#L0
Property 'addLogRecordProcessor' does not exist on type 'LoggerProvider'.
build (ubuntu-latest, 20.x): src/shim/telemetryClientProvider.ts#L0
Property 'addSpanProcessor' does not exist on type 'NodeTracerProvider'.
build (ubuntu-latest, 20.x): src/shim/telemetryClientProvider.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 20.x): src/shared/configuration/config.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 20.x): src/agent/azureFunctionsLoader.ts#L0
'Resource' only refers to a type, but is being used as a value here.
build (ubuntu-latest, 20.x): src/agent/appServicesLoader.ts#L0
'Resource' only refers to a type, but is being used as a value here.