Skip to content

Commit

Permalink
Update json parser readme (#8532)
Browse files Browse the repository at this point in the history
(cherry picked from commit d9d6a19)
  • Loading branch information
sjwang90 authored and ssoroka committed Dec 16, 2020
1 parent 2512bb3 commit 3bc8011
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/parsers/json/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The JSON data format parses a [JSON][json] object or an array of objects into
metric fields.

**NOTE:** All JSON numbers are converted to float fields. JSON String are
ignored unless specified in the `tag_key` or `json_string_fields` options.
**NOTE:** All JSON numbers are converted to float fields. JSON strings and booleans are
ignored unless specified in the `tag_key` or `json_string_fields` options.

### Configuration

Expand Down Expand Up @@ -36,7 +36,7 @@ ignored unless specified in the `tag_key` or `json_string_fields` options.
"my_tag_2"
]

## Array of glob pattern strings keys that should be added as string fields.
## Array of glob pattern strings or booleans keys that should be added as string fields.
json_string_fields = []

## Name key is the key to use as the measurement name.
Expand Down

0 comments on commit 3bc8011

Please sign in to comment.