v3: [prod] force flush timeout should be 1s
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"trigger.dev": patch
|
||||
---
|
||||
|
||||
v3: [prod] force flush timeout should be 1s
|
||||
@@ -16,6 +16,7 @@ export const tracingSDK = new TracingSDK({
|
||||
url: process.env.OTEL_EXPORTER_OTLP_ENDPOINT ?? "http://0.0.0.0:4318",
|
||||
instrumentations: setupImportedConfig?.instrumentations ?? [],
|
||||
diagLogLevel: (process.env.OTEL_LOG_LEVEL as TracingDiagnosticLogLevel) ?? "none",
|
||||
forceFlushTimeoutMillis: 1_000,
|
||||
});
|
||||
|
||||
export const otelTracer: Tracer = tracingSDK.getTracer("trigger-prod-worker", packageJson.version);
|
||||
|
||||
Reference in New Issue
Block a user