You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an Angular micro frontend application that communicates with express BFF(backend for frontend).
It is bundled with webpack during the build step and lives in a docker container.
The frontend part uses @jufab/opentelemetry-angular-interceptor and BFF - using require like node -r "./tracer.js" index.js.
When I am starting the container I see weird logs like:
@opentelemetry/api: Registered a global for diag v1.2.0.
@opentelemetry/api: Registered a global for trace v1.2.0.
@opentelemetry/api: Registered a global for context v1.2.0.
@opentelemetry/api: Registered a global for propagation v1.2.0.
@opentelemetry/instrumentation-http Applying patch for [email protected]
@opentelemetry/instrumentation-http Applying patch for [email protected]
{"level":"INFO","message":"Express server is listening on http://localhost:5000","traceId":"not_available","timestamp":"2022-11-17T12:00:52.484Z"}
e found resource. e { attributes: {} }
e found resource. e {
attributes: {
'process.pid': 23,
'process.executable.name': 'node',
'process.command': '/app/index.js',
'process.command_line': '/usr/bin/node /app/index.js',
'process.runtime.version': '16.17.1',
'process.runtime.name': 'nodejs',
'process.runtime.description': 'Node.js'
}
}
Error: @opentelemetry/api: Attempted duplicate registration of API: trace
at l (/app/tracer.js:1:4498)
at e.setGlobalTracerProvider (/app/tracer.js:1:15189)
at u.e.register (/app/tracer.js:1:463626)
at u.register (/app/tracer.js:1:408917)
at t.NodeSDK.start (/app/tracer.js:1:312285)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async /app/tracer.js:1:547380
Error: @opentelemetry/api: Attempted duplicate registration of API: context
at l (/app/tracer.js:1:4498)
at e.setGlobalContextManager (/app/tracer.js:1:9869)
at u.e.register (/app/tracer.js:1:463753)
at u.register (/app/tracer.js:1:408917)
at t.NodeSDK.start (/app/tracer.js:1:312285)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async /app/tracer.js:1:547380
Error: @opentelemetry/api: Attempted duplicate registration of API: propagation
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there.
I have an Angular micro frontend application that communicates with express BFF(backend for frontend).
It is bundled with webpack during the build step and lives in a docker container.
The frontend part uses
@jufab/opentelemetry-angular-interceptor
and BFF - using require likenode -r "./tracer.js" index.js
.When I am starting the container I see weird logs like:
and when the trace is being sent
As a result I do not see any result is eager. What could be the reason for that?
Beta Was this translation helpful? Give feedback.
All reactions