feat(telemetry): add bounded native pipeline lifecycle
This commit is contained in:
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user