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

Pluggable logging #1621

Open
1 task
ramonacat opened this issue May 6, 2022 · 3 comments
Open
1 task

Pluggable logging #1621

ramonacat opened this issue May 6, 2022 · 3 comments
Labels

Comments

@ramonacat
Copy link
Collaborator

This ticket is for the CNCF summer mentorship 2022


Describe the problem you are trying to solve

Tremor is an event processing system that can - among other things - process logs and metrics. We would like tremor to have a facility to handle its logs through its own pipelines (similar to the pluggable metrics experience), instead of the current state, where the logs have to be received externally.
For production users this would allow:

  • tailoring tremor to different environments,
  • simplified production configuration
    • today in one of production environments Tremor writes its logs to a file, which is then read by other systems, that parse and ship them back to tremor. With pluggable logging this dance is avoided, making the whole system cheaper and easier to maintain.
  • removing the dependency on external tools.

Describe the solution you'd like

We would like to have an internal connector, which will be a source for the internal tremor logs.

Goals

  • Tremor logs can travel through the internal tremor pipelines
@ramonacat ramonacat added the enhancement New feature or request label May 6, 2022
@ghost
Copy link

ghost commented May 20, 2022

Hi, I'm Damilola Olayinka, a Computer Science undergraduate. I got to know about Tremor through the LFX Mentorship programme and I found it interesting. I would love to work on this issue but i am having some difficulties understanding the project as I am new to this. Would you mind sharing some resources which i can go through prior to submitting my application for the program. @Agares @darach

@wraymo
Copy link

wraymo commented May 22, 2022

Hi, I’m Rui, a master student in computer engineering. Currently I'm working on log compression and I’m learning Rust. I’m also very interested in this issue but have the same problem as Damilola. Could you provide some guidance?

@Licenser
Copy link
Member

Hi @yimikao, hi @wraymo thank you two for your interest, and sorry for the late reply. Absolutely, there are a few starting points that can be of interest.

The metrics guide

Note this is still in preview as we're flashing out the documentation for the upcoming release, but in the Tremor metrics section, we show how one can consume metrics from tremor itself to post-process them. In very short, this project is about doing the same with logs.

The metrics connector source

If you prefer reading sources over documentation that could be a good starting point, as before, this is how we do metrics and while it's not going to be "the same" it'll probably give a feel about the direction for what we're aiming for.

log4rs docs

This is the library for logging we're currently using so digging a bit in there about how to integrate with it could be helpful.

the community chat

While less about the technical part we have a good community on discord, with a channel dedicated to mentoring where you can ask questions, chat with prior mentees, and all that :)

I hope that answers some of the questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants