Skip to Content

Dash0

Dash0は、Open Telementryネイティブのオブザーバビリティソリューションであり、フルスタックのモニタリング機能に加え、PersesやPrometheusなど他のCNCFプロジェクトとの統合も提供します。

設定

Dash0 を Mastra で使用するには、以下の環境変数を設定してください:

OTEL_EXPORTER_OTLP_ENDPOINT=https://ingress.<region>.dash0.com OTEL_EXPORTER_OTLP_HEADERS=Authorization=Bearer <your-auth-token>, Dash0-Dataset=<optional-dataset>

実装

Mastra を Dash0 で使用するための設定方法は以下の通りです。

import { Mastra } from "@mastra/core"; export const mastra = new Mastra({ // ... other config telemetry: { serviceName: "your-service-name", enabled: true, export: { type: "otlp", }, }, });

ダッシュボード

Dash0 であなたのDash0ダッシュボードにアクセスし、Dash0 Integration Hubでさらに多くの分散トレーシング連携方法を見つけましょう。