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
gitlab-exporter!101.
100 jobs for ab-add-index-for-ci-builds-metrics in 71 minutes and 48 seconds (queued for 12 seconds)
Status Job ID Name Coverage
  Prepare
passed #287331896
gitlab-org
compile-assets pull-cache

00:08:08

passed #287331904
retrieve-tests-metadata

00:00:30

passed #287331899
gitlab-org
setup-test-env

00:07:44

 
  Test
passed #287332141
docker gitlab-org
build-qa-image

00:08:58

passed #287331990
allowed to fail
code_quality

00:07:40

passed #287332145
gitlab-org
danger-review

00:02:40

passed #287332137
gitlab-org
db:check-schema

00:06:52

passed #287332138
gitlab-org
db:migrate-from-v11.11.0

00:11:27

passed #287332136
gitlab-org
db:migrate:reset

00:05:21

passed #287332139
gitlab-org
db:rollback

00:05:56

passed #287331992
allowed to fail
dependency_scanning

00:07:46

passed #287331912
gitlab-org
docs lint

00:04:33

passed #287332132
gitlab-org
downtime_check

00:04:49

passed #287332134
gitlab-org
ee_compat_check

00:05:38

passed #287331923
docker gitlab-org
gitlab:assets:compile pull-cache

00:17:49

passed #287332140
gitlab-org
gitlab:setup

00:07:17

passed #287332147
gitlab-org
gitlab_git_test

00:00:51

passed #287331926
gitlab-org
jest

00:17:23

passed #287331925
gitlab-org
karma

00:14:55

passed #287332151
gitlab-org
lint-ci-gitlab

00:01:18

passed #287331988
gitlab-org
memory-on-boot

00:09:32

passed #287331968
gitlab-org
memory-static

00:09:32

passed #287332149
gitlab-org
no_ee_check

00:01:18

passed #287331965
gitlab-org
qa-frontend-node:10

00:15:39

passed #287331963
gitlab-org
qa-frontend-node:8

00:19:29

passed #287331967
gitlab-org allowed to fail
qa-frontend-node:latest

00:17:09

passed #287331955
gitlab-org
qa:internal

00:03:53

passed #287331958
gitlab-org
qa:selectors

00:05:27

passed #287332143
allowed to fail manual
review-build-cng

00:28:19

passed #287332058
gitlab-org
rspec integration pg 1/6

00:17:06

passed #287332062
gitlab-org
rspec integration pg 2/6

00:19:05

passed #287332064
gitlab-org
rspec integration pg 3/6

00:19:33

passed #287332065
gitlab-org
rspec integration pg 4/6

00:20:30

passed #287332066
gitlab-org
rspec integration pg 5/6

00:21:36

passed #287332068
gitlab-org
rspec integration pg 6/6

00:21:14

passed #287332071
gitlab-org
rspec system pg 1/24

00:15:35

passed #287332089
gitlab-org
rspec system pg 10/24

00:14:13

passed #287332091
gitlab-org
rspec system pg 11/24

00:14:14

passed #287332093
gitlab-org
rspec system pg 12/24

00:13:54

passed #287332095
gitlab-org
rspec system pg 13/24

00:15:57

passed #287332099
gitlab-org
rspec system pg 14/24

00:13:57

passed #287332100
gitlab-org
rspec system pg 15/24

00:14:08

passed #287332104
gitlab-org
rspec system pg 16/24

00:13:52

passed #287332106
gitlab-org
rspec system pg 17/24

00:15:32

passed #287332108
gitlab-org
rspec system pg 18/24

00:15:45

passed #287332109
gitlab-org
rspec system pg 19/24

00:14:33

passed #287344932
gitlab-org
rspec system pg 2/24

00:15:40

passed #287332110
gitlab-org
rspec system pg 20/24

00:14:40

passed #287332111
gitlab-org
rspec system pg 21/24

00:14:06

passed #287332112
gitlab-org
rspec system pg 22/24

00:14:48

passed #287332121
gitlab-org
rspec system pg 23/24

