-max_peer_cache_size |
+maxPeerCacheSize |
UInt32Value |
maximum size of the peer metadata cache.
@@ -38,7 +38,6 @@ PluginConfig
google.protobuf.UInt32Value
Wrapper message for uint32.
-
The JSON representation for UInt32Value is JSON number.
diff --git a/extensions/stackdriver/config/v1alpha1/stackdriver_plugin_config.pb.html b/extensions/stackdriver/config/v1alpha1/stackdriver_plugin_config.pb.html
index 1f5f2505db8..f3678c97acc 100644
--- a/extensions/stackdriver/config/v1alpha1/stackdriver_plugin_config.pb.html
+++ b/extensions/stackdriver/config/v1alpha1/stackdriver_plugin_config.pb.html
@@ -5,12 +5,12 @@
layout: protoc-gen-docs
generator: protoc-gen-docs
weight: 20
-number_of_entries: 3
+number_of_entries: 4
---
CustomConfig
Custom instance configuration overrides.
-Provides a way to customize metrics/logs.
+Provides a way to customize logs.
@@ -40,7 +40,7 @@ CustomConfig
PluginConfig
-next id: 15
+next id: 17
@@ -53,7 +53,7 @@ PluginConfig
-max_log_batch_size_in_bytes |
+maxLogBatchSizeInBytes |
int32 |
Optional. Allows configuration of the size of the LogWrite request. The
@@ -66,7 +66,7 @@ PluginConfig
|
-log_report_duration |
+logReportDuration |
Duration |
Optional. Allows configuration of the time between calls out to the
@@ -80,7 +80,7 @@ PluginConfig
|
-enable_audit_log |
+enableAuditLog |
bool |
Optional. Controls whether to export audit log.
@@ -91,49 +91,20 @@ PluginConfig
|
-destination_service_name |
+destinationServiceName |
string |
Optional. FQDN of destination service that the request routed to, e.g.
productpage.default.svc.cluster.local. If not provided, request host header
will be used instead
- |
-
-No
- |
-
-
-enable_mesh_edges_reporting |
-bool |
-
- Optional. Controls whether or not to export mesh edges to a mesh edges
-service. This is disabled by default.
-
- |
-
-No
- |
-
-
-mesh_edges_reporting_duration |
-Duration |
-
- Optional. Allows configuration of the time between calls out to the mesh
-edges service to report NEW edges. The minimum configurable duration is
-10s. NOTE: This option ONLY configures the intermediate reporting of
-novel edges. Once every 10m, all edges observed in that 10m window are
-reported and the local cache is cleared.
-The default duration is 1m. Any value greater than 10m will result in
-reporting every 10m.
-
|
No
|
-max_peer_cache_size |
+maxPeerCacheSize |
int32 |
maximum size of the peer metadata cache.
@@ -146,7 +117,7 @@ PluginConfig
|
-max_edges_batch_size |
+maxEdgesBatchSize |
int32 |
Optional. Allows configuration of the number of traffic assertions to batch
@@ -170,35 +141,36 @@ PluginConfig
No
|
-
-disable_http_size_metrics |
-bool |
+
+enableLogCompression |
+BoolValue |
- Optional. Allows disabling of reporting of the request and response size
-metrics for HTTP traffic. Defaults to false (request and response size
-metrics are enabled).
+Optional. Allows enabling log compression for stackdriver access logs.
|
No
|
-
-enable_log_compression |
-BoolValue |
+
+accessLogging |
+AccessLogging |
- Optional. Allows enabling log compression for stackdriver access logs.
+Optional. Controls what type of logs to export.
|
No
|
-
-access_logging |
-AccessLogging |
+
+accessLoggingFilterExpression |
+string |
- Optional. Controls what type of logs to export..
+CEL expression for filtering access logging. If the expression evaluates
+to true, an access log entry will be generated. Otherwise, no access log
+entry will be generated.
+NOTE: Audit logs ignore configured filters.
|
@@ -206,13 +178,14 @@ PluginConfig
|
-custom_log_config |
+customLogConfig |
CustomConfig |
(Optional) Collection of tag names and tag expressions to include in the
logs. Conflicts are resolved by the tag name by overriding previously
supplied values. Does not apply to audit logs.
-See https://istio.io/latest/docs/tasks/observability/metrics/customize-metrics/#use-expressions-for-values
+See
+https://istio.io/latest/docs/tasks/observability/metrics/customize-metrics/#use-expressions-for-values
for more details about the expression language.
|
@@ -221,7 +194,7 @@ PluginConfig
-metric_expiry_duration |
+metricExpiryDuration |
Duration |
Optional. Controls the metric expiry duration. If a metric time series is
@@ -230,18 +203,121 @@ PluginConfig
series will never be expired. This option is useful to avoid unbounded
metric label explodes proxy memory.
+ |
+
+No
+ |
+
+
+metricsOverrides |
+map<string, MetricsOverride> |
+
+ Optional. Allows altering metrics behavior.
+Metric names for specifying overloads drop the istio.io/service prefix.
+Examples: server/request_count, client/roundtrip_latencies
+
|
No
|
-disable_server_access_logging |
+disableServerAccessLogging |
bool |
Optional. Controls whether to export server access log.
This is deprecated in favor of AccessLogging enum.
+ |
+
+No
+ |
+
+
+enableMeshEdgesReporting |
+bool |
+
+ Optional. Controls whether or not to export mesh edges to a mesh edges
+service. This is disabled by default.
+Deprecated – Mesh edge reporting is no longer supported and this setting
+is no-op.
+
+ |
+
+No
+ |
+
+
+meshEdgesReportingDuration |
+Duration |
+
+ Optional. Allows configuration of the time between calls out to the mesh
+edges service to report NEW edges. The minimum configurable duration is
+10s. NOTE: This option ONLY configures the intermediate reporting of
+novel edges. Once every 10m, all edges observed in that 10m window are
+reported and the local cache is cleared.
+The default duration is 1m. Any value greater than 10m will result in
+reporting every 10m.
+Deprecated – Mesh edge reporting is no longer supported and this setting
+is no-op.
+
+ |
+
+No
+ |
+
+
+disableHttpSizeMetrics |
+bool |
+
+ Optional. Allows disabling of reporting of the request and response size
+metrics for HTTP traffic. Defaults to false (request and response size
+metrics are enabled).
+Deprecated – use metrics_overrides instead.
+if metrics_overrides is used, this value will be ignored.
+
+ |
+
+No
+ |
+
+
+
+
+MetricsOverride
+
+Provides behavior modifications for Cloud Monitoring metrics.
+
+
+
+
+| Field |
+Type |
+Description |
+Required |
+
+
+
+
+drop |
+bool |
+
+ Optional. If true, no data for the associated metric will be collected or
+exported.
+
+ |
+
+No
+ |
+
+
+tagOverrides |
+map<string, string> |
+
+ Optional. Maps tag names to value expressions that will be used at
+reporting time. If the tag name does not match a well-known tag for the
+istio Cloud Monitoring metrics, the configuration will have no effect.
+
|
No
@@ -280,8 +356,7 @@ PluginConfig.AccessLogging
| ERRORS_ONLY |
All error logs. This is currently only available for outbound/client side
-logs. A request is classified as error when status>=400 or
-response_flag != "-"
+logs. A request is classified as error when status>=400 or response_flag != "-"
|
diff --git a/extensions/stats/config.pb.html b/extensions/stats/config.pb.html
index cd17aa80b05..e44d675664d 100644
--- a/extensions/stats/config.pb.html
+++ b/extensions/stats/config.pb.html
@@ -5,7 +5,7 @@
layout: protoc-gen-docs
generator: protoc-gen-docs
weight: 20
-number_of_entries: 4
+number_of_entries: 5
---
MetricConfig
@@ -52,7 +52,7 @@ MetricConfig
-tags_to_remove |
+tagsToRemove |
string[] |
(Optional) A list of tags to remove.
@@ -68,6 +68,18 @@ MetricConfig
|
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
@@ -136,73 +148,8 @@ PluginConfig
|
-
-debug |
-bool |
-
- next id: 7
-The following settings should be rarely used.
-Enable debug for this filter.
-DEPRECATED.
-
- |
-
-No
- |
-
-
-max_peer_cache_size |
-int32 |
-
- maximum size of the peer metadata cache.
-A long lived proxy that connects with many transient peers can build up a
-large cache. To turn off the cache, set this field to a negative value.
-DEPRECATED.
-
- |
-
-No
- |
-
-
-stat_prefix |
-string |
-
- prefix to add to stats emitted by the plugin.
-DEPRECATED.
-
- |
-
-No
- |
-
-
-field_separator |
-string |
-
- Stats api squashes dimensions in a single string.
-The squashed string is parsed at prometheus scrape time to recover
-dimensions. The following 2 fields set the field and value separators {key:
-value} –> key{valueseparator}value{fieldseparator}
-
- |
-
-No
- |
-
-
-value_separator |
-string |
-
- default: “==”
-
- |
-
-No
- |
-
-tcp_reporting_duration |
+tcpReportingDuration |
Duration |
Optional. Allows configuration of the time between calls out to for TCP
@@ -243,6 +190,17 @@ PluginConfig
|
Metric definitions.
+ |
+
+No
+ |
+
+
+reporter |
+Reporter |
+
+ Proxy deployment type.
+
|
No
@@ -279,3 +237,33 @@ MetricType
|
+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”.
+
+ |
+
+
+
+
From b0f6a210aacee9b0a2b16940572bb77d349e8dae Mon Sep 17 00:00:00 2001
From: hejianpeng
Date: Mon, 28 Nov 2022 11:41:03 +0800
Subject: [PATCH 3/5] fix
---
Makefile.core.mk | 1 +
extensions/attributegen/config.pb.html | 3 +--
extensions/attributegen/config.proto | 6 ++----
3 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/Makefile.core.mk b/Makefile.core.mk
index 21b24f3bf4c..6ddb0f06416 100644
--- a/Makefile.core.mk
+++ b/Makefile.core.mk
@@ -111,6 +111,7 @@ check_wasm: build_wasm build_envoy
clean:
@bazel clean
+.PHONY: gen-extensions-doc
gen-extensions-doc:
buf generate --path extensions/
diff --git a/extensions/attributegen/config.pb.html b/extensions/attributegen/config.pb.html
index 912fce6a148..7b5f4a0b1fc 100644
--- a/extensions/attributegen/config.pb.html
+++ b/extensions/attributegen/config.pb.html
@@ -8,8 +8,7 @@
weight: 20
number_of_entries: 3
---
-AttributeGen plugin uses [builtin attributes]
-(https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/attributes)
+ AttributeGen plugin uses builtin attributes
as inputs and produces new attributes that can be used by downstream plugins.
The following is an example of a configuration that produces one attribute
named istio_operationId using request.url_path and request.method.
diff --git a/extensions/attributegen/config.proto b/extensions/attributegen/config.proto
index 1a9f9985a6e..491c8d5a2dd 100644
--- a/extensions/attributegen/config.proto
+++ b/extensions/attributegen/config.proto
@@ -23,8 +23,7 @@ syntax = "proto3";
// $weight: 20
// clang-format on
-// AttributeGen plugin uses [builtin attributes]
-// (https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/attributes)
+// AttributeGen plugin uses [builtin attributes](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/attributes)
// as inputs and produces new attributes that can be used by downstream plugins.
//
// The following is an example of a configuration that produces one attribute
@@ -170,8 +169,7 @@ message AttributeGeneration {
message Match {
// The condition is a [CEL
// expression](https://github.com/google/cel-spec/blob/master/doc/langdef.md)
- // that may use [builtin attributes]
- // (https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/attributes#attributes).
+ // that may use [builtin attributes](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/attributes#attributes).
//
// Example:
//
From c38c4ecc8d30cd164301a0e66d98e0937ab76cdc Mon Sep 17 00:00:00 2001
From: hejianpeng
Date: Mon, 28 Nov 2022 11:42:26 +0800
Subject: [PATCH 4/5] fix format
---
extensions/attributegen/config.pb.html | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/extensions/attributegen/config.pb.html b/extensions/attributegen/config.pb.html
index 7b5f4a0b1fc..b545c1d51e5 100644
--- a/extensions/attributegen/config.pb.html
+++ b/extensions/attributegen/config.pb.html
@@ -211,8 +211,7 @@ Match
The condition is a CEL
expression
-that may use [builtin attributes]
-(https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/attributes#attributes).
+that may use builtin attributes.
Example:
{{}}
{{}}
From b0d14b04f2f06cd69178f17504923711bff84b56 Mon Sep 17 00:00:00 2001
From: hejianpeng
Date: Mon, 28 Nov 2022 11:55:47 +0800
Subject: [PATCH 5/5] fix lint
---
extensions/attributegen/config.pb.html | 6 ++++--
extensions/attributegen/config.proto | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/extensions/attributegen/config.pb.html b/extensions/attributegen/config.pb.html
index b545c1d51e5..7f9ab99e8d2 100644
--- a/extensions/attributegen/config.pb.html
+++ b/extensions/attributegen/config.pb.html
@@ -8,7 +8,8 @@
weight: 20
number_of_entries: 3
---
-AttributeGen plugin uses builtin attributes
+ AttributeGen plugin uses builtin
+attributes
as inputs and produces new attributes that can be used by downstream plugins.
The following is an example of a configuration that produces one attribute
named istio_operationId using request.url_path and request.method.
@@ -211,7 +212,8 @@ Match
The condition is a CEL
expression
-that may use builtin attributes.
+that may use builtin
+attributes.
Example:
{{}}
{{}}
diff --git a/extensions/attributegen/config.proto b/extensions/attributegen/config.proto
index 491c8d5a2dd..e0c9b04a900 100644
--- a/extensions/attributegen/config.proto
+++ b/extensions/attributegen/config.proto
@@ -23,7 +23,8 @@ syntax = "proto3";
// $weight: 20
// clang-format on
-// AttributeGen plugin uses [builtin attributes](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/attributes)
+// AttributeGen plugin uses [builtin
+// attributes](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/attributes)
// as inputs and produces new attributes that can be used by downstream plugins.
//
// The following is an example of a configuration that produces one attribute
@@ -169,7 +170,8 @@ message AttributeGeneration {
message Match {
// The condition is a [CEL
// expression](https://github.com/google/cel-spec/blob/master/doc/langdef.md)
- // that may use [builtin attributes](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/attributes#attributes).
+ // that may use [builtin
+ // attributes](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/attributes#attributes).
//
// Example:
//
| | |