Add deploy config to add metrics in tx-traker (#559)
This commit is contained in:
parent
abb5baf24e
commit
80771dc35f
|
@ -10,6 +10,7 @@ RESOURCES_REQUESTS_CPU=250m
|
|||
SQS_URL=
|
||||
SQS_AWS_REGION=
|
||||
AWS_IAM_ROLE=
|
||||
METRICS_ENABLED=true
|
||||
|
||||
ACALA_BASE_URL=https://eth-rpc-acala.aca-api.network
|
||||
ACALA_REQUESTS_PER_MINUTE=12
|
||||
|
|
|
@ -10,6 +10,7 @@ RESOURCES_REQUESTS_CPU=40m
|
|||
SQS_URL=
|
||||
SQS_AWS_REGION=
|
||||
AWS_IAM_ROLE=
|
||||
METRICS_ENABLED=true
|
||||
|
||||
ACALA_BASE_URL=https://eth-rpc-acala.aca-api.network
|
||||
ACALA_REQUESTS_PER_MINUTE=12
|
||||
|
|
|
@ -10,6 +10,7 @@ RESOURCES_REQUESTS_CPU=10m
|
|||
SQS_URL=
|
||||
SQS_AWS_REGION=
|
||||
AWS_IAM_ROLE=
|
||||
METRICS_ENABLED=true
|
||||
|
||||
ACALA_BASE_URL=https://acala-dev.aca-dev.network/eth/http
|
||||
ACALA_REQUESTS_PER_MINUTE=12
|
||||
|
|
|
@ -12,6 +12,9 @@ spec:
|
|||
metadata:
|
||||
labels:
|
||||
app: {{ .NAME }}
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: "8000"
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
terminationGracePeriodSeconds: 40
|
||||
|
@ -57,6 +60,8 @@ spec:
|
|||
value: {{ .SQS_URL }}
|
||||
- name: AWS_REGION
|
||||
value: {{ .SQS_AWS_REGION }}
|
||||
- name: METRICS_ENABLED
|
||||
value: "{{ .METRICS_ENABLED }}"
|
||||
- name: ACALA_BASE_URL
|
||||
value: {{ .ACALA_BASE_URL }}
|
||||
- name: ACALA_REQUESTS_PER_MINUTE
|
||||
|
|
Loading…
Reference in New Issue