Implement Tracing in stacks-blockchain-api
Add tracing capabilities which implement the otel protocol. We can start with auto-instrumentation to generate traces and spans for all network requests, and add custom instrumentation later to generate more in-depth spans for function calls if desired.
You can use the Platform as an example, as it's already implemented auto-instrumentation like so.
Hello @CharlieC3 , sorry for leaving a comment here without respecting the team rules. As a blockchain developer, I think my tech stack is fit for a team project. So I want to prove my skills by solving some team issues and join the team as a full-time developer. Could you give me a test task?
@ethsman This repo is not the blockchain project itself, but rather a rich API that runs separately from the Stacks blockchain. We're always open to contributions here as well, but you may be looking for the stacks-core repo. Try checking out the issues in there labeled "good first issue": https://github.com/stacks-network/stacks-core/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22
Here's an example of how the postgres module can be instrumented: https://github.com/tomsanbear/opentelemetry-instrumentation-postgres