added metrics config to helm chart (#770)

buddies-main-deployment
Conner Swann 3 years ago committed by GitHub
parent 299f99f1f8
commit 440493c1e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      rust/helm/optics-agent/templates/configmap.yaml
  2. 3
      rust/helm/optics-agent/templates/kathy-statefulset.yaml
  3. 3
      rust/helm/optics-agent/templates/processor-statefulset.yaml
  4. 3
      rust/helm/optics-agent/templates/relayer-statefulset.yaml
  5. 3
      rust/helm/optics-agent/templates/updater-statefulset.yaml
  6. 2
      rust/helm/optics-agent/values.yaml

@ -32,3 +32,4 @@ data:
{{- if .Values.optics.tracing.uri }} {{- if .Values.optics.tracing.uri }}
OPT_BASE_TRACING_JAEGER_COLLECTOR_URI: {{ .Values.optics.tracing.uri }} OPT_BASE_TRACING_JAEGER_COLLECTOR_URI: {{ .Values.optics.tracing.uri }}
{{- end }} {{- end }}
OPT_BASE_METRICS: {{ .Values.optics.metrics.port | quote }}

@ -77,6 +77,9 @@ spec:
volumeMounts: volumeMounts:
- name: state - name: state
mountPath: {{ .Values.optics.dbPath }} mountPath: {{ .Values.optics.dbPath }}
ports:
- name: metrics
containerPort: {{ .Values.optics.metrics.port }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

@ -77,6 +77,9 @@ spec:
volumeMounts: volumeMounts:
- name: state - name: state
mountPath: {{ .Values.optics.dbPath }} mountPath: {{ .Values.optics.dbPath }}
ports:
- name: metrics
containerPort: {{ .Values.optics.metrics.port }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

@ -77,6 +77,9 @@ spec:
volumeMounts: volumeMounts:
- name: state - name: state
mountPath: {{ .Values.optics.dbPath }} mountPath: {{ .Values.optics.dbPath }}
ports:
- name: metrics
containerPort: {{ .Values.optics.metrics.port }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

@ -92,6 +92,9 @@ spec:
volumeMounts: volumeMounts:
- name: state - name: state
mountPath: {{ .Values.optics.dbPath }} mountPath: {{ .Values.optics.dbPath }}
ports:
- name: metrics
containerPort: {{ .Values.optics.metrics.port }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

@ -38,6 +38,8 @@ optics:
# Set the log level # Set the log level
level: info level: info
uri: "" uri: ""
metrics:
port: 9090
homeChain: homeChain:
name: "kovan" name: "kovan"
# -- The contract address for the home contract # -- The contract address for the home contract

Loading…
Cancel
Save