-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Doc fixes: remove typos and long sentence #2586
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2586 +/- ##
==========================================
+ Coverage 63.01% 63.07% +0.05%
==========================================
Files 169 169
Lines 15005 15005
==========================================
+ Hits 9456 9464 +8
+ Misses 4796 4791 -5
+ Partials 753 750 -3
|
@@ -336,10 +336,9 @@ kubernetes_sd_configs: | |||
|
|||
### pipeline_stages | |||
|
|||
The [pipeline](../pipelines/) stages (`pipeline_stages`) is used to transform | |||
log entries and their labels after discovery and consists of a list of any of the items listed below. | |||
[Pipeline](../pipelines/) stages are used to transform log entries and their labels. The pipline is executed after the discovery process finishes. The `pipeline_stages` object consists of a list of stages which correspond to the items listed below. |
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.
[Pipeline](../pipelines/) stages are used to transform log entries and their labels. The pipline is executed after the discovery process finishes. The `pipeline_stages` object consists of a list of stages which correspond to the items listed below. | |
[Pipeline](../pipelines/) stages are used to transform log entries and their labels. The pipeline is executed after the discovery process finishes. The `pipeline_stages` object consists of a list of stages which correspond to the items listed below. |
|
||
Stages serve several purposes, more detail can be found [here](../pipelines/), however generally you extract data with `regex` or `json` stages into a temporary map which can then be use as `labels` or `output` or any of the other stages aside from `docker` and `cri` which are explained in more detail below. | ||
Stages serve several purposes, more detail can be found [here](../pipelines/). However in most cases you extract data from logs with `regex` or `json` stages. The extracted data is transformed into a temporary map object. The data can then be used by promtail e.g. as values for `labels` or as an `output`. Additionally any other stage aside from `docker` and `cri` can access the extracted data. |
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.
Stages serve several purposes, more detail can be found [here](../pipelines/). However in most cases you extract data from logs with `regex` or `json` stages. The extracted data is transformed into a temporary map object. The data can then be used by promtail e.g. as values for `labels` or as an `output`. Additionally any other stage aside from `docker` and `cri` can access the extracted data. | |
Stages serve several purposes, more detail can be found [here](../pipelines/). | |
In most cases, you extract data from logs with `regex` or `json` stages. The extracted data is transformed into a temporary map object. The data can then be used by promtail, e.g. as values for `labels` or as an `output`. Additionally any other stage aside from `docker` and `cri` can access the extracted data. |
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.
Best practice is to keep paragraphs to three sentences or left when writing for online viewing.
7a60eed
to
4782a3e
Compare
Thanks for your review @oddlittlebird ! I applied your suggestions and rebased |
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.
LGTM!
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.
lgtm
Thanks for contributing to the Loki docs! |
What this PR does / why we need it:
Minor fix in the docs