File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,15 @@ function Receive-CippActivityTrigger {
278278 try {
279279 $Output = $null
280280 Set-Location (Get-Item $PSScriptRoot ).Parent.Parent.FullName
281+ $metric = @ {
282+ Kind = ' CIPPCommandStart'
283+ Command = $Item.Command
284+ Tenant = $Item.TenantFilter.defaultDomainName
285+ TaskName = $Item.TaskName
286+ JSONData = ($Item | ConvertTo-Json - Depth 10 - Compress)
287+ }
281288
289+ Write-Information - MessageData $metric - Tag ' CIPPCommandStart'
282290 if ($Item.QueueId ) {
283291 if ($Item.QueueName ) {
284292 $QueueName = $Item.QueueName
Original file line number Diff line number Diff line change 88 "version" : " [4.26.0, 5.0.0)"
99 },
1010 "functionTimeout" : " 00:10:00" ,
11+
12+ "logging" : {
13+ "console" : {
14+ "isEnabled" : true ,
15+ "enableStructuredLogging" : true
16+ }
17+ },
1118 "extensions" : {
1219 "durableTask" : {
1320 "maxConcurrentActivityFunctions" : 1 ,
You can’t perform that action at this time.
0 commit comments