Struct Relay Open Telemetry Endpoint Config
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub struct RelayOpenTelemetryEndpointConfig {
pub type: RelayOpenTelemetryEndpointType,
pub endpoint: String,
pub mark_projection: RelayOpenTelemetryMarkProjection,
pub mark_exclude_names: Vec<String>,
pub attribute_mappings: Vec<BTreeMap<String, String>>,
pub transport: RelayOtlpTransport,
pub service_name: String,
pub service_namespace: Option<String>,
pub service_version: Option<String>,
pub instrumentation_scope: String,
pub timeout_millis: u64,
pub headers: BTreeMap<String, String>,
pub header_env: BTreeMap<String, String>,
pub resource_attributes: BTreeMap<String, String>,
pub extensions: BTreeMap<String, Value>,
}
One typed Relay OpenTelemetry OTLP destination.
Fields
type: RelayOpenTelemetryEndpointType
Span projection emitted to this destination.
endpoint: String
OTLP endpoint.
mark_projection: RelayOpenTelemetryMarkProjection
Mark projection policy.
mark_exclude_names: Vec<String>
Event names excluded from mark projection.
attribute_mappings: Vec<BTreeMap<String, String>>
Attribute mapping rules.
transport: RelayOtlpTransport
OTLP transport.
service_name: String
OTLP service name.
service_namespace: Option<String>
OTLP service namespace.
service_version: Option<String>
OTLP service version.
instrumentation_scope: String
OTLP instrumentation scope.
timeout_millis: u64
Request timeout in milliseconds.
headers: BTreeMap<String, String>
Static OTLP headers.
header_env: BTreeMap<String, String>
Environment-variable-backed OTLP headers.
resource_attributes: BTreeMap<String, String>
OTLP resource attributes.
extensions: BTreeMap<String, Value>
Additive endpoint fields.
Trait Implementations
impl Clone for RelayOpenTelemetryEndpointConfig
impl Clone for RelayOpenTelemetryEndpointConfig
clone
fn clone(&self) -> RelayOpenTelemetryEndpointConfig
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for RelayOpenTelemetryEndpointConfig
impl Debug for RelayOpenTelemetryEndpointConfig
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for RelayOpenTelemetryEndpointConfig
impl<'de> Deserialize<'de> for RelayOpenTelemetryEndpointConfig
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for RelayOpenTelemetryEndpointConfig
impl JsonSchema for RelayOpenTelemetryEndpointConfig
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 RelayOpenTelemetryEndpointConfig
impl PartialEq for RelayOpenTelemetryEndpointConfig
eq
fn eq(&self, other: &RelayOpenTelemetryEndpointConfig) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for RelayOpenTelemetryEndpointConfig
impl Serialize for RelayOpenTelemetryEndpointConfig
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for RelayOpenTelemetryEndpointConfig
impl StructuralPartialEq for RelayOpenTelemetryEndpointConfig