Skip to content

web: add OTel console-batch-exporter for the development environment

Warren Gifford requested to merge vb/otel-console-batch-exporter into main

Created by: valerybugakov

Context

Add ConsoleBatchSpanExporter that nests spans using parentSpanId fields on a span batch and logs them into the console. Used in the development environment for a faster feedback cycle and better span explorability during experimentation with new OTel instrumentation.

Screen Shot 2022-08-08 at 21 02 43

Also, fixes the warning about using non-passive scroll event listeners by zone.js library.

Test plan

  1. ENABLE_OPEN_TELEMETRY=true sg start web-standalone
  2. Refresh the page.
  3. See OTel spans in the console.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading