forked from m-lab/prometheus-bigquery-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbigquery.yml
33 lines (32 loc) · 786 Bytes
/
bigquery.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
apiVersion: apps/v1
kind: Deployment
metadata:
name: bigquery-exporter-5m
spec:
replicas: 1
selector:
matchLabels:
run: bigquery-exporter
template:
metadata:
annotations:
prometheus.io/scrape: 'true'
labels:
run: bigquery-exporter
spec:
containers:
- name: bigquery-exporter
image: measurementlab/prometheus-bigquery-exporter:latest
args: [ "-project=mlab-sandbox",
"-refresh=1m",
"-gauge-query=/queries/bq_example.sql",
]
ports:
- containerPort: 9050
volumeMounts:
- mountPath: /queries
name: bigquery-config
volumes:
- name: bigquery-config
configMap:
name: bigquery-exporter-config