{% 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" %}
{% trans "Last occurrence" %} |
{% trans "Name" %} |
{% trans "Message" %} |
|
|
{% for error in errors %}
{{ error.timestamp }} |
{{ error.name }} |
{{ error.message }} |
|
{% configuration_error_link error.name %}
|
{% endfor %}
{% endif %}
{% if checks %}
{% documentation_icon 'admin/install' 'production' right=True %}
{% trans "System checks" %}
{% trans "Name" %} |
{% trans "Message" %} |
|
{% for check in checks %}
{{ check.id }} |
{{ check.msg }} |
{% check_link check %} |
{% endfor %}
{% 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 %}
{{ name }} |
{{ length|intcomma }} |
{% endfor %}
{% 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 |
{% endblock %}