@traceloop/instrumentation-bedrock
TypeScript icon, indicating that this package has built-in type declarations

0.11.1 • Public • Published

OpenTelemetry Bedrock instrumentation for Node.js

NPM Published Version Apache License

This module provides automatic instrumentation for AWS Bedrock Runtime Client SDK module, which may be loaded using the @opentelemetry/sdk-trace-node package and is included in the @traceloop/node-server-sdk bundle.

If total installation size is not constrained, it is recommended to use the @traceloop/node-server-sdk bundle for the most seamless instrumentation experience.

Compatible with OpenTelemetry JS API and SDK 1.0+.

Installation

npm install --save @traceloop/instrumentation-bedrock

Supported Versions

  • >=3.499.0

Usage

To load a specific plugin, specify it in the registerInstrumentations's configuration:

const { NodeTracerProvider } = require("@opentelemetry/sdk-trace-node");
const {
  BedrockInstrumentation,
} = require("@traceloop/instrumentation-bedrock");
const { registerInstrumentations } = require("@opentelemetry/instrumentation");

const provider = new NodeTracerProvider();
provider.register();

registerInstrumentations({
  instrumentations: [new BedrockInstrumentation()],
});

Useful links

License

Apache 2.0 - See LICENSE for more information.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.11.1623latest

Version History

VersionDownloads (Last 7 Days)Published
0.11.1623
0.11.00
0.10.0435
0.9.23
0.9.048
0.8.8726
0.8.60
0.8.021
0.7.00
0.6.10
0.6.016
0.5.2974
0.5.270
0.5.240
0.5.230
0.5.210
0.5.190
0.5.132
0.5.630
0.5.40
0.5.00
0.4.1-alpha.140
0.4.1-alpha.130
0.4.01
0.3.114
0.3.80
0.3.70
0.3.50
0.3.40
0.3.00

Package Sidebar

Install

npm i @traceloop/instrumentation-bedrock

Weekly Downloads

1,983

Version

0.11.1

License

Apache-2.0

Unpacked Size

80.6 kB

Total Files

15

Last publish

Collaborators

  • tomer-friedman
  • galklm
  • nirga