Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions benchmark-overhead/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ Currently, we test:
- no agent versus latest released agent
- no agent versus latest snapshot
- latest release vs. latest snapshot
- latest snapshot with indy enabled

Additional configurations can be created by submitting a PR against the `Configs` class.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ public class Agent {
new Agent("latest", "latest mainstream release", OTEL_LATEST);
public static final Agent LATEST_SNAPSHOT =
new Agent("snapshot", "latest available snapshot version from main");
public static final Agent LATEST_SNAPSHOT_INDY =
new Agent(
"snapshot-indy",
"latest available snapshot version from main with indy enabled",
null,
Collections.singletonList("-Dotel.javaagent.experimental.indy=true"));

private final String name;
private final String description;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public Optional<Path> resolve(Agent agent) throws Exception {
if (Agent.NONE.equals(agent)) {
return Optional.empty();
}
if (Agent.LATEST_SNAPSHOT.equals(agent)) {
if (Agent.LATEST_SNAPSHOT.equals(agent) || Agent.LATEST_SNAPSHOT_INDY.equals(agent)) {
return snapshotResolver.resolve();
}
if (agent.hasUrl()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ public enum Configs {
TestConfig.builder()
.name("release")
.description("compares no agent, latest stable, and latest snapshot agents")
.withAgents(Agent.NONE, Agent.LATEST_RELEASE, Agent.LATEST_SNAPSHOT)
.withAgents(
Agent.NONE, Agent.LATEST_RELEASE, Agent.LATEST_SNAPSHOT, Agent.LATEST_SNAPSHOT_INDY)
.warmupSeconds(60)
.build());

Expand Down
Loading