Skip to content

Commit b365124

Browse files
committed
Fix for metrics-bigquery failures
Signed-off-by: Davanum Srinivas <[email protected]>
1 parent 41de1c3 commit b365124

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

metrics/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ query: |
1414
select /* find the most recent time each job passed (may not be this week) */
1515
job,
1616
max(started) latest_pass
17-
from `k8s-gubernator.build.all`
17+
from `kubernetes-public.k8s_infra_kettle.all`
1818
where
1919
result = 'SUCCESS'
2020
group by job

metrics/configs/build-stats.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ query: |
1313
COUNT(started) invocations,
1414
countif(result = 'SUCCESS') passes
1515
FROM
16-
`k8s-gubernator.build.all`
16+
`kubernetes-public.k8s_infra_kettle.all`
1717
where
1818
started >= TIMESTAMP_SECONDS(<LAST_DATA_TIME>)
1919
and started < timestamp_trunc(current_timestamp(), day)

metrics/configs/failures-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ query: |
1313
select /* filter to jobs that ran this week */
1414
job,
1515
count(1) weekly_builds
16-
from `k8s-gubernator.build.all`
16+
from `kubernetes-public.k8s_infra_kettle.all`
1717
where
1818
started > timestamp_sub(current_timestamp(), interval 7 day)
1919
group by job
@@ -24,15 +24,15 @@ query: |
2424
job,
2525
date(min(started)) first_run,
2626
date(max(started)) latest_run
27-
from `k8s-gubernator.build.all`
27+
from `kubernetes-public.k8s_infra_kettle.all`
2828
group by job
2929
) runs
3030
on jobs.job = runs.job
3131
left join (
3232
select /* find the most recent time each job passed (may not be this week) */
3333
job,
3434
max(started) latest_pass
35-
from `k8s-gubernator.build.all`
35+
from `kubernetes-public.k8s_infra_kettle.all`
3636
where
3737
result = 'SUCCESS'
3838
group by job

metrics/configs/flakes-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ query: |
6767
test /* repeated tuple of tests */
6868
from (
6969
select *,
70-
ifnull(b.repos, (select i.value from b.metadata i where i.key = 'repos')) repo from `k8s-gubernator.build.week` as b
70+
ifnull(b.repos, (select i.value from b.metadata i where i.key = 'repos')) repo from `kubernetes-public.k8s_infra_kettle.week` as b
7171
) as t
7272
where
7373
datetime(started) > datetime_sub(current_datetime(), interval 7 DAY)

metrics/configs/flakes-daily-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ query: |
6767
test /* repeated tuple of tests */
6868
from (
6969
select *,
70-
ifnull(b.repos, (select i.value from b.metadata i where i.key = 'repos')) repo from `k8s-gubernator.build.week` as b
70+
ifnull(b.repos, (select i.value from b.metadata i where i.key = 'repos')) repo from `kubernetes-public.k8s_infra_kettle.week` as b
7171
) as t
7272
where
7373
datetime(started) > datetime_sub(current_datetime(), interval 1 DAY)

metrics/configs/job-health.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ query: |
4040
b.tests_failed tests_failed,
4141
b.passed passed
4242
from
43-
`k8s-gubernator.build.all` AS b
43+
`kubernetes-public.k8s_infra_kettle.all` AS b
4444
where
4545
b.started > timestamp_seconds(<LAST_DATA_TIME>)
4646
and started < timestamp_trunc(current_timestamp(), day)

metrics/configs/presubmit-health.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ query: |
4343
elapsed,
4444
REGEXP_EXTRACT(path, "/(\\d+)/") pr
4545
FROM
46-
`k8s-gubernator.build.all`
46+
`kubernetes-public.k8s_infra_kettle.all`
4747
WHERE
4848
REGEXP_CONTAINS(job, '^pr:')
4949
AND started > TIMESTAMP_SECONDS(<LAST_DATA_TIME>)

0 commit comments

Comments
 (0)