Struct Observability Plugin
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Built-in observability component.
Implementations
impl ObservabilityPlugin
impl ObservabilityPlugin
new
pub fn new(host: Arc<dyn ObservabilityHost>) -> Self
Create a component using the embedding runtime’s scope and codec services.
plugin_kind
pub fn plugin_kind(&self) -> &str
Component behavior independent of its activation context.
allows_multiple_components
pub fn allows_multiple_components(&self) -> bool
Component behavior independent of its activation context.
validate
pub fn validate(
&self,
plugin_config: &Map<String, Json>,
) -> Vec<ConfigDiagnostic>
Component behavior independent of its activation context.
validate_with_policy
pub fn validate_with_policy(
&self,
plugin_config: &Map<String, Json>,
policy: &ConfigPolicy,
) -> Vec<ConfigDiagnostic>
Component behavior independent of its activation context.
Trait Implementations
impl Plugin for ObservabilityPlugin
impl Plugin for ObservabilityPlugin
plugin_kind
fn plugin_kind(&self) -> &str
allows_multiple_components
fn allows_multiple_components(&self) -> bool
validate
fn validate(&self, plugin_config: &Map<String, Json>) -> Vec<ConfigDiagnostic>
validate_with_policy
fn validate_with_policy(
&self,
plugin_config: &Map<String, Json>,
policy: &ConfigPolicy,
) -> Vec<ConfigDiagnostic>
register
fn register<'a>(
&'a self,
plugin_config: &Map<String, Json>,
ctx: &'a mut dyn PluginRegistrationContext,
) -> Pin<Box<dyn Future<Output = PluginResult<()>> + Send + 'a>>