28 lines
1.7 KiB
Rust
28 lines
1.7 KiB
Rust
// file: crates/ksp-app-solprices-desk/src/constants.rs
|
|
// version: 2
|
|
|
|
//! Application-owned composition identifiers, tracing targets and domains.
|
|
|
|
/// Composite-local identifier for the standard Logging component.
|
|
pub(crate) const COMPOSITE_COMPONENT_ID_LOGGING: &str = "logging";
|
|
/// Composite-local identifier for the standard Off-chain Transport component.
|
|
pub(crate) const COMPOSITE_COMPONENT_ID_OFFCHAIN_TRANSPORT: &str = "offchain_transport";
|
|
/// Structured domain used while bootstrapping Config and Logging.
|
|
pub(crate) const TRACING_DOMAIN_BOOTSTRAP: &str = "solprices.bootstrap";
|
|
/// Structured domain used by technical frontend events.
|
|
pub(crate) const TRACING_DOMAIN_FRONTEND: &str = "frontend";
|
|
/// Structured domain used by the Config-selected Off-chain Transport runtime.
|
|
pub(crate) const TRACING_DOMAIN_OFFCHAIN_TRANSPORT: &str = "solprices.offchain_transport";
|
|
/// Structured domain used by the SOL Prices Desk shell.
|
|
pub(crate) const TRACING_DOMAIN_SHELL: &str = "solprices.shell";
|
|
/// Structured domain used by Tauri window lifecycle operations.
|
|
pub(crate) const TRACING_DOMAIN_WINDOWS: &str = "desktop.window";
|
|
/// Owning target for backend events emitted by SOL Prices Desk.
|
|
pub(crate) const TRACING_TARGET: &str = "ksp-app-solprices-desk";
|
|
/// Owning target for generic frontend events emitted through the KSP bridge.
|
|
pub(crate) const TRACING_TARGET_FRONTEND: &str = "ksp-app-solprices-desk.frontend";
|
|
/// Owning target for main-window frontend events.
|
|
pub(crate) const TRACING_TARGET_FRONTEND_MAIN: &str = "ksp-app-solprices-desk.frontend.main";
|
|
/// Owning target for splash-window frontend events.
|
|
pub(crate) const TRACING_TARGET_FRONTEND_SPLASH: &str = "ksp-app-solprices-desk.frontend.splash";
|