pub fn send_manifest(manifest: AppManifest)Expand description
Send a caller-built manifest to Eyes, fire-and-forget.
Like send_boot_manifest, but for apps that need declarations the
registries can’t express. Build the base manifest with
build_boot_manifest, attach the extra declarations with the
AppManifest builder methods, then send:
ⓘ
let manifest = cja::eyes_manifest::build_boot_manifest::<Jobs, AppState>(
Some(env!("CARGO_PKG_VERSION")),
option_env!("VERGEN_GIT_SHA"),
Some(&cron_registry),
)
.base_url("https://arena.battlesnake.com")
.monitors(vec![HttpMonitor::new("health", "/health")]);
cja::eyes_manifest::send_manifest(manifest);Same guarantees as send_boot_manifest: never blocks or fails app boot,
debug-logged no-op when EYES_ORG_ID/EYES_APP_ID are unset.