fedimint-metrics

Crates.iofedimint-metrics
lib.rsfedimint-metrics
version0.4.3
sourcesrc
created_at2023-11-25 20:35:18.319208
updated_at2024-10-10 16:32:58.306947
descriptionfedimint-metrics allows exporting prometheus metrics from Fedimint.
homepage
repositoryhttps://github.com/fedimint/fedimint
max_upload_size
id1048564
size4,894
Brad Stachurski (bradleystachurski)

documentation

README

fedimint-metrics

Introduction

This crate helps expose metrics in prometheus format for monitoring and administration of federations.

Getting started

The easiest way to test it is to create an account on https://grafana.com/, then Add new connection, pick Hosted Prometheus metrics and Via Grafana Agent. Follow the instructions to create a new config and change

- targets: ['localhost:9100']

to

- targets: ['localhost:3000']

(or use the value given to the environment variable FM_BIND_METRICS_API or the --bind-metrics-api argument of fedimintd)

Then you can build dashboards using the grafanacloud-xxx-prom data source.

To make some test lightning payments, you can run

fedimint-load-test-tool load-test --generate-invoice-with ln-cli
Commit count: 9229

cargo fmt