Skip to content

Commit c6d520b

Browse files
authored
Merge pull request #789 from bitcoin-dev-project/update-lnd-exporter
update lnd-exporter
2 parents ee83c21 + 6c27bc2 commit c6d520b

5 files changed

Lines changed: 5 additions & 3 deletions

File tree

docs/logging_monitoring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ mempool_size 0.0
121121
Lightning nodes can also be configured to export metrics to prometheus using `lnd-exporter`.
122122
Example configuration is provided in `test/data/ln/`. Review `node-defauts.yaml` for a typical logging configuration. All default metrics reported to prometheus are prefixed with `lnd_`
123123
124-
[lnd-exporter configuration reference](https://github.com/macgyver13/lnd-exporter/tree/main?tab=readme-ov-file#configuration)
124+
[lnd-exporter configuration reference](https://github.com/bitcoin-dev-project/lnd-exporter/tree/main?tab=readme-ov-file#configuration)
125125
lnd-exporter assumes same macaroon referenced in ln_framework (can be overridden by env variable)
126126
127127
**Note: `test/data/ln` and `test/data/logging` take advantage of **extraContainers** configuration option to add containers to default `lnd/templates/pod`*

resources/charts/bitcoincore/charts/cln/templates/servicemonitor.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ metadata:
99
spec:
1010
endpoints:
1111
- port: prometheus-metrics
12+
interval: {{ .Values.metricsScrapeInterval | default "15s" }}
1213
selector:
1314
matchLabels:
1415
app: {{ include "cln.fullname" . }}

resources/charts/bitcoincore/charts/lnd/templates/servicemonitor.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ metadata:
99
spec:
1010
endpoints:
1111
- port: prometheus-metrics
12+
interval: {{ .Values.metricsScrapeInterval | default "15s" }}
1213
selector:
1314
matchLabels:
1415
app: {{ include "lnd.fullname" . }}

test/data/ln/node-defaults.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ lnd:
2020
prometheusMetricsPort: 9332
2121
extraContainers:
2222
- name: lnd-exporter
23-
image: bitdonkey/lnd-exporter:0.1.3
23+
image: bitcoindevproject/lnd-exporter:0.2.0
2424
imagePullPolicy: IfNotPresent
2525
volumeMounts:
2626
- name: config

test/data/logging/network.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ nodes:
1818
prometheusMetricsPort: 9332
1919
extraContainers:
2020
- name: lnd-exporter
21-
image: bitdonkey/lnd-exporter:0.1.3
21+
image: bitcoindevproject/lnd-exporter:0.2.0
2222
imagePullPolicy: IfNotPresent
2323
volumeMounts:
2424
- name: config

0 commit comments

Comments
 (0)