DiagramPreview
高度なプレビューLive previewExportDeveloper tool

OpenTelemetry Trace to Sequence

Convert OpenTelemetry spans JSON into a Mermaid sequence diagram for request flow review.

サンプル
Detected JSON

This input may work better in the matching tool. Open JSON tool

Rendered preview準備完了
The preview will appear here.

関連ツールで続ける

このプレビューを近いワークフローに移して、変換、デバッグ、エクスポートを続けます。

デザイン仕様書ジェネレーター

Markdown 仕様書を作成し、要件の不足を確認してフロー図を出力できます。

開く
AI 図表ジェネレーター

自然言語プロンプトから Mermaid 図表を生成します。

開く
Mermaid AI 修正

壊れた Mermaid 構文を AI で修正し、読みやすくします。

開く

使い方

  1. 1Paste source or load a sample.
  2. 2Review the rendered preview or structured output.
  3. 3Copy code, export images, or download generated files.

主な用途

AI-generated diagram validationDeveloper docs and README workflowsArchitecture, monitoring, and config review

FAQ

What is OpenTelemetry Trace to Sequence for?

Convert OpenTelemetry spans JSON into a Mermaid sequence diagram for request flow review.

Does it require an account?

No. The tool page can be used directly in the browser.

OpenTelemetry Trace to Sequence is designed for developer documentation, AI-generated diagram validation, and engineering configuration visualization.

It helps convert source text, config, or AI output into a previewable and exportable result.

Demo: convert spans into a request sequence

OpenTelemetry traces already contain timing and parent-child relationships. A sequence preview makes it easier to explain a slow request across gateway, service, database, and queue boundaries.

  • Preserve service.name and span.name as participant and message labels.
  • Use timestamps to order sibling spans when possible.
  • Highlight long spans instead of showing every tiny internal operation.
[{"traceId":"t1","spanId":"1","name":"POST /checkout","service.name":"gateway"},{"spanId":"2","parentSpanId":"1","name":"SELECT inventory","service.name":"inventory"}]

Incident review: traces need context

A trace diagram helps tell the story of one request. For incident work, compare it with logs, metrics, and deployment changes so one slow trace is not over-generalized.

  • Use one normal trace and one slow trace for comparison.
  • Collapse low-value internal spans to keep the sequence readable.
  • Remove sensitive attributes before sharing trace JSON.
normal p95 trace -> 280ms
incident trace -> inventory SELECT 2300ms

OpenTelemetry Trace to Sequence のレビューチェックリスト

ドキュメント、PR、障害メモ、引き継ぎの前にソースを視覚的に確認する場合は OpenTelemetry Trace to Sequence を使えます。Convert OpenTelemetry spans JSON into a Mermaid sequence diagram for request flow review.

エクスポート前に、ラベルの読みやすさ、関係の正しさ、機密情報の有無、編集後のプレビュー整合性を確認してください。

制限とトラブルシュート

プレビューに失敗したら、入力を最小の完全な例に縮小し、構文を確認してから少しずつ戻してください。

プレビューはレビュー面であり、唯一の正解ではありません。重要な出力は人が確認してください。

試せるサンプル入力

  • Checkout: { "spans": [ { "name": "POST /checkout", "serviceName": "api", "parentService": "client" }, { "name": "Reserve inventory", "serviceName": "inventory", "parentService": "api" }, { "...
  • Login: { "spans": [ { "name": "POST /login", "serviceName": "web", "parentService": "client" }, { "name": "Validate token", "serviceName": "auth", "parentService": "web" } ] }
  • Queue: { "spans": [ { "name": "Publish event", "serviceName": "api", "parentService": "client" }, { "name": "Consume event", "serviceName": "worker", "parentService": "api" } ] }

ツール成熟度

高度なプレビュー

高度なパーサー

このツールは開発者向け入力から構造と関係を抽出します。複雑なケースは元ソースで確認してください。

ラベルは、安定エクスポート、深いデバッグ、素早い解析、AI 支援生成のどれに向くかを示します。