public interface StatsdSinkOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Address |
getAddress()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
compliant listener.
|
AddressOrBuilder |
getAddressOrBuilder()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
compliant listener.
|
String |
getPrefix()
Optional custom prefix for StatsdSink.
|
com.google.protobuf.ByteString |
getPrefixBytes()
Optional custom prefix for StatsdSink.
|
StatsdSink.StatsdSpecifierCase |
getStatsdSpecifierCase() |
String |
getTcpClusterName()
The name of a cluster that is running a TCP `statsd
<https://github.com/etsy/statsd>`_ compliant listener.
|
com.google.protobuf.ByteString |
getTcpClusterNameBytes()
The name of a cluster that is running a TCP `statsd
<https://github.com/etsy/statsd>`_ compliant listener.
|
boolean |
hasAddress()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
compliant listener.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasAddress()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, statistics will be flushed to this address.
.envoy.api.v2.core.Address address = 1;Address getAddress()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, statistics will be flushed to this address.
.envoy.api.v2.core.Address address = 1;AddressOrBuilder getAddressOrBuilder()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, statistics will be flushed to this address.
.envoy.api.v2.core.Address address = 1;String getTcpClusterName()
The name of a cluster that is running a TCP `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, Envoy will connect to this cluster to flush statistics.
string tcp_cluster_name = 2;com.google.protobuf.ByteString getTcpClusterNameBytes()
The name of a cluster that is running a TCP `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, Envoy will connect to this cluster to flush statistics.
string tcp_cluster_name = 2;String getPrefix()
Optional custom prefix for StatsdSink. If
specified, this will override the default prefix.
For example:
.. code-block:: json
{
"prefix" : "envoy-prod"
}
will change emitted stats to
.. code-block:: cpp
envoy-prod.test_counter:1|c
envoy-prod.test_timer:5|ms
Note that the default prefix, "envoy", will be used if a prefix is not
specified.
Stats with default prefix:
.. code-block:: cpp
envoy.test_counter:1|c
envoy.test_timer:5|ms
string prefix = 3;com.google.protobuf.ByteString getPrefixBytes()
Optional custom prefix for StatsdSink. If
specified, this will override the default prefix.
For example:
.. code-block:: json
{
"prefix" : "envoy-prod"
}
will change emitted stats to
.. code-block:: cpp
envoy-prod.test_counter:1|c
envoy-prod.test_timer:5|ms
Note that the default prefix, "envoy", will be used if a prefix is not
specified.
Stats with default prefix:
.. code-block:: cpp
envoy.test_counter:1|c
envoy.test_timer:5|ms
string prefix = 3;StatsdSink.StatsdSpecifierCase getStatsdSpecifierCase()
Copyright © 2018–2021 The Envoy Project. All rights reserved.