envoy-types 0.7.3

Collection of protobuf types and other assets to work with the Envoy Proxy through Rust gRPC services.
Documentation
// This file is @generated by prost-build.
/// Configuration for the Fluentd tracer.
/// This tracer extension will send the emitted traces over a TCP connection to an upstream that is accepting
/// the Fluentd Forward Protocol as described in: `Fluentd Forward Protocol Specification  <<https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1>`\_.>
/// \[\#extension: envoy.tracers.fluentd\]
/// \[\#next-free-field: 7\]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FluentdConfig {
    /// The upstream cluster to connect to for streaming the Fluentd messages.
    #[prost(string, tag = "1")]
    pub cluster: ::prost::alloc::string::String,
    /// A tag is a string separated with `.` (e.g. `log.type`) to categorize events.
    /// See: <https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#message-modes>
    #[prost(string, tag = "2")]
    pub tag: ::prost::alloc::string::String,
    /// The prefix to use when emitting tracer stats.
    #[prost(string, tag = "3")]
    pub stat_prefix: ::prost::alloc::string::String,
    /// Interval for flushing traces to the TCP stream. Tracer will flush requests every time
    /// this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to
    /// 1 second.
    #[prost(message, optional, tag = "4")]
    pub buffer_flush_interval: ::core::option::Option<
        super::super::super::super::super::google::protobuf::Duration,
    >,
    /// Soft size limit in bytes for access log entries buffer. The logger will buffer requests until
    /// this limit it hit, or every time flush interval is elapsed, whichever comes first. When the buffer
    /// limit is hit, the logger will immediately flush the buffer contents. Setting it to zero effectively
    /// disables the batching. Defaults to 16384.
    #[prost(message, optional, tag = "5")]
    pub buffer_size_bytes: ::core::option::Option<
        super::super::super::super::super::google::protobuf::UInt32Value,
    >,
    /// Optional retry, in case upstream connection has failed. If this field is not set, the default values will be applied.
    #[prost(message, optional, tag = "6")]
    pub retry_policy: ::core::option::Option<
        super::super::super::super::config::core::v3::RetryPolicy,
    >,
}
impl ::prost::Name for FluentdConfig {
    const NAME: &'static str = "FluentdConfig";
    const PACKAGE: &'static str = "envoy.extensions.tracers.fluentd.v3";
    fn full_name() -> ::prost::alloc::string::String {
        "envoy.extensions.tracers.fluentd.v3.FluentdConfig".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "type.googleapis.com/envoy.extensions.tracers.fluentd.v3.FluentdConfig".into()
    }
}