{% extends "base.html" %} {% set active = "dashboard" %} {% block title %}Dashboard - Ozon MCP{% endblock %} {% block content %}

Dashboard

{% if degradations %}
⛔ Деградации: {{ degradations | length }} инструмент(ов) перестали работать — возможно изменение Ozon API. Подробности →
{% endif %} {% if last_health and not last_health.healthy %}
⚠️ Последняя проверка Ozon API ({{ last_health.at }}) выявила проблемы — хосты: {{ last_health.ping_failures }}, пробы: {{ last_health.probe_failures }}. Диагностика →
{% endif %} {% if stats.shops %}
Магазин: Все {% for s in stats.shops %} | {{ s }} {% endfor %}
{% endif %}
{{ stats.total }}
Всего вызовов
{{ stats.today }}
Сегодня
{{ stats.errors }}
Ошибки
{{ stats.avg_ms }} ms
Среднее время
{% if stats.top_tools %}
Топ инструментов
{% for t in stats.top_tools %} {% endfor %}
ИнструментВызововСреднее, msОшибки
{{ t.name }} {{ t.count }} {{ t.avg_ms }} {{ t.errors }}
{% endif %} {% if stats.recent %}
Последние вызовы
{% for r in stats.recent %} {% endfor %}
ВремяМагазинИнструментmsСтатусОшибка
{{ r.at }} {{ r.shop }} {{ r.tool }} {{ r.ms }} {% if r.ok %}OK{% else %}ERR{% endif %} {{ r.error or '' }}
{% endif %} {% if not stats.recent and stats.total == 0 %}

Пока нет вызовов. Подключите Claude Desktop или Claude Code к http://<host>:8000/sse

{% endif %} {% endblock %} {% block scripts %} {% endblock %}