AttributeGen Config
The following is an example of a configuration that produces one attribute named using request.url_path
and request.method
.
If the Stats plugin runs after AttributeGen, it can use istio_operationId
to populate a dimension on a metric.
The following is an example of response codes being mapped into a smaller number of response classes as the istio_responseClass
attribute. For example, all response codes in 200s are mapped to 2xx
.
If multiple AttributeGene configurations produce the same attribute, the result of the last configuration will be visible to downstream filters.
Top level configuration to generate new attributes based on attributes of the proxied traffic.