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

pkg/debuginfo: Allow uploads to be done via signed URLs #2248

Merged
merged 1 commit into from
Dec 12, 2022

Conversation

brancz
Copy link
Member

@brancz brancz commented Dec 8, 2022

Implements #2237 with Google Cloud Storage being the first supported provider. Parca will error on startup with another provider is attempted to be used.

Here's a flow diagram of how debuginfo uploads are going to work from now on:

debuginfo upload flow diagram

@brancz brancz requested review from a team as code owners December 8, 2022 14:00
@brancz brancz changed the title pkg/debuginfo: Allow uploads to be done via signed URLs [WIP] pkg/debuginfo: Allow uploads to be done via signed URLs Dec 8, 2022
@brancz
Copy link
Member Author

brancz commented Dec 8, 2022

Opening this early to get feedback.

Before merging here I would like to at least implement this functionality in the debuginfo-cli for testing and then continue in parca-agent once merged here.

@brancz
Copy link
Member Author

brancz commented Dec 8, 2022

This will have failing buf compatibility checks as the DebugInfo service was renamed to Debuginfo (and plenty of actual breaking changes).

bucket objstore.Bucket
}

func NewFetcher(
Copy link
Member

Choose a reason for hiding this comment

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

Nice!

Copy link
Member

@kakkoyun kakkoyun left a comment

Choose a reason for hiding this comment

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

LGTM

@brancz brancz changed the title [WIP] pkg/debuginfo: Allow uploads to be done via signed URLs pkg/debuginfo: Allow uploads to be done via signed URLs Dec 12, 2022
@brancz brancz merged commit 5541ffa into main Dec 12, 2022
@brancz brancz deleted the signed-url-uploads branch December 12, 2022 11:08
Copy link
Member

@kakkoyun kakkoyun left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

None yet

2 participants