Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions proxy_agent_extension/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,15 @@ pub const MAX_TIME_BEFORE_STALE_STATUS_SECS: u64 = 5 * 60;

pub const EBPF_CORE: &str = "EbpfCore";
pub const EBPF_EXT: &str = "NetEbpfExt";
pub const EBPF_SVC: &str = "eBPFSvc";
pub const EBPF_SUBSTATUS_NAME: &str = "EbpfStatus";

pub const PROXY_AGENT_SERVICE_SUBSTATUS_NAME: &str = "ProxyAgentServiceStatus";

// Cadence for polling the eBPF (Windows) and GuestProxyAgent (cross-platform) service
// runtime status, decoupled from the main monitor_thread loop_interval.
pub const SERVICE_STATUS_POLL_INTERVAL_SECS: u64 = 2 * 60;

pub const MAX_CONNECTION_SUMMARY_LEN: usize = 100;
pub const MAX_FAILED_AUTH_SUMMARY_LEN: usize = 50;
// Max KB of substatus string for connection summary and failed authentication summary
Expand Down
Loading
Loading