pub struct Proxy {
pub logs_enabled: bool,
pub metrics_enabled: bool,
pub traces_enabled: bool,
pub grpc_endpoint: String,
pub http_endpoint: String,
}Expand description
OTLP proxy gating: which signals ADP proxies to the Agent, and the Agent endpoints it proxies them to.
Fields§
§logs_enabled: boolWhether ADP proxies logs.
metrics_enabled: boolWhether ADP proxies metrics.
traces_enabled: boolWhether ADP proxies traces.
grpc_endpoint: StringAddress of the Agent’s relocated OTLP/gRPC listener, which ADP proxies OTLP/gRPC requests to.
http_endpoint: StringAddress of the Agent’s relocated OTLP/HTTP listener, which ADP proxies OTLP/HTTP requests to.
Implementations§
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 UnsafeUnpin 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