Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nastassia-dailidava committed Oct 21, 2024
1 parent c596457 commit c94026b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ class ReactorUtilsTest {
// then
assertThat(received.await(2, TimeUnit.SECONDS)).isTrue()

val discardedItemsBeforeBackpressure = meterRegistry.find(REACTOR_METRIC)
.tags(Tags.of(METRIC_TYPE_TAG, "discarded-items", METRIC_EMITTER_TAG, "latest-before")).counter()?.count()
val discardedItemsAfterBackpressure = meterRegistry.find(REACTOR_METRIC)
.tags(Tags.of(METRIC_TYPE_TAG, "discarded-items", METRIC_EMITTER_TAG, "latest")).counter()?.count()
val discardedItemsBeforeBackpressure = meterRegistry.find(REACTOR_DISCARDED_METRIC)
.tags(Tags.of( METRIC_EMITTER_TAG, "latest-before")).counter()?.count()
val discardedItemsAfterBackpressure = meterRegistry.find(REACTOR_DISCARDED_METRIC)
.tags(Tags.of( METRIC_EMITTER_TAG, "latest")).counter()?.count()

/**
* Published by range: (0..10)
Expand Down

0 comments on commit c94026b

Please sign in to comment.