Skip to content

Commit

Permalink
chore: default helm deployment with colect_metric=true and DEBUG log …
Browse files Browse the repository at this point in the history
…level.
  • Loading branch information
DvirYo-starkware committed Sep 7, 2023
1 parent 880301e commit c47649f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deployments/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,18 @@ spec:
cpu: {{ .Values.deployment.resources.requests.cpu | quote}}
memory: {{ .Values.deployment.resources.requests.memory }}
{{- if not .Values.backup.enabled }}
env:
- name: RUST_LOG
value: papyrus=DEBUG
args:
- --chain_id
- {{ .Values.starknet.chainId }}
- --central.url
- {{ .Values.starknet.centralUrl }}
- --base_layer.node_url
- {{ .Values.base_layer_node_url }}
- --collect_metrics
- {{ .Values.collect_metrics | quote }}
{{- if .Values.services }}
ports:
- containerPort: {{ .Values.services.rpc.port }}
Expand Down
3 changes: 3 additions & 0 deletions deployments/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ node:
# Ethereum node URL. A value for this variable is mandatory.
base_layer_node_url:

# If true, metrics will be collected and exposed on the monitoring port.
collect_metrics: true

starknet:
chainId: SN_MAIN # possible values: SN_MAIN, SN_GOERLI
# feeder-gateway url
Expand Down

0 comments on commit c47649f

Please sign in to comment.