We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff3bbb9 commit b54e413Copy full SHA for b54e413
src/service/metrics/otelRequestMetricsMiddleware.ts
@@ -14,8 +14,10 @@ export const addOtelRequestMetricsMiddleware = () => {
14
instruments = await Promise.race([
15
getOtelInstruments(),
16
new Promise<never>((_, reject) =>
17
- setTimeout(() => reject(new Error('Timeout waiting for OpenTelemetry instruments initialization')),
18
- INSTRUMENTS_INITIALIZATION_TIMEOUT)
+ setTimeout(
+ () => reject(new Error('Timeout waiting for OpenTelemetry instruments initialization')),
19
+ INSTRUMENTS_INITIALIZATION_TIMEOUT
20
+ )
21
)
22
])
23
} catch (error) {
0 commit comments