{% extends "redis_metrics/base.html" %} {% load url from future %} {% comment %} Context for this Template: * ``slugs`` -- a set of slugs for the metrics that we want to aggregate. * ``metrics`` -- the metric data. It's a list of two-tuples that looks something like this:: [('foo', {'day': '42', 'month': '90', 'week': '50', 'year': '9991'}), ('bar', {'day': '2', 'month': '10', 'week': '5', 'year': '90'})] {% endcomment %} {% block extrahead %} {% endblock %} {% block content %}
Metrics in this graph: {{ slugs|join:", " }}
. You may
also view aggregate history:
Metric | Time Period | Value |
---|---|---|
{{ slug }} |
{{ period|capfirst }} | {{ value|default_if_none:"-" }} |