Skip to content

0.25.0-8

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Sep 11:57
· 24 commits to master since this release
859555d

Add new DocumentLoadInstrumentation with new properties recordTransaction and exporterDelay.
Add new function startNewTransaction()

  • With recordTransaction enabled, the DocumentLoadInstrumentation will create and hold the DocumentLoad span open until the transaction ends or startNewTransaction() will be called. Additionally, the instrumentation will try to read a trace context in the W3C-format from the Server-Timing-Response-Header. If a trace context was found, it will be used to create the DocumentLoadSpan.
  • To guarantee, that the OpenTelemetry-Exporter exports the transaction span, a exporterDelay has to be specified. The delay is specified in milliseconds
  • The startNewTransaction(spanName: string)-function ends the current transaction span und starts a new one. It receives a string as parameter, which will be used as the name for the new transaction span.