@@ -20,7 +20,6 @@ package org.apache.openwhisk.common
20
20
import java .io .PrintStream
21
21
import java .time .{Clock , Instant , ZoneId }
22
22
import java .time .format .DateTimeFormatter
23
-
24
23
import akka .event .Logging ._
25
24
import akka .event .LoggingAdapter
26
25
import kamon .Kamon
@@ -372,20 +371,22 @@ object LoggingMarkers {
372
371
def SCHEDULER_NAMESPACE_INPROGRESS_CONTAINER (namespace : String ) =
373
372
LogMarkerToken (scheduler, " namespaceInProgressContainer" , counter, Some (namespace), Map (" namespace" -> namespace))(
374
373
MeasurementUnit .none)
375
- def SCHEDULER_ACTION_CONTAINER (namespace : String , action : String ) =
374
+ def SCHEDULER_ACTION_CONTAINER (namespace : String , actionWithVersion : String , actionWithoutVersion : String ) =
376
375
LogMarkerToken (
377
376
scheduler,
378
377
" actionContainer" ,
379
378
counter,
380
- Some (action),
381
- Map (" namespace" -> namespace, " action" -> action))(MeasurementUnit .none)
382
- def SCHEDULER_ACTION_INPROGRESS_CONTAINER (namespace : String , action : String ) =
379
+ Some (actionWithoutVersion),
380
+ Map (" namespace" -> namespace, " action" -> actionWithVersion))(MeasurementUnit .none)
381
+ def SCHEDULER_ACTION_INPROGRESS_CONTAINER (namespace : String ,
382
+ actionWithVersion : String ,
383
+ actionWithoutVersion : String ) =
383
384
LogMarkerToken (
384
385
scheduler,
385
386
" actionInProgressContainer" ,
386
387
counter,
387
- Some (action ),
388
- Map (" namespace" -> namespace, " action" -> action ))(MeasurementUnit .none)
388
+ Some (actionWithoutVersion ),
389
+ Map (" namespace" -> namespace, " action" -> actionWithVersion ))(MeasurementUnit .none)
389
390
390
391
/*
391
392
* Controller related markers
@@ -593,8 +594,8 @@ object LoggingMarkers {
593
594
val SCHEDULER_KAFKA = LogMarkerToken (scheduler, kafka, start)(MeasurementUnit .time.milliseconds)
594
595
val SCHEDULER_KAFKA_WAIT_TIME =
595
596
LogMarkerToken (scheduler, " kafkaWaitTime" , counter)(MeasurementUnit .time.milliseconds)
596
- def SCHEDULER_WAIT_TIME (action : String ) =
597
- LogMarkerToken (scheduler, " waitTime" , counter, Some (action ), Map (" action" -> action ))(
597
+ def SCHEDULER_WAIT_TIME (actionWithVersion : String , actionWithoutVersion : String ) =
598
+ LogMarkerToken (scheduler, " waitTime" , counter, Some (actionWithoutVersion ), Map (" action" -> actionWithVersion ))(
598
599
MeasurementUnit .time.milliseconds)
599
600
600
601
def SCHEDULER_KEEP_ALIVE (leaseId : Long ) =
@@ -604,8 +605,13 @@ object LoggingMarkers {
604
605
def SCHEDULER_QUEUE_RECOVER = LogMarkerToken (scheduler, " queueRecover" , start)(MeasurementUnit .time.milliseconds)
605
606
def SCHEDULER_QUEUE_UPDATE (reason : String ) =
606
607
LogMarkerToken (scheduler, " queueUpdate" , counter, None , Map (" reason" -> reason))(MeasurementUnit .none)
607
- def SCHEDULER_QUEUE_WAITING_ACTIVATION (action : String ) =
608
- LogMarkerToken (scheduler, " queueActivation" , counter, Some (action), Map (" action" -> action))(MeasurementUnit .none)
608
+ def SCHEDULER_QUEUE_WAITING_ACTIVATION (namespace : String , actionWithVersion : String , actionWithoutVersion : String ) =
609
+ LogMarkerToken (
610
+ scheduler,
611
+ " queueActivation" ,
612
+ counter,
613
+ Some (actionWithoutVersion),
614
+ Map (" namespace" -> namespace, " action" -> actionWithVersion))(MeasurementUnit .none)
609
615
610
616
/*
611
617
* General markers
0 commit comments