Skip to content

Commit 42d2de1

Browse files
docs: fixed typos/grammatical mistakes in metrics.md (backport release-3.3.x) (#15241)
Co-authored-by: Alex Richard Westhaver-Ford <[email protected]>
1 parent 86139ad commit 42d2de1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/sources/send-data/promtail/stages/metrics.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ type: Counter
5151
[max_idle_duration: <string>]
5252

5353
config:
54-
# If present and true all log lines will be counted without
55-
# attempting to match the source to the extract map.
54+
# If present and true all log lines will be counted without attempting
55+
# to match the `value` to the field specified by `source` in the extracted map.
5656
# It is an error to specify `match_all: true` and also specify a `value`
5757
[match_all: <bool>]
5858

@@ -231,7 +231,7 @@ This pipeline first tries to find text in the format `order_status=<value>` in
231231
the log line, pulling out the `<value>` into the extracted map with the key
232232
`order_status`.
233233

234-
The metric stages creates `successful_orders_total` and `failed_orders_total`
234+
The metrics stage creates `successful_orders_total` and `failed_orders_total`
235235
metrics that only increment when the value of `order_status` in the extracted
236236
map is `success` or `fail` respectively.
237237

@@ -265,7 +265,7 @@ number in the `retries` field from the extracted map.
265265
- metrics:
266266
http_response_time_seconds:
267267
type: Histogram
268-
description: "length of each log line"
268+
description: "distribution of log response time"
269269
source: response_time
270270
config:
271271
buckets: [0.001,0.0025,0.005,0.010,0.025,0.050]

0 commit comments

Comments
 (0)