Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Geth: enable prometheus metric on start-geth + service monitor template #151

Merged
merged 9 commits into from
Jan 9, 2024

Conversation

WafflesVonMaple
Copy link
Contributor

No description provided.

@WafflesVonMaple WafflesVonMaple requested review from joroshiba and steezeburger and removed request for joroshiba January 5, 2024 21:38
@WafflesVonMaple WafflesVonMaple marked this pull request as ready for review January 5, 2024 21:39
@WafflesVonMaple WafflesVonMaple changed the title enable metric on start-geth Geth: enable prometheus metric on start-geth + service monitor template Jan 5, 2024
charts/rollup/files/scripts/start-geth.sh Outdated Show resolved Hide resolved
Common labels
*/}}
{{- define "rollup.labels" -}}
{{ include "rollup.selectorLabels" . }}
Copy link
Member

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?

Copy link
Contributor Author

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

charts/rollup/templates/service.yaml Outdated Show resolved Hide resolved
charts/rollup/templates/servicemonitor.yaml Outdated Show resolved Hide resolved
charts/rollup/files/scripts/start-geth.sh Outdated Show resolved Hide resolved
{{ 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 }}

Copy link
Member

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

Copy link
Contributor Author

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

@WafflesVonMaple WafflesVonMaple merged commit 7989793 into main Jan 9, 2024
1 check passed
@WafflesVonMaple WafflesVonMaple deleted the geth_prometheus branch January 9, 2024 22:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants