Example Configuration
shadowing:
targets:
- host: shadow.example.com
port: 8080
shadowing:
targets:
- host: shadow.example.com
port: 8080
Syntax
shadowing:
'$ref': <string>
httpClientConfig: {}
targets:
- <target>
shadowing:
'$ref': <string>
httpClientConfig: {}
targets:
- <target>
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| $ref | false | - | Reference a component defined under components. | - |
Child Structure
| Element | Cardinality | Description |
|---|---|---|
| httpClientConfig | 0..1 | Connection pooling, timeout, retry, and proxy settings for outgoing HTTP connections made by this element. When omitted, the router's global httpClientConfig applies. |
| target | 0..* | Shadow hosts each incoming request is additionally cloned and sent to in the background, once its body has been read completely. A request whose body could not be read is not shadowed. Responses from the shadow hosts are not returned to the client. A 5xx response is only logged. |