Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 5504c8c

Browse files
authored
httpcheck: add a config example with headers
1 parent 3434f6f commit 5504c8c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

modules/httpcheck/metadata.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,16 @@ modules:
156156
jobs:
157157
- name: local
158158
url: http://127.0.0.1:8080
159+
- name: With HTTP request headers
160+
description: Configuration with HTTP request headers that will be sent by the client.
161+
config: |
162+
jobs:
163+
- name: local
164+
url: http://127.0.0.1:8080
165+
headers:
166+
Host: localhost:8080
167+
User-Agent: netdata/go.d.plugin
168+
Accept: */*
159169
- name: With `status_accepted`
160170
description: A basic example configuration with non-default status_accepted.
161171
config: |

0 commit comments

Comments
 (0)