stacks-blockchain-api icon indicating copy to clipboard operation
stacks-blockchain-api copied to clipboard

Implement Tracing in stacks-blockchain-api

Open CharlieC3 opened this issue 1 year ago • 3 comments

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.

CharlieC3 avatar Nov 11 '24 18:11 CharlieC3

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?

ethsdev avatar Dec 26 '24 12:12 ethsdev

@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

CharlieC3 avatar Dec 26 '24 19:12 CharlieC3

Here's an example of how the postgres module can be instrumented: https://github.com/tomsanbear/opentelemetry-instrumentation-postgres

CharlieC3 avatar Jan 30 '25 20:01 CharlieC3