Expand description
Sentinel API streaming (Section 9).
Activation is gated on SENTINEL_API_TOKEN being set in the environment.
When the token is absent, SentinelClient::from_env() returns None and
no HTTP connections are ever made (T-STR-01).
Re-exports§
pub use run::RunContext;pub use run::close_run;pub use run::start_run;pub use upload::BatchUploader;pub use upload::samples_to_csv;
Modules§
- run
- s3
- AWS S3 upload via pure-Rust Signature V4 — no AWS SDK dependency.
- upload
- Background batch upload thread: buffers samples, serializes as CSV, gzip-compresses, and uploads to S3 every 60 seconds (configurable).
Structs§
- Sentinel
Client - A configured HTTP client for the Sentinel API.
Constants§
- API_
CONNECT_ 🔒TIMEOUT_ SECS - Per-phase timeouts for Sentinel API calls (no global timeout to avoid ureq DNS helper threads).
- API_
TIMEOUT_ 🔒SECS - Receive-response timeout for Sentinel API calls.
- DEFAULT_
API_ 🔒BASE - Default Sentinel API base URL. Override with
SENTINEL_API_URL. - UPLOAD_
CONNECT_ 🔒TIMEOUT_ SECS - Per-phase timeouts for the background S3 upload agent (no global timeout).
- UPLOAD_
RECV_ 🔒RESPONSE_ TIMEOUT_ SECS