-
Notifications
You must be signed in to change notification settings - Fork 494
pyroscope.ebpf: add symbols upload #4948
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
Draft
korniltsev-grafanista
wants to merge
22
commits into
main
Choose a base branch
from
parca-symbols-upload
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 19 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
43c6419
tmp
korniltsev-grafanista 72a7870
remove parca-agent dependency
korniltsev-grafanista ba80103
metric
korniltsev-grafanista c1e0b33
remove panic
korniltsev-grafanista 4b3e01d
move deubg info upload to the write component :(
korniltsev-grafanista 1fb0f67
upload knobs
korniltsev-grafanista 2cd0e48
fix
korniltsev-grafanista bc9bed6
fix tests
korniltsev-grafanista 2dd130e
Merge remote-tracking branch 'origin/main' into parca-symbols-upload
korniltsev-grafanista b0e3324
fix
korniltsev-grafanista 952ae89
fix
korniltsev-grafanista 4d68b7e
fix tests
korniltsev-grafanista 6412096
fix test
korniltsev-grafanista cf7f3f1
fix context
korniltsev-grafanista 9b88dec
fix tests
korniltsev-grafanista a5e4e63
fmt
korniltsev-grafanista 2c7b337
fix
korniltsev-grafanista 5bed31b
fix
korniltsev-grafanista 4cd43e1
maybe fix compilation on ppc
korniltsev-grafanista 12c0d80
lint
korniltsev-grafanista 20f199e
go mod tidy
korniltsev-grafanista e519f98
fix build
korniltsev-grafanista File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| package pyroscope | ||
|
|
||
| import ( | ||
| "context" | ||
|
|
||
| "github.com/prometheus/prometheus/model/labels" | ||
| ) | ||
|
|
||
| type AppenderMock struct { | ||
| AppendIngestFunc func(ctx context.Context, profile *IncomingProfile) error | ||
| AppendFunc func(ctx context.Context, labels labels.Labels, samples []*RawSample) error | ||
| UploadDebugInfoFunc func(ctx context.Context, arg DebugInfoData) | ||
| } | ||
|
|
||
| func (a AppenderMock) Append(ctx context.Context, labels labels.Labels, samples []*RawSample) error { | ||
| return a.AppendFunc(ctx, labels, samples) | ||
| } | ||
|
|
||
| func (a AppenderMock) AppendIngest(ctx context.Context, profile *IncomingProfile) error { | ||
| return a.AppendIngestFunc(ctx, profile) | ||
| } | ||
|
|
||
| func (a AppenderMock) UploadDebugInfo(ctx context.Context, arg DebugInfoData) { | ||
| a.UploadDebugInfoFunc(ctx, arg) | ||
| } | ||
|
|
||
| func (a AppenderMock) Appender() Appender { | ||
| return a | ||
| } | ||
|
|
||
| func AppendableFunc(f func(ctx context.Context, labels labels.Labels, samples []*RawSample) error) AppenderMock { | ||
| return AppenderMock{ | ||
| AppendFunc: f, | ||
| } | ||
| } | ||
|
|
||
| func AppendableIngestFunc(f func(ctx context.Context, profile *IncomingProfile) error) AppenderMock { | ||
| return AppenderMock{ | ||
| AppendIngestFunc: f, | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.