Skip to content

Commit 88880d9

Browse files
authored
Update pkg/ext-proc/metrics/README.md
1 parent 6bce916 commit 88880d9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pkg/ext-proc/metrics/README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ This documentation is the current state of exposed metrics.
1010

1111
NOTE: Response metrics are only supported in non-streaming mode, with the follow up [issue](https://github.com/kubernetes-sigs/gateway-api-inference-extension/issues/178) to address streaming mode.
1212

13-
Currently you have 2 options:
14-
- If you use response streaming, simply leave the response body processing mode empty in your `EnvoyExtensionPolicy` (default). You won't get response metrics reporting.
13+
Currently there are two options:
14+
- If requests don't use response streaming, then you can enable `Buffered` mode for response in `EnvoyExtensionPolicy`, this will buffer the response body at the proxy and forward it to the endpoint picker, which allows the endpoint picker to report response metrics.
15+
16+
- If requests use response streaming, then it is not recommended to enable `Buffered` mode, the response body processing mode should be left empty in the `EnvoyExtensionPolicy` (default). In this case response bodies will not be forwarded to the endpoint picker, and therefore response metrics will not be reported.
1517

16-
- If you don't use streaming, to enable response metrics reporting, you can enable `Buffered` mode for response in `EnvoyExtensionPolicy`.
1718

1819
```
1920
apiVersion: gateway.envoyproxy.io/v1alpha1

0 commit comments

Comments
 (0)