Last active
November 1, 2019 15:22
-
-
Save mandarjog/86dabe1a557a61884f19651dade29f87 to your computer and use it in GitHub Desktop.
telemetrv2 sidecar xds config (INBOUND)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Note that listener.trafficDirection should match "stackdriver_${traffic_direction}" | |
# https://github.com/envoyproxy/envoy-wasm/blob/master/api/envoy/config/wasm/v2/wasm.proto | |
# INBOUND | |
filters: | |
- name: envoy.http_connection_manager | |
typed_config: | |
'@type': type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager | |
forward_client_cert_details: APPEND_FORWARD | |
generate_request_id: true | |
http_filters: | |
- name: envoy.filters.http.wasm | |
config: | |
config: | |
configuration: envoy.wasm.metadata_exchange | |
vm_config: | |
code: | |
inline_string: envoy.wasm.metadata_exchange | |
runtime: envoy.wasm.runtime.null | |
- name: envoy.filters.http.wasm | |
config: | |
config: | |
configuration: '{}' | |
root_id: stackdriver_inbound | |
vm_config: | |
code: | |
inline_string: envoy.wasm.null.stackdriver | |
runtime: envoy.wasm.runtime.null | |
vm_id: stackdriver_inbound | |
# OUTBOUND listener note vm_id and root_id matches listener | |
- name: envoy.filters.http.wasm | |
config: | |
config: | |
configuration: envoy.wasm.metadata_exchange | |
vm_config: | |
code: | |
inline_string: envoy.wasm.metadata_exchange | |
runtime: envoy.wasm.runtime.null | |
- name: envoy.filters.http.wasm | |
config: | |
config: | |
configuration: '{}' | |
root_id: stackdriver_outbound | |
vm_config: | |
code: | |
inline_string: envoy.wasm.null.stackdriver | |
runtime: envoy.wasm.runtime.null | |
vm_id: stackdriver_outbound | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment