istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/integration/telemetry/api/testdata/attributegen.yaml (about) 1 apiVersion: extensions.istio.io/v1alpha1 2 kind: WasmPlugin 3 metadata: 4 name: istio.attributegen 5 spec: 6 phase: STATS 7 selector: 8 matchLabels: 9 app: b 10 url: {{ .AttributeGenURL }} 11 imagePullSecret: reg-cred 12 pluginConfig: 13 attributes: 14 - output_attribute: istio_responseClass 15 match: 16 - value: 2xx 17 condition: response.code >= 200 && response.code <= 299 18 - output_attribute: istio_operationId 19 match: 20 - value: getoperation 21 condition: request.method == 'GET' 22 - output_attribute: istio_grpcResponseStatus 23 match: 24 - value: OK 25 condition: response.grpc_status == 0