{% extends "base.html" %} {% block content %} {% if error %}
{{ error }}
{% endif %}

Recent entries — most recent 50 from {{ db_name }}.system.profile

{% if rows %} {% for r in rows %} {% endfor %}
ts op ns millis user ok
{{ r.ts }} {{ r.op }} {{ r.ns }} {{ r.millis }} {% if r.user %}{{ r.user }}{% else %}{% endif %} {% if r.ok == 1.0 %}ok{% else %}err{% endif %}
{{ r.json }}
{% else %}

{% if state.level == 0 %} Profiling is off; no entries to show. Set the level to 1 or 2 above to start recording. {% else %} No entries yet. Run an operation against this database to see one appear here. {% endif %}

{% endif %} {% endblock %}