-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Modify lambda-promtail docs based on rewrite. #4539
Conversation
Signed-off-by: Callum Styan <callumstyan@gmail.com>
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.
A few nits then LGTM
|
||
Instead we can pipeline Cloudwatch logs to a set of Promtails, which can mitigate these problem in two ways: | ||
There's also a flag to keep the log group label when propagating the logs, which defaults to false. |
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.
There's also a flag to keep the log group label when propagating the logs, which defaults to false. | |
There's also a flag to keep the log stream label when propagating the logs, which defaults to false. This can be helpful when the cardinality is too large, such as the case of a log per lambda invocation. |
|
||
To keep the log group label add `-var "keep_stream=true"`. | ||
|
||
Note that the automatic subscription filter creation to multiple log groups is done without the addition of any regex filtering on the logs contents. |
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.
re-word this sentence? I'm not sure what it means.
|
||
## Multiple Promtail Deployment | ||
|
||
Disclaimer: The following section is only relevant for older versions of Loki that cannot accept out of order logs. |
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.
Disclaimer: The following section is only relevant for older versions of Loki that cannot accept out of order logs. | |
**Disclaimer: The following section is only relevant for older versions of Loki that cannot accept out of order logs.** |
Adds simplified "getting started" type steps for the new lambda-promtail changes. I tried to keep the old docs but move them around + make it clear that the the multiple promtail + load balancer deployment was no longer required and only necessary for older version of Loki that do not support out of order ingestion.
Signed-off-by: Callum Styan callumstyan@gmail.com