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

Consider adding tracing facilities to tremor for developer debugging #2021

Open
darach opened this issue Oct 20, 2022 · 4 comments
Open

Consider adding tracing facilities to tremor for developer debugging #2021

darach opened this issue Oct 20, 2022 · 4 comments
Labels
cli _complexity:medium A task with a medium complexity that should be challanging documentation Improvements or additions to documentation enhancement New feature or request offramp Offramps onramp Onramps operator Pipeline Operators productivity _size:medium A medium sized task that will take some time to complete usability

Comments

@darach
Copy link
Member

darach commented Oct 20, 2022

Describe the problem you are trying to solve

As tremor-based applications and systems become richer and more complex the logging, metrics
and other facilities available via tremor-cli or the rust toolchains aren't always efficient for diagnosting
or troubleshooting.

Trace debugging would be a useful addition so that tremor developers can selectively trace into parts of
the tremor runtime to analyse issues with their applications.

Describe the solution you'd like

As above.

Notes

Depending on how invasive trace debugging facilities at an internal/implementation ( rust ) the facility would need to be an RFC may be required if/where language support for tracing is desireable.

This is a high level tracking ticket. Folk interested in trace support in tremor should comment this ticket accordingly.

@darach darach added documentation Improvements or additions to documentation enhancement New feature or request onramp Onramps offramp Offramps operator Pipeline Operators cli usability productivity _complexity:medium A task with a medium complexity that should be challanging _size:medium A medium sized task that will take some time to complete labels Oct 20, 2022
@AllMight2099
Copy link
Contributor

Hi there!
I was hoping I could get some more context on the issue. I'd like to work on this issue

@Licenser
Copy link
Member

This is a fairly hefti ticket:

it involves (at least) two rather big parts:

  1. investigate the debugger interfaces used by systems like lldb and VSCode / language servers and how to integrate them in rust.

  2. implement that interface for tremor script which will be a massive (at least my guess) change to the language interpreter

and do that in a way that has virtually zero runtime performance impact

@AllMight2099
Copy link
Contributor

Wow, that does sound like a lot. I'd still like to work on it tho cause it's something that would help me grow as a Rust developer. I'll try reading up a bit and playing around with tremor and then discuss possible approaches over discord, if that's fine with you?

@Licenser
Copy link
Member

yes please :) discord is always open and we're happy to discuss and chat there. If you don't get to the full implementation and just do a bit of R&D to build a prototype that this can be based on later, or just to learn that's fine too - we'll learn in the process as well :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli _complexity:medium A task with a medium complexity that should be challanging documentation Improvements or additions to documentation enhancement New feature or request offramp Offramps onramp Onramps operator Pipeline Operators productivity _size:medium A medium sized task that will take some time to complete usability
Projects
None yet
Development

No branches or pull requests

3 participants