Skip to content

Commit

Permalink
docs: fix config error for new metrics in docs (#2163)
Browse files Browse the repository at this point in the history
  • Loading branch information
slim-bean authored Jun 4, 2020
1 parent a01787a commit 8dc9a9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/clients/promtail/stages/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,16 @@ config:
type: Counter
description: "total number of log lines"
prefix: my_promtail_custom_
match_all: true
config:
match_all: true
action: inc
log_bytes_total:
type: Counter
description: "total bytes of log lines"
prefix: my_promtail_custom_
match_all: true
count_entry_bytes: true
config:
match_all: true
count_entry_bytes: true
action: add
```
Expand Down

0 comments on commit 8dc9a9c

Please sign in to comment.