1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// 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()
}
}