fedimint-metrics 0.2.0-rc5

fedimint-metrics allows exporting prometheus metrics from Fedimint.
docs.rs failed to build fedimint-metrics-0.2.0-rc5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: fedimint-metrics-0.6.1

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