From 56a15b29cf50cb78805d1ff479eedf2b7d97199e Mon Sep 17 00:00:00 2001 From: mazrean Date: Fri, 9 Aug 2024 20:39:49 +0900 Subject: [PATCH] fix pgo export --- profiler/pyroscope.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/pyroscope.go b/profiler/pyroscope.go index d9fabee..2b7882a 100644 --- a/profiler/pyroscope.go +++ b/profiler/pyroscope.go @@ -142,7 +142,7 @@ func DownloadPGO(ctx context.Context, b *benchmark.Benchmark) { )..., ) - res, err := client.SelectMergeSpanProfile(ctx, connect.NewRequest(&querierv1.SelectMergeSpanProfileRequest{ + res, err := client.SelectMergeProfile(ctx, connect.NewRequest(&querierv1.SelectMergeProfileRequest{ ProfileTypeID: profileType, Start: b.Start.UnixMilli(), End: b.End.UnixMilli(),