@@ -12,6 +12,7 @@ import "api/base.proto";
1212import "api/cds.proto" ;
1313import "api/lds.proto" ;
1414import "api/sds.proto" ;
15+ import "api/stats.proto" ;
1516
1617import "google/protobuf/duration.proto" ;
1718import "google/protobuf/struct.proto" ;
@@ -203,38 +204,12 @@ message ClusterManager {
203204 ApiConfigSource load_stats_config = 4 ;
204205}
205206
206- // Stats configuration proto schema for built-in *envoy.statsd* sink.
207- message StatsdSink {
208- oneof statsd_specifier {
209- option (validate.required ) = true ;
210-
211- // The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
212- // compliant listener. If specified, statistics will be flushed to this
213- // address.
214- Address address = 1 ;
215-
216- // The name of a cluster that is running a TCP `statsd
217- // <https://github.com/etsy/statsd>`_ compliant listener. If specified,
218- // Envoy will connect to this cluster to flush statistics.
219- string tcp_cluster_name = 2 ;
220- }
221- }
222-
223- // Stats configuration proto schema for built-in *envoy.dog_statsd* sink.
224- // The sink emits stats with `DogStatsD <https://docs.datadoghq.com/guides/dogstatsd/>`_
225- // compatible tags. Tags are configurable via :ref:`StatsConfig <envoy_api_msg_StatsConfig>`.
226- message DogStatsdSink {
227- // The UDP address of a running DogStatsD compliant listener. If specified,
228- // statistics will be flushed to this address.
229- Address address = 1 [(validate.rules ) .message.required = true ];
230- }
231-
232207// Configuration for pluggable stats sinks.
233208message StatsSink {
234209 // The name of the stats sink to instantiate. The name must match a supported
235210 // stats sink. *envoy.statsd* is a built-in sink suitable for emitting to
236211 // `statsd <https://github.com/etsy/statsd>`_. Any other built-in stats sink
237- // can be found in
212+ // can be found in :ref:`Stats sinks<envoy_api_file_api/stats.proto>` or
238213 // `well_known_names.h
239214 // <https://github.com/envoyproxy/envoy/blob/master/source/common/config/well_known_names.h>`_
240215 // in the Envoy repository.
0 commit comments