{{ include.title | escape }}

{{ include.description | escape }}

The data table provides an alternative to the chart.
View {{ include.title | downcase | escape }} data
{% if include.id == 'categories' %}{% else %}{% endif %} {% if include.id == 'latency' %} {% assign first_service = site.data.dashboards.services | first %}{% assign ordered = first_service.samples | sort: 'time' %}{% assign window_start = snapshot_seconds | minus: 18000 %}{% assign service_count = site.data.dashboards.services | size %}{% assign plotted = 0 %} {% for sample in ordered %}{% assign seconds = sample.time | date: '%s' | plus: 0 %}{% if seconds >= window_start and seconds <= snapshot_seconds %}{% assign sum = 0 %}{% assign present = 0 %}{% for service in site.data.dashboards.services %}{% assign matching = service.samples | where: 'time', sample.time %}{% if matching.size == 1 %}{% assign observation = matching | first %}{% assign sum = sum | plus: observation.latency_ms %}{% assign present = present | plus: 1 %}{% endif %}{% endfor %}{% if present == service_count and service_count > 0 %}{% assign denominator = service_count | times: 2 %}{% assign mean = sum | times: 2 | plus: service_count | divided_by: denominator %}{% assign plotted = plotted | plus: 1 %}{% endif %}{% endif %}{% endfor %}{% if plotted == 0 %}{% endif %} {% elsif metrics_unavailable %} {% elsif include.id == 'categories' %} {% assign plotted = 0 %}{% for category in categories %}{% assign current_rows = initial | where: 'category', category %}{% unless current_rows == empty %}{% assign plotted = plotted | plus: 1 %}{% assign current_total = 0 %}{% for row in current_rows %}{% assign current_total = current_total | plus: row.sessions %}{% endfor %}{% endunless %}{% endfor %}{% if plotted == 0 %}{% endif %} {% else %} {% assign chart_dates = initial | map: 'date' | uniq | sort %}{% for date in chart_dates %}{% assign daily = initial | where: 'date', date %}{% assign day_total = 0 %}{% for row in daily %}{% if include.id == 'sessions' %}{% assign day_total = day_total | plus: row.sessions %}{% else %}{% assign day_total = day_total | plus: row.downloads %}{% endif %}{% endfor %}{% endfor %}{% if chart_dates == empty %}{% endif %} {% endif %}
{{ include.title | escape }} — synthetic data
CategoryCurrent sessionsPrevious sessionsLabel{% case include.id %}{% when 'sessions' %}Sessions{% when 'downloads' %}Downloads{% when 'latency' %}Mean latency (ms){% endcase %}
{{ sample.time | slice: 11, 5 }} UTC{{ mean }}
No common observations are available for this chart.
Chart values are unavailable until a safe range is selected.
{{ category | escape }}{{ current_total }}{% if missing_initial == 0 and missing_previous == 0 %}{% assign preceding_rows = previous | where: 'category', category %}{% assign preceding_total = 0 %}{% for row in preceding_rows %}{% assign preceding_total = preceding_total | plus: row.sessions %}{% endfor %}{{ preceding_total }}{% else %}Unavailable{% endif %}
No observations are available for this chart.
{{ date | escape }}{{ day_total }}
No observations are available for this chart.