Skip to content

Commit

Permalink
allegro-internal/flex-roadmap#819 Migrated metrics to prometheus | ch…
Browse files Browse the repository at this point in the history
…anged metrics names [2]
  • Loading branch information
nastassia-dailidava committed Oct 18, 2024
1 parent f43cedc commit 2132a07
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,11 @@ private fun innerBufferExtractor(index: Int) = { s: Scannable ->
}

private val queueSubscriptionBufferExtractor = { s: Fuseable.QueueSubscription<*> ->
s.size.toDouble()
if (s != null) {
s.size.toDouble()
} else {
-1.0
}
}

sealed class ParallelizableScheduler
Expand Down

0 comments on commit 2132a07

Please sign in to comment.