Go to file
Adrian Lanzafame 3b3f786d68
add opencensus tracing and metrics
This commit adds support for OpenCensus tracing
and metrics collection. This required support for
context.Context propogation throughout the cluster
codebase, and in particular, the ipfscluster component
interfaces.

The tracing propogates across RPC and HTTP boundaries.
The current default tracing backend is Jaeger.

The metrics currently exports the metrics exposed by
the opencensus http plugin as well as the pprof metrics
to a prometheus endpoint for scraping.
The current default metrics backend is Prometheus.

Metrics are currently exposed by default due to low
overhead, can be turned off if desired, whereas tracing
is off by default as it has a much higher performance
overhead, though the extent of the performance hit can be
adjusted with smaller sampling rates.

License: MIT
Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com>
2019-02-04 18:53:21 +10:00
.github Fix #412: Add an issue template 2018-05-30 14:43:04 +02:00
.gx gx publish 0.8.0 2019-01-16 13:27:26 +01:00
.snapcraft New credentials for pushing snaps 2018-01-10 18:33:33 +01:00
adder add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
allocator add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
api add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
ci Pre-create and pre-connect hosts in tests 2018-04-05 16:49:26 +02:00
cmd add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
config add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
consensus/raft add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
deptools Update gx and gx-go to latest stable 2018-10-31 17:12:12 +01:00
docker Docker: Run with daemon --upgrade by default. 2018-04-27 07:57:08 +02:00
informer add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
ipfsconn/ipfshttp add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
monitor add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
observations add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
pintracker add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
pstoremgr Fix #462: Support DNS multiaddresses for node_multiaddress 2018-06-12 10:09:03 +02:00
rpcutil wip 2018-08-07 20:12:05 +02:00
sharness Merge pull request #643 from ipfs/fix/sharness-jq-typo 2019-01-14 14:50:46 +01:00
snap Fix publishing snaps 2018-10-25 12:40:33 +02:00
state add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
test add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
version Release 0.8.0 2019-01-16 13:27:03 +01:00
.codeclimate.yml codeclimate 2018-08-07 20:12:05 +02:00
.dockerignore Issue #259: Address CR comments 2017-12-04 13:59:48 +01:00
.gitignore Add a docker-compose.yml example with 2 peers and auto-bootstrap. 2018-10-23 18:25:43 +02:00
.travis.yml Fix publishing snaps 2018-10-25 12:40:33 +02:00
add_test.go add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
allocate.go add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
CHANGELOG.md Fix changelog date 2019-01-16 15:00:10 +01:00
cluster_config_test.go add env config; refactor LoadJSON tests 2018-10-26 19:38:30 +10:00
cluster_config.go add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
cluster_test.go add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
cluster.go add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
clusterhost.go Fix #346: Enable NAT hole punching for libp2p host 2018-05-27 17:47:46 +02:00
config_test.go add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
connect_graph.go add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
CONTRIBUTING.md Docs: Move to website. 2018-04-27 09:05:11 +02:00
docker-compose.yml Set CLUSTER_SECRET from shell 2018-10-24 21:20:53 +02:00
Dockerfile Update to go-1.11 2018-10-01 12:03:08 +02:00
Dockerfile-bundle Docker: Run with daemon --upgrade by default. 2018-04-27 07:57:08 +02:00
Dockerfile-test Put a note for deprecating json fields 2018-12-17 08:24:17 +05:30
ipfscluster_test.go add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
ipfscluster.go add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
LICENSE ipfscluster-server executable 2016-12-21 19:37:25 +01:00
logging.go Issue #453 Extract the IPFS Proxy from ipfshttp 2018-10-14 22:42:50 +05:30
Makefile Set CLUSTER_SECRET from shell 2018-10-24 21:20:53 +02:00
package.json add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
peer_manager_test.go add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
pnet_test.go add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
README.md Copyedit in README 2018-09-26 07:54:51 +10:00
release.sh Fix #382: Extract headers from IPFS API requests & apply them to hijacked ones. 2018-12-18 16:05:12 +01:00
rpc_api.go add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
util.go update go-cid and go-libp2p 2018-09-24 11:35:38 +10:00

IPFS Cluster

Made by Main project IRC channel standard-readme compliant GoDoc Go Report Card Build Status Coverage Status

Pinset orchestration for IPFS.

logo

IPFS Cluster is a stand-alone application and a CLI client that allocates, replicates, and tracks pins across a cluster of IPFS daemons.

It provides:

  • A cluster peer application: ipfs-cluster-service, to be run along with go-ipfs.
  • A client CLI application: ipfs-cluster-ctl, which allows easily interacting with the peer's HTTP API.

Are you using IPFS Cluster?

Please participate in the IPFS Cluster user registry.


Table of Contents

Documentation

Please visit https://cluster.ipfs.io/documentation/ to access user documentation, guides and any other resources, including detailed download and usage instructions.

News & Roadmap

We regularly post project updates to https://cluster.ipfs.io/news/ .

The most up-to-date Roadmap is available at https://cluster.ipfs.io/roadmap/ .

Install

Instructions for different installation methods (including from source) are available at https://cluster.ipfs.io/documentation/download .

Usage

Extensive usage information is provided at https://cluster.ipfs.io/documentation/ , including:

Contribute

PRs accepted. As part of the IPFS project, we have some contribution guidelines.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © Protocol Labs, Inc.