From 2f0d081fab0b0823f088c6e368f40e1992f46fcd Mon Sep 17 00:00:00 2001 From: "data-plane-api(Azure Pipelines)" Date: Fri, 3 Sep 2021 04:12:40 +0000 Subject: [PATCH] add metrics service config example (#17464) Commit Message: add metrics service config example Additional Description: Risk Level: Testing: Docs Changes: add metrics service config example Signed-off-by: JaredTan95 Mirrored from https://github.com/envoyproxy/envoy @ ea9a80627a9aa6fa7887b4501015d29933ff9b78 --- envoy/config/metrics/v3/metrics_service.proto | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/envoy/config/metrics/v3/metrics_service.proto b/envoy/config/metrics/v3/metrics_service.proto index 1cdd6d18..df3c71e6 100644 --- a/envoy/config/metrics/v3/metrics_service.proto +++ b/envoy/config/metrics/v3/metrics_service.proto @@ -21,6 +21,17 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE; // Metrics Service is configured as a built-in *envoy.stat_sinks.metrics_service* :ref:`StatsSink // `. This opaque configuration will be used to create // Metrics Service. +// +// Example: +// +// .. code-block:: yaml +// +// stats_sinks: +// - name: envoy.stat_sinks.metrics_service +// typed_config: +// "@type": type.googleapis.com/envoy.config.metrics.v3.MetricsServiceConfig +// transport_api_version: V3 +// // [#extension: envoy.stat_sinks.metrics_service] message MetricsServiceConfig { option (udpa.annotations.versioning).previous_message_type =