{% extends "django_observatory/base.html" %}{% load observatory %} {% block title %}Trace {{ trace.trace_id|slice:":8" }}{% endblock %}{% block heading %}{{ trace.name }}{% endblock %} {% block sub %}Traces / {{ trace.trace_id }}{% endblock %} {% block tools %}{% if request_record %}Open request{% endif %}{% endblock %} {% block content %}
Duration
{{ trace.duration_ms|ms }}
Spans
{{ trace.span_count }}
{% if trace.dropped_spans %}{{ trace.dropped_spans }} dropped (limit){% else %} {% endif %}
Result
{% if trace.error %}ERROR{% else %}OK{% endif %}
Kind
{{ trace.kind }}
{% if dominant %}
Observed
Dominant latency contributor: {{ dominant.name|truncatechars:90 }} — {{ dominant.duration_ms|ms }} of {{ trace.duration_ms|ms }}.
{% endif %}

Waterfall

{% include "django_observatory/_waterfall.html" %}
{% if exceptions %}

Exceptions

{% for e in exceptions %}{% endfor %}
{{ e.exc_type }}{{ e.message|truncatechars:200 }}
{% endif %}

Span attributes

{% for s in waterfall %}{% endfor %}
SpanKindDurationAttributes
{{ s.name|truncatechars:80 }}{{ s.kind }}{{ s.duration }}{% for k, v in s.attributes.items %}{% if v != "" and v != None %}{{ k }}={{ v }} {% endif %}{% endfor %}
{% endblock %}