{% extends 'dashboard.html' %} {% block page %}

Dashboard Overview

Total Functions

{{ stats.total_timer_functions + stats.total_http_functions }}

({{ stats.total_http_functions }} HTTP, {{ stats.total_timer_functions }} Timer)

Total Invocations

{{ stats.timer_invocations + stats.http_invocations }}

All time

Overall Success Rate

{% set total_invocations = stats.timer_invocations + stats.http_invocations %} {% set total_success = stats.timer_successful_invocations + stats.http_successful_invocations %} {% set success_rate = (total_success / total_invocations * 100)|round(1) if total_invocations > 0 else 0 %}

{{ success_rate }}%

{{ total_success }}/{{ total_invocations }}

Avg Execution Time

{% set avg_time = ((stats.avg_timer_execution_time or 0) + (stats.avg_http_execution_time or 0)) / 2 %}

{{ "%.2f"|format(avg_time) }}s

24-Hour Activity

Top Functions

{% for func in top_functions %}
{{ func.name }}
{{ func.invocation_count }} calls
{% else %}

No functions found.

{% endfor %}

Success Trend (7 Days)

Recent Activity

{% for activity in recent_activity %} {% else %} {% endfor %}
Function Type Status Duration Time
{{ activity.name }} {{ activity.type }} {% if activity.status == 'SUCCESS' %} Success {% else %} {{ activity.status }} {% endif %} {{ "%.2f"|format(activity.execution_time or 0) }}s {{ activity.invocation_time.strftime('%Y-%m-%d %H:%M:%S') }}
No recent activity found.
{% endblock %}