Skip to content

Commit b65e11e

Browse files
authored
fix(documentation): correct spelling and scrape_config (#6454)
Signed-off-by: Conor Evans <[email protected]>
1 parent 7b1ca8d commit b65e11e

File tree

1 file changed

+3
-3
lines changed
  • docs/sources/clients/lambda-promtail

1 file changed

+3
-3
lines changed

docs/sources/clients/lambda-promtail/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ To modify an already created CloudFormation stack you need to use [update-stack]
7777

7878
This workflow is intended to be an effective approach for monitoring ephemeral jobs such as those run on AWS Lambda which are otherwise hard/impossible to monitor via one of the other Loki [clients](../).
7979

80-
Ephemeral jobs can quite easily run afoul of cardinality best practices. During high request load, an AWS lambda function might balloon in concurrency, creating many log streams in Cloudwatch. For this reason lambda-promtail defaults to **not** keeping the log stream value as a label when propagating the logs to Loki. This is only possible because new versions of Loki no longer have an ingestion ordering constraing on logs within a single stream.
80+
Ephemeral jobs can quite easily run afoul of cardinality best practices. During high request load, an AWS lambda function might balloon in concurrency, creating many log streams in Cloudwatch. For this reason lambda-promtail defaults to **not** keeping the log stream value as a label when propagating the logs to Loki. This is only possible because new versions of Loki no longer have an ingestion ordering constraint on logs within a single stream.
8181

8282
### Proof of concept Loki deployments
8383

@@ -156,13 +156,13 @@ scrape_configs:
156156
promtail: 'lambda-promtail'
157157
relabel_configs:
158158
- source_labels: ['__aws_log_type']
159-
taget_label: 'log_type'
159+
target_label: 'log_type'
160160
# Maps the cloudwatch log group into a label called `log_group` for use in Loki.
161161
- source_labels: ['__aws_cloudwatch_log_group']
162162
target_label: 'log_group'
163163
# Maps the loadbalancer name into a label called `loadbalancer_name` for use in Loki.
164164
- source_label: ['__aws_s3_log_lb']
165-
taget_label: 'loadbalancer_name'
165+
target_label: 'loadbalancer_name'
166166
```
167167
168168
## Multiple Promtail Deployment

0 commit comments

Comments
 (0)