Skip to content

Instantly share code, notes, and snippets.

@ericmustin
Created March 21, 2023 02:02
Show Gist options
  • Save ericmustin/3226d8c5d0d886e2d6c513427550d8e6 to your computer and use it in GitHub Desktop.
Save ericmustin/3226d8c5d0d886e2d6c513427550d8e6 to your computer and use it in GitHub Desktop.
example otel trace as gantt
gantt
dateFormat  x

title Example OpenTelemetry Trace as a Gantt Chart

section Database
Database Query    :done,   2023-03-21T00:00:00.000Z, 500ms
Database Insert   :active, 2023-03-21T00:00:02.000Z, 500ms

section HTTP
HTTP Request      :active, 2023-03-21T00:00:00.500Z, 2s

section Processing
Processing        :active, 2023-03-21T00:00:01.000Z, 2.5s
Subtask 1         :active, 2023-03-21T00:00:01.000Z, 1s
Subtask 2         :active, 2023-03-21T00:00:02.000Z, 1s
Subtask 3         :active, 2023-03-21T00:00:03.000Z, 500ms
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment