pub struct GrpcReceiver {
pub endpoint: String,
pub max_recv_msg_size_mib: u64,
pub transport: GrpcTransport,
pub max_concurrent_streams: u32,
pub keepalive: KeepaliveServerParameters,
pub tls: Tls,
}Expand description
OTLP gRPC receiver.
Fields§
§endpoint: StringAddress the gRPC receiver listens on.
max_recv_msg_size_mib: u64Maximum inbound message size, in MiB.
transport: GrpcTransportTransport the gRPC receiver binds. Defaults to tcp.
max_concurrent_streams: u32HTTP/2 maximum concurrent streams per connection.
Defaults to 0, which means no limit (the server applies no cap). A positive value sets
the SETTINGS_MAX_CONCURRENT_STREAMS HTTP/2 setting.
keepalive: KeepaliveServerParametersServer-side keepalive parameters. Always present; zero durations are resolved to the grpc-go defaults (2 h interval, 20 s timeout) by the translator.
tls: TlsTLS settings for the gRPC receiver.
Trait Implementations§
Source§impl Clone for GrpcReceiver
impl Clone for GrpcReceiver
Source§fn clone(&self) -> GrpcReceiver
fn clone(&self) -> GrpcReceiver
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GrpcReceiver
impl Debug for GrpcReceiver
Source§impl Default for GrpcReceiver
impl Default for GrpcReceiver
Source§fn default() -> GrpcReceiver
fn default() -> GrpcReceiver
Returns the “default value” for a type. Read more
Source§impl PartialEq for GrpcReceiver
impl PartialEq for GrpcReceiver
Source§impl Serialize for GrpcReceiver
impl Serialize for GrpcReceiver
impl StructuralPartialEq for GrpcReceiver
Auto Trait Implementations§
impl Freeze for GrpcReceiver
impl RefUnwindSafe for GrpcReceiver
impl Send for GrpcReceiver
impl Sync for GrpcReceiver
impl Unpin for GrpcReceiver
impl UnwindSafe for GrpcReceiver
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
Mutably borrows from an owned value. Read more