Skip to content

Commit 93eebdc

Browse files
committed
Update readme
1 parent 19c7fb8 commit 93eebdc

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

js/packages/openinference-mastra/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,13 @@ This package provides a set of utilities to ingest [Mastra](https://github.com/m
1010
npm install --save @arizeai/openinference-mastra
1111
```
1212

13-
You may also need to install OpenTelemetry in addition to the Mastra packages in your project.
14-
15-
```shell
16-
npm i @opentelemetry/api @opentelemetry/exporter-trace-otlp-proto @arizeai/openinference-semantic-conventions
17-
```
13+
A typical Mastra project will already have OpenTelemetry and related packages installed, so you will likely not need to install any additional packages.
1814

1915
## Usage
2016

2117
`@arizeai/openinference-mastra` provides a set of utilities to help you ingest Mastra spans into platforms and works in conjunction with Mastra's OpenTelemetry support. To get started, you will need to add OpenTelemetry support to your Mastra project according to the [Mastra Observability guide](https://mastra.ai/en/reference/observability/providers), or, follow along with the rest of this README.
2218

23-
To process your Mastra spans add an `OpenInferenceSimpleSpanExporter` or `OpenInferenceBatchSpanExporter` to your OpenTelemetry configuration.
19+
To process your Mastra spans add an `OpenInferenceOTLPTraceExporter` to your `telemetry` configuration within your `Mastra` instance.
2420

2521
```typescript
2622
import { Mastra } from "@mastra/core";

0 commit comments

Comments
 (0)