0.0.10 • Published 8 months ago

@arizeai/openinference-instrumentation-llama-index v0.0.10

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
8 months ago

OpenInference Instrumentation for LlamaIndex.TS

This module provides automatic instrumentation for LlamaIndex.TS. which may be used in conjunction with @opentelemetry/sdk-trace-node.

Installation

npm install --save @arizeai/openinference-instrumentation-llama-index

Usage

To load the LlamaIndex instrumentation, specify it in the registerInstrumentations call along with any additional instrumentation you wish to enable.

const { NodeTracerProvider } = require("@opentelemetry/sdk-trace-node");
const {
  LlamaIndexInstrumentation,
} = require("@arizeai/openinference-instrumentation-llama-index");
const { registerInstrumentations } = require("@opentelemetry/instrumentation");

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

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

For more information on OpenTelemetry Node.js SDK, see the OpenTelemetry Node.js SDK documentation.

0.0.10

8 months ago

0.0.9

10 months ago

0.0.8

11 months ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

12 months ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago