We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e35499 + 7a47d7c commit 3750042Copy full SHA for 3750042
install/prometheus.tmpl
@@ -16,12 +16,14 @@ scrape_configs:
16
# We have to use 'hosts.docker.internal' to refer to it due to this configuration
17
- targets: ['host.docker.internal:{{or .ExporterMetricsPort.Value "9103"}}']
18
19
- - job_name: '{{if (eq .ExecutionClient.String "geth")}}geth{{else}}eth1{{end}}'
+ - job_name: 'geth'
20
static_configs:
21
- targets: ['{{.GetExecutionHostname}}:{{or .EcMetricsPort.Value "9105"}}']
22
- {{- if (eq .ExecutionClient.String "geth")}}
23
metrics_path: /debug/metrics/prometheus
24
- {{- end}}
+
+ - job_name: 'eth1'
25
+ static_configs:
26
+ - targets: ['{{.GetExecutionHostname}}:{{or .EcMetricsPort.Value "9105"}}']
27
28
- job_name: 'eth2'
29
0 commit comments