feat(telemetry): add bounded native pipeline lifecycle

This commit is contained in:
DCCONSTRUCTIONS
2026-07-29 12:32:52 +03:00
parent d8ccc9345a
commit 636db089ae
13 changed files with 830 additions and 13 deletions
@@ -7,7 +7,13 @@ param(
[string]$PersistentOutputRoot = "D:\NDC_MISSIONCORE\runtime\derived\.perception-persistent-publish",
[ValidateRange(1024, 65535)] [int]$PersistentPort = 18020,
[ValidateRange(5, 3600)] [int]$MaximumDurationSeconds = 20,
[ValidateRange(1, 1000)] [int]$FreeGiBFloor = 360
[ValidateRange(1, 1000)] [int]$FreeGiBFloor = 360,
[ValidatePattern("^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$")]
[string]$ContourId = "worker-006",
[ValidatePattern("^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$")]
[string]$AgentId = "worker-006",
[ValidatePattern("^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$")]
[string]$NodeId = "DESKTOP-OPJ8J04"
)
$ErrorActionPreference = "Stop"
@@ -55,6 +61,11 @@ $request = @{
output_name = $outputName
token = $token
max_duration_seconds = $MaximumDurationSeconds
telemetry = @{
contour_id = $ContourId
agent_id = $AgentId
node_id = $NodeId
}
} | ConvertTo-Json -Compress
$token = $null
$client = (