pub struct Receiver {
pub logs_enabled: bool,
pub metrics_enabled: bool,
pub grpc: GrpcReceiver,
pub http: HttpReceiver,
}Expand description
OTLP receiver transports and per-signal activation.
Fields§
§logs_enabled: boolWhether the receiver accepts OTLP logs.
metrics_enabled: boolWhether the receiver accepts OTLP metrics.
grpc: GrpcReceivergRPC receiver settings.
http: HttpReceiverHTTP receiver settings.
Trait Implementations§
impl StructuralPartialEq for Receiver
Auto Trait Implementations§
impl Freeze for Receiver
impl RefUnwindSafe for Receiver
impl Send for Receiver
impl Sync for Receiver
impl Unpin for Receiver
impl UnwindSafe for Receiver
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