Skip to content
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

Eitanya/ai tracing #10427

Merged
merged 39 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
a3729f2
create upstream span
EItanya Nov 24, 2024
ae61192
Merge branch 'main' of https://github.com/solo-io/gloo into eitanya/a…
EItanya Nov 24, 2024
c902c4a
add optional service name
EItanya Nov 25, 2024
cd3be2f
respect service_name
EItanya Nov 25, 2024
b81731d
Merge branch 'main' of https://github.com/solo-io/gloo into eitanya/a…
EItanya Nov 25, 2024
99b64c5
implement spawn_upstream_snap
EItanya Nov 25, 2024
1b20ef9
fix unit tests
EItanya Nov 25, 2024
cb6a285
add unit test for spawn_upstream_span
EItanya Nov 25, 2024
fe66c96
add unit test for service_name
EItanya Nov 25, 2024
e37d06f
gateway_parameter_types
EItanya Nov 27, 2024
a9350b5
Merge branch 'main' of https://github.com/solo-io/gloo into eitanya/a…
EItanya Dec 2, 2024
b1e867c
impl metadata tags
EItanya Dec 2, 2024
162a600
codegen and add unit tests
EItanya Dec 3, 2024
26c7c52
modified YAML for translator test with static metadata
EItanya Dec 3, 2024
a0bbfd6
changelog
EItanya Dec 3, 2024
baa2302
remove unused
EItanya Dec 3, 2024
3739005
change to nested
EItanya Dec 3, 2024
e237f18
oops
EItanya Dec 3, 2024
8253909
correct template
EItanya Dec 3, 2024
ee41391
Merge branch 'main' of https://github.com/solo-io/gloo into eitanya/a…
EItanya Dec 3, 2024
3e1ab25
changelog
EItanya Dec 3, 2024
c4b9ee2
Update projects/gloo/api/v1/options/tracing/tracing.proto
EItanya Dec 4, 2024
37a94cd
Update projects/gloo/api/v1/options/tracing/tracing.proto
EItanya Dec 4, 2024
16c8b80
PR comments
EItanya Dec 4, 2024
3c4ac53
PR comments
EItanya Dec 5, 2024
cfe43b7
realtime enum
EItanya Dec 5, 2024
7c29388
Merge branch 'main' into eitanya/ai-tracing
EItanya Dec 5, 2024
0dbbfa9
Adding changelog file to new location
Dec 5, 2024
5ac26c9
Deleting changelog file from old location
Dec 5, 2024
fcf9be6
Merge branch 'main' into eitanya/ai-tracing
EItanya Dec 6, 2024
7b2eaf8
Merge branch 'main' of https://github.com/solo-io/gloo into eitanya/a…
EItanya Dec 6, 2024
3c235e8
Merge branch 'eitanya/ai-tracing' of https://github.com/solo-io/gloo …
EItanya Dec 6, 2024
0967237
weird
EItanya Dec 6, 2024
9cad425
Adding changelog file to new location
Dec 6, 2024
c1b43ec
Deleting changelog file from old location
Dec 6, 2024
da26858
Merge branch 'main' into eitanya/ai-tracing
EItanya Dec 9, 2024
4d8ee99
Merge branch 'main' of https://github.com/solo-io/gloo into eitanya/a…
EItanya Dec 9, 2024
4be16f7
Merge branch 'eitanya/ai-tracing' of https://github.com/solo-io/gloo …
EItanya Dec 9, 2024
ab4938c
remove REALTIME API enum
EItanya Dec 9, 2024
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
8 changes: 8 additions & 0 deletions changelog/v1.19.0-beta1/ai-tracing-api.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
changelog:
- type: NEW_FEATURE
issueLink: https://github.com/solo-io/solo-projects/issues/7295
resolvesIssue: false
description: >-
Add API for AI related tracing operations, as well as general QOL tracing updates
for Gateway API.

Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,13 @@ Resource Types:
<br/>
</td>
<td>false</td>
</tr><tr>
<td><b><a href="#gatewayparametersspeckubeaiextensiontracing">tracing</a></b></td>
<td>object</td>
<td>
<br/>
</td>
<td>false</td>
</tr></tbody>
</table>

Expand Down Expand Up @@ -1086,6 +1093,77 @@ Resource Types:
</table>


