{% extends 'base.html' %} {% load static %} {% block title %}Analytics Dashboard{% endblock %} {% block css %} {% endblock %} {% block content %}
{{ total_dashboards }}
Total Dashboards
{{ total_reports }}
Total Reports
{{ total_data_sources }}
Active Data Sources
{{ total_metrics }}
Metric Definitions
{{ executions_today }}
Executions Today
{{ successful_executions }}
Successful Today
{{ failed_executions }}
Failed Today
{{ healthy_data_sources }}
Healthy Sources
Recent Dashboards
View All
{% if recent_dashboards %} {% for dashboard in recent_dashboards %}
{{ dashboard.dashboard_name }}
{{ dashboard.get_category_display }} - {{ dashboard.get_visibility_display }}
{{ dashboard.created_at|date:"M d" }}
Created
{% endfor %} {% else %}

No recent dashboards.

{% endif %}
Recent Reports
View All
{% if recent_reports %} {% for report in recent_reports %}
{{ report.report_name }}
{{ report.get_category_display }} - {{ report.data_source.source_name }}
{{ report.created_at|date:"M d" }}
Created
{% endfor %} {% else %}

No recent reports.

{% endif %}
Recent Executions
View All
{% if recent_executions %}
{% for execution in recent_executions %} {% endfor %}
Report Status Duration Time
{{ execution.report.report_name|truncatechars:20 }} {{ execution.get_status_display }} {% if execution.completion_time %} {{ execution.completion_time|timesince:execution.execution_time }} {% else %} - {% endif %} {{ execution.execution_time|date:"H:i" }}
{% else %}

No recent executions.

{% endif %}
Data Source Health
View All

{{ healthy_data_sources }}

Healthy Sources

{{ unhealthy_data_sources }}

Unhealthy Sources
System Performance Summary

{{ total_dashboards }}

Active Dashboards

{{ total_reports }}

Available Reports

{{ executions_today }}

Executions Today

{{ total_metrics }}

Tracked Metrics

{% endblock %}