Add submission_timestamp column sibling to submission_date. (#126)

This makes it easier to visualize Opmon aggregate metrics in Grafana:
Grafana's Bigquery integration is fundamentally `TIMESTAMP` shaped,
not `DATE` shaped, and this avoids writing nested queries.
This commit is contained in:
Nick Alexander 2023-03-08 14:16:13 -08:00 коммит произвёл Anna Scholtz
Родитель 895e0d9033
Коммит 54a8809ef7
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -34,6 +34,7 @@ stats AS (
{% for summary in summaries %}
SELECT
submission_date,
TIMESTAMP(submission_date) AS submission_timestamp,
build_id,
{% for dimension in dimensions -%}
{{ dimension.name }},