pub struct Proxy {
pub enabled: bool,
pub logs_enabled: bool,
pub metrics_enabled: bool,
pub traces_enabled: bool,
pub grpc_endpoint: String,
}Expand description
OTLP proxy gating: which signals the proxy forwards, and the proxy receiver endpoint.
Fields§
§enabled: boolWhether the OTLP proxy is enabled.
logs_enabled: boolWhether the proxy forwards logs.
metrics_enabled: boolWhether the proxy forwards metrics.
traces_enabled: boolWhether the proxy forwards traces.
grpc_endpoint: StringAddress the proxy’s gRPC receiver listens on.
Trait Implementations§
impl StructuralPartialEq for Proxy
Auto Trait Implementations§
impl Freeze for Proxy
impl RefUnwindSafe for Proxy
impl Send for Proxy
impl Sync for Proxy
impl Unpin for Proxy
impl UnwindSafe for Proxy
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