Reference implementation of the Filecoin protocol, written in Go
Go to file
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
.circleci circle: Install hwloc 2020-10-28 15:46:57 +01:00
.github move conformance tvx tool to lotus. 2020-09-27 20:10:05 +01:00
api Merge pull request #4105 from filecoin-project/asr/decode-params 2020-10-31 01:05:50 +01:00
build Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers 2020-10-27 03:31:07 +01:00
chain Merge pull request #4105 from filecoin-project/asr/decode-params 2020-10-31 01:05:50 +01:00
cli Merge pull request #4105 from filecoin-project/asr/decode-params 2020-10-31 01:05:50 +01:00
cmd fix metrics wiring. 2020-11-02 17:56:49 +00:00
conformance Merge pull request #4449 from austinabell/austin/confcircsupplyfix 2020-10-22 18:53:10 +02:00
documentation Add a StateDecodeParams method 2020-10-29 22:04:33 -04:00
extern Merge pull request #4666 from filecoin-project/fix/sched-issues 2020-10-30 21:34:07 +01:00
gen Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers 2020-10-08 13:10:41 +02:00
genesis port to v2 imports 2020-10-21 12:16:23 -07:00
journal unshare the journal 2020-10-09 13:23:07 -07:00
lib Merge pull request #4650 from jsign/jsign/offlinemode 2020-10-29 22:24:58 +01:00
lotuspond introduce separate state-tree versions 2020-10-07 12:04:32 -07:00
markets Merge pull request #4623 from filecoin-project/feat/cache-deal-state-matcher 2020-10-31 01:00:11 +01:00
metrics gofmt 2020-10-21 18:39:57 +10:00
miner Fix random test failures 2020-10-23 19:33:30 +02:00
node fix metrics wiring. 2020-11-02 17:56:49 +00:00
paychmgr refactor: simplify chain event Called API 2020-10-30 14:00:32 +01:00
scripts Refactor from crypto.SigType to types.KeyType 2020-10-12 00:07:53 +02:00
storage explicitly abort PoSt on context cancellation 2020-10-30 14:00:54 -07:00
tools use actor abstraction in metrics command 2020-10-11 20:31:20 -07:00
.codecov.yml fix code coverage ignore 2020-10-14 18:21:16 -07:00
.dockerignore add docker support 2019-12-05 11:31:32 +08:00
.gitignore Merge remote-tracking branch 'origin/master' into feat/signing-backends 2020-10-09 00:50:41 +02:00
.gitmodules add filecoin-project oni as submodule and compile lotus-soup 2020-09-16 15:12:41 +02:00
.golangci.yml Lint everything 2020-08-20 20:46:36 -07:00
CHANGELOG.md Lotus version 1.1.2 2020-10-24 06:33:31 -04:00
go.mod fix metrics wiring. 2020-11-02 17:56:49 +00:00
go.sum Update FFI 2020-10-27 15:37:11 +01:00
LICENSE-APACHE Add basic readme and licenses 2019-08-01 21:26:11 -07:00
LICENSE-MIT Add basic readme and licenses 2019-08-01 21:26:11 -07:00
Makefile make: Drop npm calls from buildall 2020-10-20 13:48:32 +02:00
README.md Fix links in READMEs. 2020-09-17 20:56:43 +02:00
SECURITY.md Update SECURITY.md 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