Struct Relay Otlp Config
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub struct RelayOtlpConfig {
pub enabled: bool,
pub transport: RelayOtlpTransport,
pub endpoint: Option<String>,
pub headers: BTreeMap<String, String>,
pub resource_attributes: BTreeMap<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,
pub extensions: BTreeMap<String, Value>,
}
Relay OpenTelemetry/OpenInference export configuration.
Fields
enabled: bool
Whether OTLP export is enabled.
transport: RelayOtlpTransport
OTLP transport.
endpoint: Option<String>
OTLP endpoint.
headers: BTreeMap<String, String>
OTLP headers.
resource_attributes: BTreeMap<String, String>
OTLP resource attributes.
service_name: String
OTLP service name.
service_namespace: Option<String>
OTLP service namespace.
service_version: Option<String>
OTLP service version.
instrumentation_scope: Option<String>
OTLP instrumentation scope.
timeout_millis: u64
Request timeout in milliseconds.
extensions: BTreeMap<String, Value>
Additive OTLP fields.
Trait Implementations
impl Clone for RelayOtlpConfig
impl Clone for RelayOtlpConfig
clone
fn clone(&self) -> RelayOtlpConfig
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for RelayOtlpConfig
impl Debug for RelayOtlpConfig
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for RelayOtlpConfig
impl Default for RelayOtlpConfig
default
fn default() -> Self
impl<'de> Deserialize<'de> for RelayOtlpConfig
impl<'de> Deserialize<'de> for RelayOtlpConfig
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for RelayOtlpConfig
impl JsonSchema for RelayOtlpConfig
schema_name
fn schema_name() -> Cow<'static, str>
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
inline_schema
fn inline_schema() -> bool
impl PartialEq for RelayOtlpConfig
impl PartialEq for RelayOtlpConfig
eq
fn eq(&self, other: &RelayOtlpConfig) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for RelayOtlpConfig
impl Serialize for RelayOtlpConfig
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for RelayOtlpConfig
impl StructuralPartialEq for RelayOtlpConfig