@mastra/arize
Export Mastra traces to any OpenTelemetry observability platform that supports OpenInference, like Arize AX, or Phoenix.
For more information on OpenInference, see the OpenInference Semantic Conventions specification.
Installation
npm install @mastra/arize
Usage
Set PHOENIX_COLLECTOR_ENDPOINT and, for authenticated instances, PHOENIX_API_KEY.
import { Mastra } from '@mastra/core/mastra';
import { Observability } from '@mastra/observability';
import { ArizeExporter } from '@mastra/arize';
export const mastra = new Mastra({
observability: new Observability({
configs: {
arize: {
serviceName: 'my-service',
exporters: [new ArizeExporter()],
},
},
}),
});
Documentation
Changelog
See the package changelog for version history and release notes.
Support
We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.