{% extends "base.html" %} {% block content %}

{{ shard.shard_name }}

{{ shard.host }}:{{ shard.port }} {{ shard.role }}
{{ shard.command_count|format_number }}
Commands Captured
{{ "%.1f"|format(shard.qps) }} QPS

Command Distribution

{% for cmd, count in command_dist %}
{{ count|format_number }}
{{ cmd }}
{% endfor %}

Command Types

Top Keys

Most frequently accessed keys in this shard

{% if top_keys %}
Key
Access Count
Size
{% else %}
No keys captured
{% endif %}

Key Patterns

Grouped patterns help identify application-level access patterns

{% if top_patterns %}
Pattern
Count
Avg Size
Distribution
{% else %}
No patterns identified
{% endif %}

Recent Commands

Last 100 commands captured from this shard

{% if recent_commands %}
{% for cmd in recent_commands %} {% endfor %}
Time Command Key Client
{{ cmd.datetime_utc[11:19] }} {{ cmd.command }} {{ cmd.key or '—' }} {{ cmd.client_ip or '—' }}
{% else %}
No commands captured
{% endif %}
{% endblock %}