Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/logging_monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ mempool_size 0.0
Lightning nodes can also be configured to export metrics to prometheus using `lnd-exporter`.
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_`

[lnd-exporter configuration reference](https://github.com/macgyver13/lnd-exporter/tree/main?tab=readme-ov-file#configuration)
[lnd-exporter configuration reference](https://github.com/bitcoin-dev-project/lnd-exporter/tree/main?tab=readme-ov-file#configuration)
lnd-exporter assumes same macaroon referenced in ln_framework (can be overridden by env variable)

**Note: `test/data/ln` and `test/data/logging` take advantage of **extraContainers** configuration option to add containers to default `lnd/templates/pod`*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
spec:
endpoints:
- port: prometheus-metrics
interval: {{ .Values.metricsScrapeInterval | default "15s" }}
selector:
matchLabels:
app: {{ include "cln.fullname" . }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
spec:
endpoints:
- port: prometheus-metrics
interval: {{ .Values.metricsScrapeInterval | default "15s" }}
selector:
matchLabels:
app: {{ include "lnd.fullname" . }}
Expand Down
2 changes: 1 addition & 1 deletion test/data/ln/node-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lnd:
prometheusMetricsPort: 9332
extraContainers:
- name: lnd-exporter
image: bitdonkey/lnd-exporter:0.1.3
image: bitcoindevproject/lnd-exporter:0.2.0
imagePullPolicy: IfNotPresent
volumeMounts:
- name: config
Expand Down
2 changes: 1 addition & 1 deletion test/data/logging/network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ nodes:
prometheusMetricsPort: 9332
extraContainers:
- name: lnd-exporter
image: bitdonkey/lnd-exporter:0.1.3
image: bitcoindevproject/lnd-exporter:0.2.0
imagePullPolicy: IfNotPresent
volumeMounts:
- name: config
Expand Down