Merge branch 'registry-db-queries' into 'master'

Add registry-specific database queries

See merge request gitlab-org/gitlab-exporter!151
7 jobs for master in 5 minutes and 59 seconds (queued for 7 seconds)