Here you can find in-depth explanation of OpenTelemetry JavaScript APIs and concepts.
OpenTelemetry JavaScript Context API Documentation