### GatewayParameters.spec.kube.aiExtension.tracing
<sup><sup>[↩ Parent](#gatewayparametersspeckubeaiextension)</sup></sup>





<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Required</th>
</tr>
</thead>
<tbody><tr>
<td><b><a href="#gatewayparametersspeckubeaiextensiontracinggrpc">grpc</a></b></td>
<td>object</td>
<td>
<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>insecure</b></td>
<td>boolean</td>
<td>
<br/>
</td>
<td>false</td>
</tr></tbody>
</table>


### GatewayParameters.spec.kube.aiExtension.tracing.grpc
<sup><sup>[↩ Parent](#gatewayparametersspeckubeaiextensiontracing)</sup></sup>





<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Required</th>
</tr>
</thead>
<tbody><tr>
<td><b>host</b></td>
<td>string</td>
<td>
<br/>
</td>
<td>true</td>
</tr><tr>
<td><b>port</b></td>
<td>integer</td>
<td>
<br/>
<br/>
<i>Format</i>: int32<br/>
<i>Minimum</i>: 1<br/>
</td>
<td>true</td>
</tr></tbody>
</table>


### GatewayParameters.spec.kube.deployment
<sup><sup>[↩ Parent](#gatewayparametersspeckube)</sup></sup>

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions docs/data/ProtoMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2069,6 +2069,9 @@ apis:
tracing.options.gloo.solo.io.TracingTagLiteral:
relativepath: reference/api/github.com/solo-io/gloo/projects/gloo/api/v1/options/tracing/tracing.proto.sk/#TracingTagLiteral
package: tracing.options.gloo.solo.io
tracing.options.gloo.solo.io.TracingTagMetadata:
relativepath: reference/api/github.com/solo-io/gloo/projects/gloo/api/v1/options/tracing/tracing.proto.sk/#TracingTagMetadata
package: tracing.options.gloo.solo.io
transformation.options.gloo.solo.io.Extraction:
relativepath: reference/api/github.com/solo-io/gloo/projects/gloo/api/v1/options/transformation/transformation.proto.sk/#Extraction
package: transformation.options.gloo.solo.io
Expand Down
18 changes: 18 additions & 0 deletions install/helm/gloo/crds/gateway.gloo.solo.io_gatewayparameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,24 @@ spec:
type: object
type: array
type: object
tracing:
properties:
grpc:
properties:
host:
minLength: 1
type: string
port:
format: int32
minimum: 1
type: integer
required:
- host
- port
type: object
insecure:
type: boolean
type: object
type: object
deployment:
properties:
Expand Down
75 changes: 75 additions & 0 deletions install/helm/gloo/crds/gateway.solo.io_v1_Gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1065,6 +1065,27 @@ spec:
type: string
type: object
type: array
metadataForTags:
items:
properties:
defaultValue:
type: string
kind:
type: string
x-kubernetes-int-or-string: true
tag:
type: string
value:
properties:
key:
type: string
namespace:
type: string
nestedFieldDelimiter:
type: string
type: object
type: object
type: array
openCensusConfig:
properties:
grpcAddress:
Expand Down Expand Up @@ -1137,12 +1158,16 @@ spec:
namespace:
type: string
type: object
serviceName:
type: string
type: object
requestHeadersForTags:
items:
nullable: true
type: string
type: array
spawnUpstreamSpan:
type: boolean
tracePercentages:
properties:
clientSamplePercentage:
Expand Down Expand Up @@ -1743,6 +1768,27 @@ spec:
type: string
type: object
type: array
metadataForTags:
items:
properties:
defaultValue:
type: string
kind:
type: string
x-kubernetes-int-or-string: true
tag:
type: string
value:
properties:
key:
type: string
namespace:
type: string
nestedFieldDelimiter:
type: string
type: object
type: object
type: array
openCensusConfig:
properties:
grpcAddress:
Expand Down Expand Up @@ -1815,12 +1861,16 @@ spec:
namespace:
type: string
type: object
serviceName:
type: string
type: object
requestHeadersForTags:
items:
nullable: true
type: string
type: array
spawnUpstreamSpan:
type: boolean
tracePercentages:
properties:
clientSamplePercentage:
Expand Down Expand Up @@ -3087,6 +3137,27 @@ spec:
type: string
type: object
type: array
metadataForTags:
items:
properties:
defaultValue:
type: string
kind:
type: string
x-kubernetes-int-or-string: true
tag:
type: string
value:
properties:
key:
type: string
namespace:
type: string
nestedFieldDelimiter:
type: string
type: object
type: object
type: array
openCensusConfig:
properties:
grpcAddress:
Expand Down Expand Up @@ -3159,12 +3230,16 @@ spec:
namespace:
type: string
type: object
serviceName:
type: string
type: object
requestHeadersForTags:
items:
nullable: true
type: string
type: array
spawnUpstreamSpan:
type: boolean
tracePercentages:
properties:
clientSamplePercentage:
Expand Down
Loading
Loading