File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,7 +144,15 @@ message StatsdSink {
144144// The sink emits stats with `DogStatsD <https://docs.datadoghq.com/guides/dogstatsd/>`_
145145// compatible tags. Tags are configurable via :ref:`StatsConfig <envoy_api_msg_StatsConfig>`.
146146message DogStatsdSink {
147- // The UDP address of a running DogStatsD compliant listener. If specified,
148- // statistics will be flushed to this address.
149- Address address = 1 [(validate.rules ) .message.required = true ];
147+ oneof dog_statsd_specifier {
148+ option (validate.required ) = true ;
149+
150+ // The UDP address of a running DogStatsD compliant listener. If specified,
151+ // statistics will be flushed to this address.
152+ Address address = 1 ;
153+
154+ // The name of a cluster that is DogStatsD compliant TCP listener. If specified,
155+ // Envoy will connect to this cluster to flush statistics.
156+ string tcp_cluster_name = 2 ;
157+ }
150158}
You can’t perform that action at this time.
0 commit comments