-
Notifications
You must be signed in to change notification settings - Fork 11
Geth: enable prometheus metric on start-geth + service monitor template #151
Conversation
138f92a
to
96d9454
Compare
Common labels | ||
*/}} | ||
{{- define "rollup.labels" -}} | ||
{{ include "rollup.selectorLabels" . }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why have the seperate labels if it just includes selector labels?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not necessary, just makes easy to merge both if we have complicated labels or selector
{{ if .Values.config.rollup.archiveNode }}--gcmode "archive" --txlookuplimit "0" {{- end }} | ||
{{ if .Values.config.rollup.archiveNode }}--gcmode "archive" --txlookuplimit "0" {{- end }} \ | ||
{{ if .Values.config.rollup.metrics.enabled }} --metrics --metrics.addr "0.0.0.0" --metrics.port {{ .Values.ports.metrics }} {{- end }} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you might have some spaces on this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed you were correct between 0" --metrics
No description provided.