mirror of
https://github.com/TwiN/gatus.git
synced 2025-06-25 04:02:28 +02:00
Fix typo for colleague
This commit is contained in:
parent
cdb5ba080a
commit
8c3ab1eac2
12
README.md
12
README.md
@ -506,13 +506,13 @@ By setting `services[].graphql` to true, the body will automatically be wrapped
|
|||||||
For instance, the following configuration:
|
For instance, the following configuration:
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
- name: filter users by gender
|
- name: filter-users-by-gender
|
||||||
url: http://localhost:8080/playground
|
url: http://localhost:8080/playground
|
||||||
method: POST
|
method: POST
|
||||||
graphql: true
|
graphql: true
|
||||||
body: |
|
body: |
|
||||||
{
|
{
|
||||||
user(gender: "female") {
|
users(gender: "female") {
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
gender
|
gender
|
||||||
@ -523,12 +523,12 @@ services:
|
|||||||
Content-Type: application/json # XXX: as of v1.9.2, this header is automatically added when graphql is set to true
|
Content-Type: application/json # XXX: as of v1.9.2, this header is automatically added when graphql is set to true
|
||||||
conditions:
|
conditions:
|
||||||
- "[STATUS] == 200"
|
- "[STATUS] == 200"
|
||||||
- "[BODY].data.user[0].gender == female"
|
- "[BODY].data.users[0].gender == female"
|
||||||
```
|
```
|
||||||
|
|
||||||
will send a `POST` request to `http://localhost:8080/playground` with the following body:
|
will send a `POST` request to `http://localhost:8080/playground` with the following body:
|
||||||
```json
|
```json
|
||||||
{"query":" {\n user(gender: \"female\") {\n id\n name\n gender\n avatar\n }\n }"}
|
{"query":" {\n users(gender: \"female\") {\n id\n name\n gender\n avatar\n }\n }"}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -600,7 +600,7 @@ commonly known as "ping" or "echo":
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
- name: ICMP
|
- name: ping-example
|
||||||
url: "icmp://example.com"
|
url: "icmp://example.com"
|
||||||
conditions:
|
conditions:
|
||||||
- "[CONNECTED] == true"
|
- "[CONNECTED] == true"
|
||||||
@ -615,7 +615,7 @@ You can specify a domain prefixed by `icmp://`, or an IP address prefixed by `ic
|
|||||||
Defining a `dns` configuration in a service will automatically mark that service as a service of type DNS:
|
Defining a `dns` configuration in a service will automatically mark that service as a service of type DNS:
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
- name: example dns query
|
- name: example-dns-query
|
||||||
url: "8.8.8.8" # Address of the DNS server to use
|
url: "8.8.8.8" # Address of the DNS server to use
|
||||||
interval: 30s
|
interval: 30s
|
||||||
dns:
|
dns:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user