Laminar
Laminar is a specialized observability platform for LLM applications.
Configuration
To use Laminar with Mastra, configure these environment variables:
OTEL_EXPORTER_OTLP_ENDPOINT=https://api.laminar.dev/v1/traces
OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer your_api_key, x-laminar-team-id=your_team_id"
Implementation
Here’s how to configure Mastra to use Laminar:
import { Mastra } from "@mastra/core";
export const mastra = new Mastra({
// ... other config
telemetry: {
serviceName: "your-service-name",
enabled: true,
export: {
type: "otlp",
},
},
});
Dashboard
Access your Laminar dashboard at https://lmnr.ai/