Skip to content

Commit e9f29cd

Browse files
author
Brendan Doyle
committed
fix action not processing metric
1 parent cb3b64f commit e9f29cd

File tree

1 file changed

+5
-0
lines changed
  • core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/queue

1 file changed

+5
-0
lines changed

core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/queue/MemoryQueue.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,6 +1222,11 @@ object MemoryQueue {
12221222
LoggingMarkers
12231223
.SCHEDULER_QUEUE_NOT_PROCESSING(invocationNamespace, action.asString, action.toStringWithoutVersion),
12241224
1)
1225+
} else {
1226+
MetricEmitter.emitGaugeMetric(
1227+
LoggingMarkers
1228+
.SCHEDULER_QUEUE_NOT_PROCESSING(invocationNamespace, action.asString, action.toStringWithoutVersion),
1229+
0)
12251230
}
12261231

12271232
queueRef ! DropOld

0 commit comments

Comments
 (0)