Add a local telemetry launcher (#1015)

This commit is contained in:
Keir Mierle 2025-06-13 18:08:03 -07:00 committed by GitHub
parent 31b28ade01
commit 9954779739
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 531 additions and 4 deletions

View file

@ -208,7 +208,8 @@ export async function loadCliConfig(
process.env.HTTP_PROXY ||
process.env.http_proxy,
cwd: process.cwd(),
telemetryOtlpEndpoint: process.env.OTEL_EXPORTER_OTLP_ENDPOINT,
telemetryOtlpEndpoint:
process.env.OTEL_EXPORTER_OTLP_ENDPOINT ?? settings.telemetryOtlpEndpoint,
fileDiscoveryService: fileService,
});
}