Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TelemetryAPI: unexpected behavior of multi accesslogging filters #43371

Closed
fatedier opened this issue Feb 15, 2023 · 0 comments · Fixed by #43372
Closed

TelemetryAPI: unexpected behavior of multi accesslogging filters #43371

fatedier opened this issue Feb 15, 2023 · 0 comments · Fixed by #43372

Comments

@fatedier
Copy link
Contributor

fatedier commented Feb 15, 2023

Bug Description

Two cases:

  1. Only set accessloging filter for workload mode SERVER.
  2. Set different accessloging filters for CLIENT and SERVER.

Example, case 1: this filter takes effect for inbound but it will disable accessloging for outbound.

- match:
    mode: SERVER
  providers:
  - name: envoy
  disabled: false
  filter:
    expression: response.code >= 500

case 2: both inbound and outbound listeners will apply the last filter response.code >= 500

- match:
    mode: CLIENT
  providers:
  - name: envoy
  disabled: false
  filter:
    expression: response.code >= 400
- match:
    mode: SERVER
  providers:
  - name: envoy
  disabled: false
  filter:
    expression: response.code >= 500

Version

1.17.0

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants