-
Notifications
You must be signed in to change notification settings - Fork 208
feat(logging): add fluent-bit log shipping #3431
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
base: master
Are you sure you want to change the base?
Conversation
Implements dstackai#3430. This PR is partially implemented using Cursor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…or for malformed tokens
|
|
||
| === "Ship-only mode" | ||
|
|
||
| Logs are forwarded to Fluent-bit but cannot be read through dstack. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We usually write dstack in backticks in the docs. Please follow it for consistency.
|
@DragonStuff, FluentBit+Elasticsearch seems like a good first option to offer for "bring your own" logging stack. Surely there can be many other log collector (e.g. fluentd, filebit, logstash) + log storage (e.g. loki) combinations that we should support in the future. I suppose we could separate log collector + log storage implementations and allow configuring them independently. What do you think? Currently fluentbit and elasticseach are coupled but they could be separated later I suppose. |
@DragonStuff, would you like the PR to be merged before testing it in the pilot environment or should we wait before you test it first and then merge? So far you tested it locally? |
|
I haven't tested the PR but overall it looks good. |
Implements #3430.
This PR is partially implemented using Cursor.
This PR has NOT been run in our (TableCheck's) pilot environment yet (we are planning to run it in early January).