couchbaselabs / couchbase-rs

The official, community supported Couchbase Rust SDK
https://couchbase.com
Apache License 2.0
106 stars 31 forks source link

Observability (tracing & metrics) #116

Open chvck opened 3 years ago

chvck commented 3 years ago

https://docs.google.com/document/d/1BAPS8bPMv8-4FPIdysgpxEsKrUgd595EAGOU-_nXHRY/edit?usp=sharing

emreyalvac commented 2 months ago

Hi @chvck,

Can i take this :)

chvck commented 2 months ago

Hi @emreyalvac we'd certainly gladly receive contributions :).

First, a bit of detail on where we're at at the moment - the version of the SDK in the master branch is no longer being maintained (https://github.com/couchbaselabs/couchbase-rs/pull/186), and we're working on a fully native SDK in the nativex branch. So far we've been working on the core crate of the SDK (rather than the public, supported, API) which doesn't quite match with existing SDKs but we'll be starting on the public API crate soon.

We have issues filed for the new project at https://jira.issues.couchbase.com/browse/RSCBC which you should have read access to. If any issues look interesting then please open a corresponding issue here with the "nativex" label so we can discuss and track here.

The public API of SDKs follow our RFCs detailed at https://github.com/couchbaselabs/sdk-rfcs so core features are written in a way that allows the public API to fulfill the relevant RFC.

I'd suggest that observability wouldn't be a great first issue to work on though - it appears that rust APIs are trending toward using https://github.com/tokio-rs/tracing so there's going to be a lot of internal couchbase SDK team discussion around how we approach that given that it doesn't match up with our observability RFC at all.