AElfProject / create-aelf-dapp

Creates the aelf application with one command. Example & Components for developers.
MIT License
0 stars 1 forks source link

Integration with OpenTelemetry and Jaeger #8

Closed hzz780 closed 3 months ago

hzz780 commented 3 months ago
  1. Integration with OpenTelemetry and Jaeger
hzz780 commented 3 months ago
  1. We suggest use sentry but not opentelemetry because no web vitals, no support for tracking resources of otel browser instrumentation.
  2. We can add traceId for request as we can find what had happen in the backend.
  3. The UI of sentry is more friendly than Jeager UI.

https://docs.sentry.io/product/insights/assets/

There's no workarounds for browser support - but otel browser instrumentation is also much less featured than what Sentry offers (no web vitals, no support for tracking resources). In addition as per the instructions, otel browser recommends using @opentelemetry/context-zone, which means you have to add a dependency on zonejs, that is pretty expensive (angular themselves are removing zone).