Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct OtlpSectionConfig {
pub enabled: bool,
pub transport: String,
pub endpoint: Option<String>,
pub headers: HashMap<String, String>,
pub resource_attributes: HashMap<String, String>,
pub service_name: String,
pub service_namespace: Option<String>,
pub service_version: Option<String>,
pub instrumentation_scope: Option<String>,
pub timeout_millis: u64,
}
Shared OTLP exporter config for OpenTelemetry and OpenInference.
The opentelemetry and openinference sections share the same shape but construct different subscriber implementations. Both sections are disabled by default and use http_binary transport unless configured otherwise.
enabled: boolWhether the subscriber is active.
transport: StringOTLP transport: http_binary or grpc.
endpoint: Option<String>OTLP endpoint.
headers: HashMap<String, String>Extra exporter headers or metadata.
resource_attributes: HashMap<String, String>Extra resource attributes.
service_name: Stringservice.name resource attribute.
service_namespace: Option<String>Optional service.namespace resource attribute.
service_version: Option<String>Optional service.version resource attribute.
instrumentation_scope: Option<String>Instrumentation scope name.
timeout_millis: u64Export timeout in milliseconds.
impl Clone for OtlpSectionConfigimpl Clone for OtlpSectionConfig
clonefn clone(&self) -> OtlpSectionConfig
clone_fromfn clone_from(&mut self, source: &Self)
impl Debug for OtlpSectionConfigimpl Debug for OtlpSectionConfig
fmtfn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for OtlpSectionConfigimpl Default for OtlpSectionConfig
defaultfn default() -> Self
impl<'de> Deserialize<'de> for OtlpSectionConfigimpl<'de> Deserialize<'de> for OtlpSectionConfig
deserializefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl EditorConfig for OtlpSectionConfigimpl EditorConfig for OtlpSectionConfig
editor_schemafn editor_schema() -> &'static EditorSchema
impl Serialize for OtlpSectionConfigimpl Serialize for OtlpSectionConfig
serializefn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,