Skip to content
Draft
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
6 changes: 6 additions & 0 deletions e2e/config/pr-comment-scenarios.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,12 @@
{ "variantKey": "flue-v1-0-0-beta-3", "label": "v1.0.0-beta.3" }
]
},
{
"scenarioDirName": "eve-instrumentation",
"label": "Eve Instrumentation",
"metadataScenario": "eve-instrumentation",
"variants": [{ "variantKey": "eve-v0-20-0", "label": "v0.20.0" }]
},
{
"scenarioDirName": "github-copilot-instrumentation",
"label": "GitHub Copilot SDK Instrumentation",
Expand Down
1,274 changes: 1,274 additions & 0 deletions e2e/scenarios/eve-instrumentation/__cassettes__/eve-v0-20-0.cassette.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,293 @@
{
"span_tree": [
{
"name": "eve.turn",
"type": "task",
"children": [
{
"name": "eve.step",
"type": "llm",
"children": [],
"input": [
{
"content": "Run the Braintrust Eve instrumentation e2e scenario",
"role": "user"
}
],
"output": {
"message": {
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"query\":\"Run the Braintrust Eve instrumentation e2e scenario\"}",
"name": "search"
},
"id": "<span:1>",
"type": "function"
}
]
}
},
"metadata": {
"eve.agent.name": "eve-instrumentation-scenario",
"eve.channel.kind": "http",
"eve.finish_reason": "tool-calls",
"eve.model.id": "openai/gpt-5.4-mini",
"eve.session.id": "<eve.session.id:1>",
"eve.step.index": 0,
"eve.turn.id": "<eve.turn.id:2>",
"eve.turn.sequence": 0,
"model": "gpt-5.4-mini",
"provider": "openai",
"scenario": "eve-instrumentation",
"testRunId": "<run:1>"
},
"metrics": {
"completion_tokens": 26,
"prompt_cached_tokens": 0,
"prompt_tokens": 6564,
"tokens": 6590
}
},
{
"name": "search",
"type": "tool",
"children": [],
"input": {
"query": "Run the Braintrust Eve instrumentation e2e scenario"
},
"output": {
"query": "Run the Braintrust Eve instrumentation e2e scenario",
"title": "Eve instrumentation",
"url": "https://eve.dev/docs/guides/instrumentation"
},
"metadata": {
"eve.action.status": "completed",
"eve.agent.name": "eve-instrumentation-scenario",
"eve.channel.kind": "http",
"eve.session.id": "<eve.session.id:1>",
"eve.step.index": 0,
"eve.tool.call_id": "<eve.tool.call_id:3>",
"eve.tool.name": "search",
"eve.turn.id": "<eve.turn.id:2>",
"eve.turn.sequence": 0,
"scenario": "eve-instrumentation",
"testRunId": "<run:1>"
}
},
{
"name": "eve.step",
"type": "llm",
"children": [],
"input": [
{
"content": "Run the Braintrust Eve instrumentation e2e scenario",
"role": "user"
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"query\":\"Run the Braintrust Eve instrumentation e2e scenario\"}",
"name": "search"
},
"id": "<span:1>",
"type": "function"
}
]
},
{
"content": {
"query": "Run the Braintrust Eve instrumentation e2e scenario",
"title": "Eve instrumentation",
"url": "https://eve.dev/docs/guides/instrumentation"
},
"name": "search",
"role": "tool",
"tool_call_id": "call_OJGkAZ5ouXaH7NjuUH2mSbk6"
}
],
"output": {
"message": {
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"url\":\"https://eve.dev/docs/guides/instrumentation\"}",
"name": "read"
},
"id": "<span:1>",
"type": "function"
}
]
}
},
"metadata": {
"eve.agent.name": "eve-instrumentation-scenario",
"eve.channel.kind": "http",
"eve.finish_reason": "tool-calls",
"eve.model.id": "openai/gpt-5.4-mini",
"eve.session.id": "<eve.session.id:1>",
"eve.step.index": 1,
"eve.turn.id": "<eve.turn.id:2>",
"eve.turn.sequence": 0,
"model": "gpt-5.4-mini",
"provider": "openai",
"scenario": "eve-instrumentation",
"testRunId": "<run:1>"
},
"metrics": {
"completion_tokens": 27,
"prompt_cached_tokens": 0,
"prompt_tokens": 6634,
"tokens": 6661
}
},
{
"name": "read",
"type": "tool",
"children": [],
"input": {
"url": "https://eve.dev/docs/guides/instrumentation"
},
"output": {
"excerpt": "Eve hooks expose runtime stream events that Braintrust maps into a flat turn trace.",
"section": "Runtime context",
"title": "Eve instrumentation",
"url": "https://eve.dev/docs/guides/instrumentation"
},
"metadata": {
"eve.action.status": "completed",
"eve.agent.name": "eve-instrumentation-scenario",
"eve.channel.kind": "http",
"eve.session.id": "<eve.session.id:1>",
"eve.step.index": 1,
"eve.tool.call_id": "<eve.tool.call_id:3>",
"eve.tool.name": "read",
"eve.turn.id": "<eve.turn.id:2>",
"eve.turn.sequence": 0,
"scenario": "eve-instrumentation",
"testRunId": "<run:1>"
}
},
{
"name": "eve.step",
"type": "llm",
"children": [],
"input": [
{
"content": "Run the Braintrust Eve instrumentation e2e scenario",
"role": "user"
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"query\":\"Run the Braintrust Eve instrumentation e2e scenario\"}",
"name": "search"
},
"id": "<span:1>",
"type": "function"
}
]
},
{
"content": {
"query": "Run the Braintrust Eve instrumentation e2e scenario",
"title": "Eve instrumentation",
"url": "https://eve.dev/docs/guides/instrumentation"
},
"name": "search",
"role": "tool",
"tool_call_id": "call_OJGkAZ5ouXaH7NjuUH2mSbk6"
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"url\":\"https://eve.dev/docs/guides/instrumentation\"}",
"name": "read"
},
"id": "<span:2>",
"type": "function"
}
]
},
{
"content": {
"excerpt": "Eve hooks expose runtime stream events that Braintrust maps into a flat turn trace.",
"section": "Runtime context",
"title": "Eve instrumentation",
"url": "https://eve.dev/docs/guides/instrumentation"
},
"name": "read",
"role": "tool",
"tool_call_id": "call_kZ7AzZ9mCqataCzrSSLxRkFh"
}
],
"output": {
"finish_reason": "stop",
"message": {
"content": "Final answer from read: Eve instrumentation — https://eve.dev/docs/guides/instrumentation — Eve hooks expose runtime stream events that Braintrust maps into a flat turn trace.",
"role": "assistant"
}
},
"metadata": {
"eve.agent.name": "eve-instrumentation-scenario",
"eve.channel.kind": "http",
"eve.finish_reason": "stop",
"eve.model.id": "openai/gpt-5.4-mini",
"eve.session.id": "<eve.session.id:1>",
"eve.step.index": 2,
"eve.turn.id": "<eve.turn.id:2>",
"eve.turn.sequence": 0,
"model": "gpt-5.4-mini",
"provider": "openai",
"scenario": "eve-instrumentation",
"testRunId": "<run:1>"
},
"metrics": {
"completion_tokens": 40,
"prompt_cached_tokens": 0,
"prompt_tokens": 6716,
"tokens": 6756
}
}
],
"input": [
{
"content": "Run the Braintrust Eve instrumentation e2e scenario",
"role": "user"
}
],
"output": "Final answer from read: Eve instrumentation — https://eve.dev/docs/guides/instrumentation — Eve hooks expose runtime stream events that Braintrust maps into a flat turn trace.",
"metadata": {
"eve.agent.name": "eve-instrumentation-scenario",
"eve.channel.kind": "http",
"eve.model.id": "openai/gpt-5.4-mini",
"eve.session.id": "<eve.session.id:1>",
"eve.turn.id": "<eve.turn.id:2>",
"eve.turn.sequence": 0,
"model": "gpt-5.4-mini",
"provider": "openai",
"scenario": "eve-instrumentation",
"testRunId": "<run:1>"
},
"metrics": {
"completion_tokens": 93,
"prompt_cached_tokens": 0,
"prompt_tokens": 19914,
"tokens": 20007
}
}
]
}
Loading
Loading