Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,11 @@ protected Observable<Void> manageConnectionWithCompression(final DefaultChannelW
groupId = id;
}

final BasicTag slotIdTag = new BasicTag("slotId", slotId);
final BasicTag clientIdTag = new BasicTag(CLIENT_ID_TAG_NAME, Optional.ofNullable(groupId).orElse("none"));

SerializedSubject<List<byte[]>, List<byte[]>> subject
= new SerializedSubject<>(PublishSubject.<List<byte[]>>create());
Observable<List<byte[]>> observable = subject.lift(new DropOperator<>("batch_writes", slotIdTag));
Observable<List<byte[]>> observable = subject.lift(new DropOperator<>("batch_writes", clientIdTag));

if (applySampling) {
observable =
Expand All @@ -266,7 +266,6 @@ protected Observable<Void> manageConnectionWithCompression(final DefaultChannelW
);
}

final BasicTag clientIdTag = new BasicTag(CLIENT_ID_TAG_NAME, Optional.ofNullable(groupId).orElse("none"));
Metrics writableMetrics = new Metrics.Builder()
.id("PushServer", clientIdTag)
.addCounter("channelWritable")
Expand Down