Skip to content

Commit 94997da

Browse files
committed
add indy test benchmark
1 parent 03a1122 commit 94997da

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

benchmark-overhead/src/test/java/io/opentelemetry/agents/Agent.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ public class Agent {
2222
new Agent("latest", "latest mainstream release", OTEL_LATEST);
2323
public static final Agent LATEST_SNAPSHOT =
2424
new Agent("snapshot", "latest available snapshot version from main");
25+
public static final Agent LATEST_SNAPSHOT_INDY =
26+
new Agent(
27+
"snapshot-indy",
28+
"latest available snapshot version from main with indy enabled",
29+
null,
30+
Collections.singletonList("-Dotel.javaagent.experimental.indy=true"));
2531

2632
private final String name;
2733
private final String description;

benchmark-overhead/src/test/java/io/opentelemetry/config/Configs.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ public enum Configs {
1515
TestConfig.builder()
1616
.name("release")
1717
.description("compares no agent, latest stable, and latest snapshot agents")
18-
.withAgents(Agent.NONE, Agent.LATEST_RELEASE, Agent.LATEST_SNAPSHOT)
18+
.withAgents(
19+
Agent.NONE, Agent.LATEST_RELEASE, Agent.LATEST_SNAPSHOT, Agent.LATEST_SNAPSHOT_INDY)
1920
.warmupSeconds(60)
2021
.build());
2122

0 commit comments

Comments
 (0)