--- WARNING: THIS IS AN AUTO-GENERATED FILE, DO NOT EDIT. PLEASE MODIFY THE ORIGINAL SOURCE IN THE 'https://github.com/istio/proxy' REPO source_repo: https://github.com/istio/proxy title: Stats Config description: Configuration for Stats Filter. location: https://istio.io/docs/reference/config/proxy_extensions/stats.html layout: protoc-gen-docs generator: protoc-gen-docs weight: 20 number_of_entries: 5 ---

MetricConfig

Metric instance configuration overrides. The metric value and the metric type are optional and permit changing the reported value for an existing metric. The standard metrics are optimized and reported through a “fast-path”. The customizations allow full configurability, at the cost of a “slower” path.

Field Type Description Required
dimensions map<string, string>

(Optional) Collection of tag names and tag expressions to include in the metric. Conflicts are resolved by the tag name by overriding previously supplied values.

No
name string

(Optional) Metric name to restrict the override to a metric. If not specified, applies to all.

No
tags_to_remove string[]

(Optional) A list of tags to remove.

No
match string

NOT IMPLEMENTED. (Optional) Conditional enabling the override.

No
drop bool

(Optional) If this is set to true, the metric(s) selected by this configuration will not be generated or reported.

No

MetricDefinition

Field Type Description Required
name string

Metric name.

No
value string

Metric value expression.

No
type MetricType

NOT IMPLEMENTED (Optional) Metric type.

No

PluginConfig

Field Type Description Required
disable_host_header_fallback bool

Optional: Disable using host header as a fallback if destination service is not available from the controlplane. Disable the fallback if the host header originates outsides the mesh, like at ingress.

No
tcp_reporting_duration Duration

Optional. Allows configuration of the time between calls out to for TCP metrics reporting. The default duration is 15s.

No
metrics MetricConfig[]

Metric overrides.

No
definitions MetricDefinition[]

Metric definitions.

No
reporter Reporter

Proxy deployment type.

No

MetricType

Name Description
COUNTER
GAUGE
HISTOGRAM

Reporter

Specifies the proxy deployment type.

Name Description
UNSPECIFIED

Default value is inferred from the listener direction, as either client or server sidecar.

SERVER_GATEWAY

Shared server gateway, e.g. “waypoint”.