-
Notifications
You must be signed in to change notification settings - Fork 306
Added invoke workflow operation name to agent span #3249
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
base: main
Are you sure you want to change the base?
Changes from 4 commits
0fab1d9
2d18644
8ab0313
98ad936
e92eb27
0b45e67
88c356c
333ac6f
af63c87
a033559
6fccb88
8196239
e185d1b
5aa45c4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Use this changelog template to create an entry for release notes. | ||
| # | ||
| # If your change doesn't affect end users you should instead start | ||
| # your pull request title with [chore] or use the "Skip Changelog" label. | ||
|
|
||
| # One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
| change_type: 'new_component' | ||
|
|
||
| # The name of the area of concern in the attributes-registry, (e.g. http, cloud, db) | ||
| component: gen-ai | ||
|
|
||
| # A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
| note: Add invoke workflow operation name support to the gen-ai agent span semantic conventions. | ||
wrisa marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| # Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. | ||
| # The values here must be integers. | ||
| PR: [3249] | ||
|
|
||
| # (Optional) One or more lines of additional information to render under the primary note. | ||
| # These lines will be padded with 2 spaces and then inserted directly into the document. | ||
| # Use pipe (|) for multiline entries. | ||
| subtext: | ||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -349,3 +349,26 @@ groups: | |
| requirement_level: required | ||
| - ref: aws.bedrock.knowledge_base.id | ||
| requirement_level: recommended | ||
|
|
||
| - id: span.gen_ai.invoke_workflow.client | ||
wrisa marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| type: span | ||
| span_kind: client | ||
wrisa marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| stability: development | ||
| brief: > | ||
| Represents a workflow orchestrating multiple agents with predefined code paths. | ||
wrisa marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| note: | | ||
| The `gen_ai.operation.name` SHOULD be `invoke_agent`. | ||
wrisa marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| **Span name** SHOULD be `invoke_workflow {gen_ai.workflow.name}`. | ||
wrisa marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| attributes: | ||
| - ref: gen_ai.workflow.name | ||
| requirement_level: | ||
| conditionally_required: when available | ||
| - ref: gen_ai.framework | ||
wrisa marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| requirement_level: | ||
| conditionally_required: when available | ||
| - ref: gen_ai.input.messages | ||
| requirement_level: opt_in | ||
| - ref: gen_ai.output.messages | ||
| requirement_level: opt_in | ||
| - ref: gen_ai.system_instructions | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this common for workflows to have system instructions along with input messages?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Workflow will not have its own but it could be combined from agents->llm's system messages.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have the same concern. Does a workflow ever actually invoke a model or is it **staticly defined ** control flow? |
||
| requirement_level: opt_in | ||
Uh oh!
There was an error while loading. Please reload this page.