pub struct GenericOtelConfig {
pub endpoint: String,
pub authorization: Option<String>,
pub bearer_token: Option<String>,
pub compression: Option<String>,
pub grpc: bool,
pub logs: bool,
pub traces: bool,
pub metrics: bool,
}Fields§
§endpoint: StringEndpoint for the exporter to target
Set either the full authorization header or just the bearer token
bearer_token: Option<String>Set either the full authorization header or just the bearer token
compression: Option<String>Add http/grpc compression to exporter. Example: gzip
grpc: booltrue: otlp, false: otlphttp
logs: boolEnable logs pipeline (if included in tier)
traces: boolEnable traces pipeline (if included in tier)
metrics: boolEnable metrics pipeline
Trait Implementations§
Source§impl Clone for GenericOtelConfig
impl Clone for GenericOtelConfig
Source§fn clone(&self) -> GenericOtelConfig
fn clone(&self) -> GenericOtelConfig
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<'de> Deserialize<'de> for GenericOtelConfig
impl<'de> Deserialize<'de> for GenericOtelConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GenericOtelConfig
impl PartialEq for GenericOtelConfig
Source§impl Serialize for GenericOtelConfig
impl Serialize for GenericOtelConfig
impl Eq for GenericOtelConfig
impl StructuralPartialEq for GenericOtelConfig
Auto Trait Implementations§
impl Freeze for GenericOtelConfig
impl RefUnwindSafe for GenericOtelConfig
impl Send for GenericOtelConfig
impl Sync for GenericOtelConfig
impl Unpin for GenericOtelConfig
impl UnwindSafe for GenericOtelConfig
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