ipfs-cluster/adder
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
..
adderutils Feat #632: Keep default /add behaviour outside of conditional block 2019-01-07 14:10:16 +01:00
ipfsadd Unrewrite deps 2018-12-17 14:16:38 +01:00
local Update to go-ipfs-files 2.0.3 2018-12-17 14:29:44 +01:00
sharding add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
adder_test.go Update to go-ipfs-files 2.0.3 2018-12-17 14:29:44 +01:00
adder.go Unrewrite deps 2018-12-17 14:16:38 +01:00
util.go Unrewrite deps 2018-12-17 14:16:38 +01:00