Skip to content

OpenTelemetry Traces Sequence Diagrams

Synchronous HTTP conversion

sequenceDiagram
    participant Client
    participant API as FastAPI
    participant Core as otel_core
    Client->>API: POST /convert/sync
    API->>Core: convert
    Core-->>API: artifact bytes/path
    API-->>Client: 200 + body or FileResponse

CLI invocation

sequenceDiagram
    participant User
    participant CLI as md-otel
    participant Core as otel_core
    User->>CLI: argv
    CLI->>Core: main()
    Core-->>CLI: exit code
    CLI-->>User: stdout/stderr