hellas-ai / hellas-ai/consensus

feat: oltp tracing

Open
#64 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

we should instrument our application with tracing spans and optionally export them as oltp

incoming requests (via all interfaces- p2p, rpc, etc) should be parsed to find a unique correlation id, a new one created if not found. a tracing span should be created for the lifespan of the request which contains this correlation id. any outbound requests made during the request (and any async effects which may run after the response is returned) should contain this correlation id

these spans should be collected and optionally (default off) sent to a otlp server (configurable)

normally would use `tracing` and `opentelemetry_otlp` for this but i have [this](https://fast.github.io/blog/fastrace-a-modern-approach-to-distributed-tracing-in-rust/) bookmarked too, maybe worth a look

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.