filecoin-project / filecoin-project/boost

Add parent trace context passing to the RPC API

Open
#722 0 comments 0 reactions 0 assignees View on GitHub
area/metrics
Dominant language
Go
Stars
121
Forks
79
Avg merge
10d 14h
Merged PRs (30d)
1

Description

## Summary
Building off of #721 we want the ability to pass parent tracing ID's to the Boost RPC API. This will enable us to perform traces across the various boost services, such as a request to `booster-http` for a piece, tracing all the way to the DAG store. This will ensure that a) we can trace across services and b) that when random sampling we can ensure that any call with a parent trace continues to be traced.

## Requirements
* Add support to the RPC api to specify a parent trace id so that we can add that to RPC trace spans.
* Add top level tracing calls to:
* [booster bitswap](https://github.com/filecoin-project/boost/pull/707)
* [booster http](https://github.com/filecoin-project/boost/pull/574)
* Traces for the above retrieval services, as well as the RPC api should be viewable in the same local Grafana instance.

- [x] https://github.com/filecoin-project/boost/issues/773

## References
* Depends on #721

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.