Installation
Install the instrumentation package:Usage
To load the Bedrock instrumentation, specify it in the registerInstrumentations call along with any additional instrumentation you wish to enable.TypeScript Example with Custom Tracer Provider
You can specify a custom tracer provider when creating the Bedrock instrumentation. This is useful when you want to use a non-global tracer provider or have more control over the tracing configuration.Compatibility
@arizeai/openinference-instrumentation-bedrock is compatible with the following versions of the @aws-sdk/client-bedrock-runtime package:
| AWS SDK Version | OpenInference Instrumentation Version |
|---|---|
| ^3.0.0 | ^0.2.0 |