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

Modify lambda-promtail docs based on rewrite. #4539

Merged
merged 1 commit into from
Oct 25, 2021
Merged

Modify lambda-promtail docs based on rewrite. #4539

merged 1 commit into from
Oct 25, 2021

Conversation

cstyan
Copy link
Contributor

@cstyan cstyan commented Oct 25, 2021

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

Signed-off-by: Callum Styan <callumstyan@gmail.com>
Copy link
Member

@owen-d owen-d left a 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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Member

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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.**

@owen-d owen-d merged commit aa713f5 into grafana:main Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants