{% tailwind_css %} {% htmx_js %}
{% if traces %}
{% htmxfragment "trace" %} {% set show_delete_button = True %} {% include "observer/_trace_detail.html" %} {% endhtmxfragment %}
{% elif observer.is_enabled() %}
{% if observer.is_summarizing() %} {% else %} {% endif %}

{% if observer.is_summarizing() %} Toolbar Summary Only {% else %} Recording Traces {% endif %}

{% if observer.is_summarizing() %} Performance summary is displayed in real-time. No traces are being stored. {% else %} Waiting for requests... Traces will appear here automatically. {% endif %}

{% if observer.is_summarizing() %}
{{ csrf_input }}
{% elif observer.is_persisting() %}
{{ csrf_input }}
{% endif %}
{{ csrf_input }}
{% else %}

Observer is Disabled

Enable observer to start monitoring your application's performance and traces.

Summary Mode

Monitor performance in real-time without saving traces.

Recording Mode

Record and store traces for detailed analysis.

{{ csrf_input }}
{{ csrf_input }}
{% endif %}