Raúl Kripalani 656ece06e5 fix metrics wiring.
Some components like go-ds-measure, go-ipfs-blockstore and go-bitswap
expose metrics via ipfs/go-metrics-interface, but Lotus never injects
the Prometheus exporter (ipfs/go-metrics-prometheus). Therefore, those
metrics never surface in instrumentation.

Instead, Lotus uses OpenCensus directly.

This commit injects the Prometheus exporter for go-metrics-interface, and
instructs the OpenCensus Prometheus exporter to use the DefaultRegistry.

This has the effect of exposing blending the metrics of both metrics
libraries.

With this patch, the datastore, cache utilisation, and bitswap metrics
are now exported via the /debug/metrics endpoint.

This commit also fixes an issue where the metrics scope was empty, making
go-metrics-interface default to "<no-scope>". Angle brackets are inadmissible
characters for Prometheus, so it was refusing to export the affected metrics.
(These were the ARC cache metrics.)
2020-11-02 17:56:49 +00:00
2020-10-28 15:46:57 +01:00
2020-11-02 17:56:49 +00:00
2020-10-21 12:16:23 -07:00
2020-10-09 13:23:07 -07:00
2020-10-21 18:39:57 +10:00
2020-10-23 19:33:30 +02:00
2020-11-02 17:56:49 +00:00
2020-10-14 18:21:16 -07:00
2019-12-05 11:31:32 +08:00
2020-08-20 20:46:36 -07:00
2020-10-24 06:33:31 -04:00
2020-11-02 17:56:49 +00:00
2020-10-27 15:37:11 +01:00
2019-08-01 21:26:11 -07:00
2019-08-01 21:26:11 -07:00
2020-10-20 13:48:32 +02:00
2020-09-17 20:56:43 +02:00
2020-10-14 15:11:30 +02:00

Project Lotus Logo

Project Lotus - 莲


Lotus is an implementation of the Filecoin Distributed Storage Network. For more details about Filecoin, check out the Filecoin Spec.

Building & Documentation

For instructions on how to build, install and setup lotus, please visit https://docs.filecoin.io/get-started/lotus.

Reporting a Vulnerability

Please send an email to security@filecoin.org. See our security policy for more details.

Development

The main branches under development at the moment are:

  • master: current testnet.
  • next: working branch with chain-breaking changes.
  • ntwk-calibration: devnet running one of next commits.

Tracker

All work is tracked via issues. An attempt at keeping an up-to-date view on remaining work towards Mainnet launch can be seen at the lotus github project board. The issues labeled with incentives are there to identify the issues needed for Space Race launch.

Packages

The lotus Filecoin implementation unfolds into the following packages:

License

Dual-licensed under MIT + Apache 2.0

S
Description
Reference implementation of the Filecoin protocol, written in Go
Readme
314 MiB
2024-07-12 02:24:55 +00:00
Languages
Go 99.2%
Shell 0.5%
Makefile 0.1%