Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windsock: kafka benches only include shotover sys_metrics on benches using shotover #1381

Merged
merged 1 commit into from
Dec 4, 2023
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
5 changes: 3 additions & 2 deletions shotover-proxy/benches/windsock/kafka.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,16 +232,17 @@ impl Bench for KafkaBench {
[("bencher".to_owned(), &bench_instance.instance)].into();

// only profile instances that we are actually using for this bench
if let Shotover::ForcedMessageParsed | Shotover::Standard = self.shotover {
profiler_instances.insert("shotover".to_owned(), &shotover_instance.instance);
}
match self.topology {
KafkaTopology::Single | KafkaTopology::Cluster1 => {
profiler_instances.insert("kafka".to_owned(), &kafka_instance1.instance);
profiler_instances.insert("shotover".to_owned(), &shotover_instance.instance);
}
KafkaTopology::Cluster3 => {
profiler_instances.insert("kafka1".to_owned(), &kafka_instance1.instance);
profiler_instances.insert("kafka2".to_owned(), &kafka_instance2.instance);
profiler_instances.insert("kafka3".to_owned(), &kafka_instance3.instance);
profiler_instances.insert("shotover".to_owned(), &shotover_instance.instance);
}
}

Expand Down
Loading