Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Introduce abstractions to bind HTTP request tracing spans to React component spans #40592

Open
@valerybugakov

Description

@valerybugakov

We need to introduce abstractions that would allow us to easily bind HTTP request tracing spans created by React components to React component spans. Currently, it's done via imperative APIs provided by @opentelemetry packages. It complicates the code and makes it harder to create the correct trace structure.

Possible solutions:

  1. Introduce React hook wrappers around common data fetching patterns.
  2. Implement auto-instrumentation that would leverage zone.js to bind async operations initiated by React components.

/cc @taylorsperry @jasongornall

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions