RTDEV-91167 - Add traces field to build info#860
Open
neshkoli wants to merge 1 commit into
Open
Conversation
Add Trace.java model (OTel-style span) and List<Trace> traces field to Build, BuildInfoBuilder (api + extractor), and BuildInfo. Traces are serialized with snake_case JSON keys (trace_id, span_id, etc.) and round-trip through the Artifactory build info API unchanged. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Trace.java— OTel-style span model withtrace_id,span_id,parent_span_id,name,start_time,end_time,attributes,span_kind(all snake_case JSON via@JsonProperty)List<Trace> tracesfield toBuildwith getter/settertracesthroughBuildInfoBuilder(api) builder methodtracesthroughBuildInfoandBuildInfoBuilder(extractor) withToBuild()/ToBuildInfo()round-tripTraceTest— 4 unit tests covering getters/setters, JSON round-trip (snake_case keys), and fullBuildserialization with tracesMotivation
Allows CI tools (e.g. Boost CI) to attach OpenTelemetry-style span arrays to build info, enabling trace data to be stored and retrieved alongside build artifacts via
PUT/GET /artifactory/api/build.Test plan
TraceTest— 4/4Jira: RTDEV-91167