Struct Runtime Telemetry Context

View as Markdown

Generated from cargo doc --no-deps -p nemo-fabric-core.

pub struct RuntimeTelemetryContext {
    pub relay_enabled: bool,
    pub config_path: Option<PathBuf>,
    pub env: BTreeMap<String, String>,
    pub metadata: BTreeMap<String, Value>,
}

Runtime telemetry config passed to adapters.

Fields

relay_enabled: bool

Whether Relay is enabled for this invocation.

config_path: Option<PathBuf>

Generated Relay config path for this invocation.

env: BTreeMap<String, String>

Environment variables NeMo Fabric applies while invoking the adapter.

metadata: BTreeMap<String, Value>

Additional telemetry metadata surfaced to consumers and adapters.

Trait Implementations

impl Clone for RuntimeTelemetryContext

impl Clone for RuntimeTelemetryContext

clone

fn clone(&self) -> RuntimeTelemetryContext

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for RuntimeTelemetryContext

impl Debug for RuntimeTelemetryContext

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for RuntimeTelemetryContext

impl<'de> Deserialize<'de> for RuntimeTelemetryContext

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl JsonSchema for RuntimeTelemetryContext

impl JsonSchema for RuntimeTelemetryContext

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 RuntimeTelemetryContext

impl PartialEq for RuntimeTelemetryContext

eq

fn eq(&self, other: &RuntimeTelemetryContext) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for RuntimeTelemetryContext

impl Serialize for RuntimeTelemetryContext

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl StructuralPartialEq for RuntimeTelemetryContext

impl StructuralPartialEq for RuntimeTelemetryContext