Skip to content

Commit

Permalink
[ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
aerokite authored and tamalsaha committed Mar 29, 2018
1 parent b776f5b commit 414ad18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/guides/cluster-alerts/json_path.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ Check command `json_path` is used to check JSON HTTP response using [jsonpath](h

- `url` - URL to get data
- `secretName` - Name of Kubernetes Secret used to call HTTP api.
- `warning` - Query for warning which return [true/false].
- `critical` - Query for critical which return [true/false].
- `warning` - Query for warning which returns [true/false].
- `critical` - Query for critical which returns [true/false].

### Query

A query used in `warning` and `critical` variable must returns boolean [true/false].
A query used in `warning` and `critical` variable must return boolean [true/false].
In this query, you can use following operators:

* Modifiers: `+` `-` `/` `*` `&` `|` `^` `**` `%` `>>` `<<`
Expand All @@ -38,7 +38,7 @@ And also you can use [jsonpath](https://kubernetes.io/docs/reference/kubectl/jso

#### Examples

Lets assumes, we get following JSON from provided URL.
Lets assume, we get following JSON from provided URL.
```json
{
"Book":[
Expand Down

0 comments on commit 414ad18

Please sign in to comment.