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

Add model/v1 #118

Merged
merged 3 commits into from
Jan 20, 2025
Merged

Add model/v1 #118

merged 3 commits into from
Jan 20, 2025

Conversation

yurishkuro
Copy link
Member

@yurishkuro yurishkuro commented Jan 20, 2025

Which problem is this PR solving?

Description of the changes

  • Add code gen for model.proto into model/v1 package
  • 🛑 breaking change: query.proto changed references to custom types to local TraceID/SpanID instead of importing the main jaeger repo
  • Copy minimal set of types from original model/ that are required by api_v2, such as TraceID, SpanID, and Flags required by model
  • Add go.mod to make it into importable library
  • Add basic go test to CI

How was this change tested?

  • go test ./model/v1

Checklist

Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
@yurishkuro yurishkuro merged commit 2a6ba69 into jaegertracing:main Jan 20, 2025
4 checks passed
@yurishkuro yurishkuro deleted the make-into-lib branch January 20, 2025 02:35
yurishkuro added a commit to jaegertracing/jaeger that referenced this pull request Jan 20, 2025
## Which problem is this PR solving?
- Part of #6494

## Description of the changes
- Bump jaeger-idl submodule
- Adjust code gen to account for different custom types due to
jaegertracing/jaeger-idl#118

## How was this change tested?
- CI

Signed-off-by: Yuri Shkuro <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant