-
Notifications
You must be signed in to change notification settings - Fork 440
fix: propagate trace context end-to-end for agent Services #1297
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 all commits
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 |
|---|---|---|
|
|
@@ -544,9 +544,10 @@ func (a *adkApiTranslator) buildManifest( | |
| Spec: corev1.ServiceSpec{ | ||
| Selector: selectorLabels, | ||
| Ports: []corev1.ServicePort{{ | ||
| Name: "http", | ||
| Port: dep.Port, | ||
| TargetPort: intstr.FromInt(int(dep.Port)), | ||
| Name: "http", | ||
| Port: dep.Port, | ||
| TargetPort: intstr.FromInt(int(dep.Port)), | ||
| AppProtocol: ptr.To("kgateway.dev/a2a"), | ||
|
Contributor
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. Whilst I'm completely for integrating with other projects, should this really be a hard-coded value that is applied to all Agents (regardless of whether users actually make use of KGateway/AgentGateway)? What happens when this value changes; there seems to be a bit of a split going on between kgateway and agentgateway - so what would happen if this changes from Maybe a better approach here would be to allow users to configure this via the
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.
Completely agree, and was just thinking to make this change myself. Will update the PR |
||
| }}, | ||
| Type: corev1.ServiceTypeClusterIP, | ||
| }, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.