Skip to main content

METRICS_SHM_PREFIX

Constant METRICS_SHM_PREFIX 

Source
pub const METRICS_SHM_PREFIX: &str = "/msb-met";
Expand description

Prefix used when constructing the POSIX shared-memory object name for the live metrics registry. Combined with a stable hash of GlobalConfig::home() so concurrent MSB_HOME-isolated environments do not collide.

Kept short because macOS limits shm_open names to ~31 bytes including the leading slash; the final form is <prefix>-<hex16>-v1 (28 bytes).