pub struct DogStatsdSink {
pub prefix: String,
pub max_bytes_per_datagram: Option<UInt64Value>,
pub dog_statsd_specifier: Option<DogStatsdSpecifier>,
}Expand description
Stats configuration proto schema for built-in envoy.stat_sinks.dog_statsd sink.
The sink emits stats with DogStatsD <<https://docs.datadoghq.com/guides/dogstatsd/>_>
compatible tags. Tags are configurable via :ref:StatsConfig <envoy_v3_api_msg_config.metrics.v3.StatsConfig>.
[#extension: envoy.stat_sinks.dog_statsd]
Fields§
§prefix: StringOptional custom metric name prefix. See :ref:StatsdSink's prefix field <envoy_v3_api_field_config.metrics.v3.StatsdSink.prefix> for more details.
max_bytes_per_datagram: Option<UInt64Value>Optional max datagram size to use when sending UDP messages. By default Envoy will emit one metric per datagram. By specifying a max-size larger than a single metric, Envoy will emit multiple, new-line separated metrics. The max datagram size should not exceed your network’s MTU.
Note that this value may not be respected if smaller than a single metric.
dog_statsd_specifier: Option<DogStatsdSpecifier>Trait Implementations§
Source§impl Clone for DogStatsdSink
impl Clone for DogStatsdSink
Source§fn clone(&self) -> DogStatsdSink
fn clone(&self) -> DogStatsdSink
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DogStatsdSink
impl Debug for DogStatsdSink
Source§impl Default for DogStatsdSink
impl Default for DogStatsdSink
Source§impl Message for DogStatsdSink
impl Message for DogStatsdSink
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl Name for DogStatsdSink
impl Name for DogStatsdSink
Source§const NAME: &'static str = "DogStatsdSink"
const NAME: &'static str = "DogStatsdSink"
Message.
This name is the same as it appears in the source .proto file, e.g. FooBar.Source§const PACKAGE: &'static str = "envoy.config.metrics.v3"
const PACKAGE: &'static str = "envoy.config.metrics.v3"
., e.g. google.protobuf.Source§fn full_name() -> String
fn full_name() -> String
Message.
It’s prefixed with the package name and names of any parent messages,
e.g. google.rpc.BadRequest.FieldViolation.
By default, this is the package name followed by the message name.
Fully-qualified names must be unique within a domain of Type URLs.Source§impl PartialEq for DogStatsdSink
impl PartialEq for DogStatsdSink
impl StructuralPartialEq for DogStatsdSink
Auto Trait Implementations§
impl Freeze for DogStatsdSink
impl RefUnwindSafe for DogStatsdSink
impl Send for DogStatsdSink
impl Sync for DogStatsdSink
impl Unpin for DogStatsdSink
impl UnwindSafe for DogStatsdSink
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request