OpenAI Node SDK
Last updated
Last updated
This module provides automatic instrumentation for the OpenAI Node.js SDK. which may be used in conjunction with @opentelemetry/sdk-trace-node.
To load the OpenAI instrumentation, specify it in the registerInstrumentations call along with any additional instrumentation you wish to enable.
Instrumentation version >1.0.0 supports both attribute masking and context attribute propagation to spans.