Commit Graph

1 Commits

Author SHA1 Message Date
Andreas Brandl bd56acd378
Create partial index for gitlab-monitor CI metrics
This creates a partial index intended to speed up queries on
`ci_builds`. Particularly, `gitlab-monitor` has rather heavy queries.
Those have been changed to only look back 7 days and benefit from this
index tremendously.

Relates to
https://gitlab.com/gitlab-org/gitlab-exporter/merge_requests/101.
2019-09-04 13:43:51 +02:00