00:15:36

passed #287332124
gitlab-org
rspec system pg 24/24

00:15:51

passed #287332078
gitlab-org
rspec system pg 3/24

00:16:34

passed #287332079
gitlab-org
rspec system pg 4/24

00:14:55

passed #287332080
gitlab-org
rspec system pg 5/24

00:19:24

passed #287332081
gitlab-org
rspec system pg 6/24

00:14:55

passed #287332082
gitlab-org
rspec system pg 7/24

00:16:53

passed #287332086
gitlab-org
rspec system pg 8/24

00:14:53

passed #287332088
gitlab-org
rspec system pg 9/24

00:14:22

passed #287331993
gitlab-org
rspec unit pg 1/20

00:18:59

passed #287332034
gitlab-org
rspec unit pg 10/20

00:17:07

passed #287332036
gitlab-org
rspec unit pg 11/20

00:16:34

passed #287332039
gitlab-org
rspec unit pg 12/20

00:18:22

passed #287332042
gitlab-org
rspec unit pg 13/20

00:18:21

passed #287332044
gitlab-org
rspec unit pg 14/20

00:16:33

passed #287332046
gitlab-org
rspec unit pg 15/20

00:17:56

passed #287332049
gitlab-org
rspec unit pg 16/20

00:19:52

passed #287332052
gitlab-org
rspec unit pg 17/20

00:18:19

passed #287332054
gitlab-org
rspec unit pg 18/20

00:18:36

passed #287332055
gitlab-org
rspec unit pg 19/20

00:18:18

passed #287331995
gitlab-org
rspec unit pg 2/20

00:14:30

passed #287332057
gitlab-org
rspec unit pg 20/20

00:18:33

passed #287332001
gitlab-org
rspec unit pg 3/20

00:15:03

passed #287332004
gitlab-org
rspec unit pg 4/20

00:17:00

passed #287332012
gitlab-org
rspec unit pg 5/20

00:14:15

passed #287332015
gitlab-org
rspec unit pg 6/20

00:15:27

passed #287332018
gitlab-org
rspec unit pg 7/20

00:14:27

passed #287332023
gitlab-org
rspec unit pg 8/20

00:17:57

passed #287332032
gitlab-org
rspec unit pg 9/20

00:20:30

passed #287332130
gitlab-org
rspec-fast-spec-helper

00:05:57

passed #287331991
allowed to fail
sast

00:08:12

passed #287332131
gitlab-org
static-analysis

00:25:19

failed #287332077
gitlab-org
rspec system pg 2/24

00:05:29

 
  Review
passed #287445392
gitlab-org allowed to fail
review-deploy

00:02:38

manual #287332155
gitlab-org allowed to fail manual
review-docs-cleanup
manual #287332152
gitlab-org allowed to fail manual
review-docs-deploy-manual
passed #287332159
gitlab-org allowed to fail manual
review-stop

00:01:16

failed #287332156
gitlab-org allowed to fail
review-deploy

00:20:59

 
  Qa
passed #287332161
allowed to fail
dast

00:06:29

manual #287332160
allowed to fail manual
package-and-qa-manual
passed #287332172
docker gitlab-org allowed to fail
review-performance

00:03:20

manual #287332164
docker gitlab-org allowed to fail manual
review-qa-all 1/5
manual #287332165
docker gitlab-org allowed to fail manual
review-qa-all 2/5
manual #287332166
docker gitlab-org allowed to fail manual
review-qa-all 3/5
manual #287332167
docker gitlab-org allowed to fail manual
review-qa-all 4/5
manual #287332170
docker gitlab-org allowed to fail manual
review-qa-all 5/5
passed #287332162
docker gitlab-org allowed to fail
review-qa-smoke

00:06:32

 
  Post Test
passed #287332173
gitlab-org
coverage

00:06:32

96.61%
passed #287332179
gitlab-org allowed to fail
flaky-examples-check

00:03:10

manual #287332176
gitlab-org allowed to fail manual
parallel-spec-reports