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

[PROF-10235] Add new metadata fields to elf symbol upload #49

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

nsavoire
Copy link
Collaborator

@nsavoire nsavoire commented Aug 9, 2024

Add symbol_source, origin, origin_version and filename to elf symbol uploads.
Remove platform since it's not used on backend side.

@nsavoire nsavoire requested a review from a team as a code owner August 9, 2024 09:05
Copy link
Member

@Gandem Gandem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks 🙇 !

GNUBuildID string `json:"gnu_build_id"`
GoBuildID string `json:"go_build_id"`
FileHash string `json:"file_hash"`
Platform string `json:"platform"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the removal of the Platform field expected?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, platform is not used on backend side (I also removed it from datdog-ci).

@Gandem
Copy link
Member

Gandem commented Aug 9, 2024

Side note the linter is complaining for line length 😢

Add symbol_source,origin,origin_version and filename.
Remove platform since it's not used on backend side.
@nsavoire nsavoire force-pushed the nsavoire/add_symbols_metadata branch from 8e0eacb to f2fda8a Compare August 9, 2024 10:03
@nsavoire
Copy link
Collaborator Author

nsavoire commented Aug 9, 2024

Side note the linter is complaining for line length 😢

Fixed. This 100 chars limit is annoying

@nsavoire nsavoire merged commit 63744cd into main Aug 9, 2024
15 checks passed
@nsavoire nsavoire deleted the nsavoire/add_symbols_metadata branch August 9, 2024 10:48
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.

2 participants