{% extends "base.html" %} {% load i18n %} {% load translations %} {% load check_links %} {% load humanize %} {% block breadcrumbs %}
  • {% trans "Manage" %}
  • {% trans "Performance report" %}
  • {% endblock %} {% block content %} {% if errors %}

    {% documentation_icon 'admin/install' 'production' right=True %} {% trans "Configuration errors" %}

    {% for error in errors %} {% endfor %}
    {% trans "Last occurrence" %} {% trans "Name" %} {% trans "Message" %}
    {{ error.timestamp }} {{ error.name }}
    {{ error.message }}
    {% csrf_token %}
    {% configuration_error_link error.name %}
    {% endif %} {% if checks %}

    {% documentation_icon 'admin/install' 'production' right=True %} {% trans "System checks" %}

    {% for check in checks %} {% endfor %}
    {% trans "Name" %} {% trans "Message" %}
    {{ check.id }} {{ check.msg }} {% check_link check %}
    {% endif %} {% if not checks and not errors %} {% trans "Congratulations, your setup seems to work." as msg %} {% show_message "success" msg %} {% endif %}

    {% documentation_icon 'admin/install' 'celery' right=True %} {% trans "Celery queues" %}

    {% for name, length in queues %} {% endfor %}
    {{ name }} {{ length|intcomma }}

    {% documentation_icon 'admin/install' 'production-encoding' right=True %} {% trans "System encoding" %}

    {% trans "Web server" %}{% trans "Celery worker" %}
    {% trans "Filenames encoding" %} {{ web_encoding.0 }} {% if celery_encoding %}{{ celery_encoding.0 }}{% else %}{% trans "Unknown encoding" %}{% endif %}
    {% trans "Content encoding" %} {{ web_encoding.1 }} {% if celery_encoding %}{{ celery_encoding.1 }}{% else %}{% trans "Unknown encoding" %}{% endif %}

    {% documentation_icon 'admin/install' 'production-database' right=True %} {% trans "Connectivity" %}

    {% trans "Database latency" %} {{ database_latency }} ms
    {% trans "Cache latency" %} {{ cache_latency }} ms
    {% trans "Celery latency" %} {% if celery_latency %}{{ celery_latency }} ms{% else %}{% trans "Not yet measured" %}{% endif %}
    {% endblock %}