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.

Продолжить в связанном инструменте

Перенесите предпросмотр в близкий workflow для конвертации, отладки или экспорта.

Генератор спецификаций дизайна

Создавайте Markdown-спецификации, находите пробелы в требованиях и экспортируйте схемы.

Открыть
AI-генератор диаграмм

Генерируйте Mermaid-диаграммы из текста на естественном языке.

Открыть
AI-исправление Mermaid

Исправляйте 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

Чеклист review для OpenTelemetry Trace to Sequence

Используйте OpenTelemetry Trace to Sequence, чтобы визуально проверить исходный материал перед документацией, PR, incident review или handoff. Convert OpenTelemetry spans JSON into a Mermaid sequence diagram for request flow review.

Перед экспортом проверьте читаемость, связи, чувствительные данные и корректность предпросмотра после правок.

Ограничения и отладка

Если предпросмотр не работает, сократите ввод до минимального полного примера, проверьте синтаксис и возвращайте секции постепенно.

Считайте предпросмотр поверхностью 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" } ] }

Зрелость инструмента

Расширенный просмотр

Расширенный парсер

Инструмент извлекает структуру и связи из developer-ввода. Сложные случаи стоит сверять с исходником.

Метка показывает, для чего инструмент подходит лучше: стабильный экспорт, отладка, быстрый парсинг или AI-генерация.