Skip to content

Conversation

@nakabonne
Copy link
Member

What this PR does / why we need it:
To track request/response body size, this PR adds a new config field.

See more: https://www.envoyproxy.io/docs/envoy/latest/configuration/upstream/cluster_manager/cluster_stats#request-response-size-statistics

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

@nghialv
Copy link
Member

nghialv commented Jul 1, 2021

/approve

@pipecd-bot
Copy link
Collaborator

APPROVE

This pull request is APPROVED by nghialv.

Approvers can cancel the approval by writing /approve cancel in a comment. Any additional commits also will change this pull request to be not-approved.

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for golang is 32.59%. This pull request does not change code coverage.

@pipecd-bot pipecd-bot merged commit cf502d5 into master Jul 1, 2021
@pipecd-bot pipecd-bot deleted the enable-req-res-stats branch July 1, 2021 08:15
nakabonne added a commit that referenced this pull request Jul 1, 2021
pipecd-bot pushed a commit that referenced this pull request Jul 1, 2021
)

This reverts commit cf502d5.

**What this PR does / why we need it**:
Seems like the config field `track_cluster_stats` is supported only for [V3](https://www.envoyproxy.io/docs/envoy/latest/api-v3/api) API [introduced from v1.13](https://www.envoyproxy.io/docs/envoy/latest/version_history/v1.13.0). On the other hand our current version of Envoy is 1.10 which supports only v2 API.

Currently, the latest version of `pipecd-gateway` is unavailable due to unable to parse the config so this PR reverts for now. But either way, we'd better bump Envoy to after v1.13 (current latest is v1.19)  as soon as possible because [V2 API is no longer supported](https://www.envoyproxy.io/docs/envoy/latest/api/api_supported_versions).

**Which issue(s) this PR fixes**:

Fixes #

**Does this PR introduce a user-facing change?**:
<!--
If no, just write "NONE" in the release-note block below.
-->
```release-note
NONE
```

This PR was merged by Kapetanios.
nakabonne added a commit that referenced this pull request Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants