The quota template represents an item for which to check quota.

Example config:

apiVersion: "config.istio.io/v1alpha2"
kind: quota
  name: requestcount
  namespace: istio-system
    source: source.labels["app"] | source.service | "unknown"
    sourceVersion: source.labels["version"] | "unknown"
    destination: destination.labels["app"] | destination.service | "unknown"
    destinationVersion: destination.labels["version"] | "unknown"


The quota template represents a piece of data to check Quota for.

When writing the configuration, the value for the fields associated with this template can either be a literal or an expression. Please note that if the datatype of a field is not istio.mixer.adapter.model.v1beta1.Value, then the expression’s inferred type must match the datatype of the field.

dimensionsmap<string, istio.mixer.adapter.model.v1beta1.Value>

The unique identity of the particular quota to manipulate.


Value is used inside templates for fields that have dynamic types. The actual datatype of the field depends on the datatype of the expression used in the operator configuration.

stringValuestring (oneof)

Used for values of type STRING

int64Valueint64 (oneof)

Used for values of type INT64

doubleValuedouble (oneof)

Used for values of type DOUBLE

boolValuebool (oneof)

Used for values of type BOOL

ipAddressValueistio.mixer.adapter.model.v1beta1.IPAddress (oneof)

Used for values of type IPAddress

timestampValueistio.mixer.adapter.model.v1beta1.TimeStamp (oneof)

Used for values of type TIMESTAMP

durationValueistio.mixer.adapter.model.v1beta1.Duration (oneof)

Used for values of type DURATION

emailAddressValueistio.mixer.adapter.model.v1beta1.EmailAddress (oneof)

Used for values of type EmailAddress

dnsNameValueistio.mixer.adapter.model.v1beta1.DNSName (oneof)

Used for values of type DNSName

uriValueistio.mixer.adapter.model.v1beta1.Uri (oneof)

Used for values of type Uri