Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query timing? #1358

Open
penberg opened this issue Apr 29, 2024 · 3 comments
Open

Query timing? #1358

penberg opened this issue Apr 29, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested

Comments

@penberg
Copy link
Collaborator

penberg commented Apr 29, 2024

When you're executing a query asynchronously, it would be useful for the library itself to provide query timing information because it's hard to do that from the caller.

@penberg penberg added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested labels Apr 29, 2024
@king-11
Copy link

king-11 commented Feb 26, 2025

Hey @penberg I would like to take this up if not already implemented are we looking at log level information or planning to export some metrics/traces from the library. We can probably instrument library for opentelemetry here

@penberg
Copy link
Collaborator Author

penberg commented Mar 3, 2025

@king-11 This is implemented in tursodatabase/libsql-js@2b379b5 in the JavaScript SDK. Perhaps that can be generalized to the Rust library.

@king-11
Copy link

king-11 commented Mar 3, 2025

Sure using instant std to get this sounds good but do we have to think about no std also? or for now we can have this just as an std feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants