-
Notifications
You must be signed in to change notification settings - Fork 571
/
querier.connect.go
369 lines (339 loc) · 21.4 KB
/
querier.connect.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
// Code generated by protoc-gen-connect-go. DO NOT EDIT.
//
// Source: querier/v1/querier.proto
package querierv1connect
import (
connect "connectrpc.com/connect"
context "context"
errors "errors"
v12 "github.com/grafana/pyroscope/api/gen/proto/go/google/v1"
v1 "github.com/grafana/pyroscope/api/gen/proto/go/querier/v1"
v11 "github.com/grafana/pyroscope/api/gen/proto/go/types/v1"
http "net/http"
strings "strings"
)
// This is a compile-time assertion to ensure that this generated file and the connect package are
// compatible. If you get a compiler error that this constant is not defined, this code was
// generated with a version of connect newer than the one compiled into your binary. You can fix the
// problem by either regenerating this code with an older version of connect or updating the connect
// version compiled into your binary.
const _ = connect.IsAtLeastVersion1_13_0
const (
// QuerierServiceName is the fully-qualified name of the QuerierService service.
QuerierServiceName = "querier.v1.QuerierService"
)
// These constants are the fully-qualified names of the RPCs defined in this package. They're
// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
//
// Note that these are different from the fully-qualified method names used by
// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to
// reflection-formatted method names, remove the leading slash and convert the remaining slash to a
// period.
const (
// QuerierServiceProfileTypesProcedure is the fully-qualified name of the QuerierService's
// ProfileTypes RPC.
QuerierServiceProfileTypesProcedure = "/querier.v1.QuerierService/ProfileTypes"
// QuerierServiceLabelValuesProcedure is the fully-qualified name of the QuerierService's
// LabelValues RPC.
QuerierServiceLabelValuesProcedure = "/querier.v1.QuerierService/LabelValues"
// QuerierServiceLabelNamesProcedure is the fully-qualified name of the QuerierService's LabelNames
// RPC.
QuerierServiceLabelNamesProcedure = "/querier.v1.QuerierService/LabelNames"
// QuerierServiceSeriesProcedure is the fully-qualified name of the QuerierService's Series RPC.
QuerierServiceSeriesProcedure = "/querier.v1.QuerierService/Series"
// QuerierServiceSelectMergeStacktracesProcedure is the fully-qualified name of the QuerierService's
// SelectMergeStacktraces RPC.
QuerierServiceSelectMergeStacktracesProcedure = "/querier.v1.QuerierService/SelectMergeStacktraces"
// QuerierServiceSelectMergeSpanProfileProcedure is the fully-qualified name of the QuerierService's
// SelectMergeSpanProfile RPC.
QuerierServiceSelectMergeSpanProfileProcedure = "/querier.v1.QuerierService/SelectMergeSpanProfile"
// QuerierServiceSelectMergeProfileProcedure is the fully-qualified name of the QuerierService's
// SelectMergeProfile RPC.
QuerierServiceSelectMergeProfileProcedure = "/querier.v1.QuerierService/SelectMergeProfile"
// QuerierServiceSelectSeriesProcedure is the fully-qualified name of the QuerierService's
// SelectSeries RPC.
QuerierServiceSelectSeriesProcedure = "/querier.v1.QuerierService/SelectSeries"
// QuerierServiceDiffProcedure is the fully-qualified name of the QuerierService's Diff RPC.
QuerierServiceDiffProcedure = "/querier.v1.QuerierService/Diff"
)
// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package.
var (
querierServiceServiceDescriptor = v1.File_querier_v1_querier_proto.Services().ByName("QuerierService")
querierServiceProfileTypesMethodDescriptor = querierServiceServiceDescriptor.Methods().ByName("ProfileTypes")
querierServiceLabelValuesMethodDescriptor = querierServiceServiceDescriptor.Methods().ByName("LabelValues")
querierServiceLabelNamesMethodDescriptor = querierServiceServiceDescriptor.Methods().ByName("LabelNames")
querierServiceSeriesMethodDescriptor = querierServiceServiceDescriptor.Methods().ByName("Series")
querierServiceSelectMergeStacktracesMethodDescriptor = querierServiceServiceDescriptor.Methods().ByName("SelectMergeStacktraces")
querierServiceSelectMergeSpanProfileMethodDescriptor = querierServiceServiceDescriptor.Methods().ByName("SelectMergeSpanProfile")
querierServiceSelectMergeProfileMethodDescriptor = querierServiceServiceDescriptor.Methods().ByName("SelectMergeProfile")
querierServiceSelectSeriesMethodDescriptor = querierServiceServiceDescriptor.Methods().ByName("SelectSeries")
querierServiceDiffMethodDescriptor = querierServiceServiceDescriptor.Methods().ByName("Diff")
)
// QuerierServiceClient is a client for the querier.v1.QuerierService service.
type QuerierServiceClient interface {
// ProfileType returns a list of the existing profile types.
ProfileTypes(context.Context, *connect.Request[v1.ProfileTypesRequest]) (*connect.Response[v1.ProfileTypesResponse], error)
// LabelValues returns the existing label values for the provided label names.
LabelValues(context.Context, *connect.Request[v11.LabelValuesRequest]) (*connect.Response[v11.LabelValuesResponse], error)
// LabelNames returns a list of the existing label names.
LabelNames(context.Context, *connect.Request[v11.LabelNamesRequest]) (*connect.Response[v11.LabelNamesResponse], error)
// Series returns profiles series matching the request. A series is a unique label set.
Series(context.Context, *connect.Request[v1.SeriesRequest]) (*connect.Response[v1.SeriesResponse], error)
// SelectMergeStacktraces returns matching profiles aggregated in a flamegraph format. It will combine samples from within the same callstack, with each element being grouped by its function name.
SelectMergeStacktraces(context.Context, *connect.Request[v1.SelectMergeStacktracesRequest]) (*connect.Response[v1.SelectMergeStacktracesResponse], error)
// SelectMergeSpans returns matching profiles aggregated in a flamegraph format. It will combine samples from within the same callstack, with each element being grouped by its function name.
SelectMergeSpanProfile(context.Context, *connect.Request[v1.SelectMergeSpanProfileRequest]) (*connect.Response[v1.SelectMergeSpanProfileResponse], error)
// SelectMergeProfile returns matching profiles aggregated in pprof format. It will contain all information stored (so including filenames and line number, if ingested).
SelectMergeProfile(context.Context, *connect.Request[v1.SelectMergeProfileRequest]) (*connect.Response[v12.Profile], error)
// SelectSeries returns a time series for the total sum of the requested profiles.
SelectSeries(context.Context, *connect.Request[v1.SelectSeriesRequest]) (*connect.Response[v1.SelectSeriesResponse], error)
Diff(context.Context, *connect.Request[v1.DiffRequest]) (*connect.Response[v1.DiffResponse], error)
}
// NewQuerierServiceClient constructs a client for the querier.v1.QuerierService service. By
// default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses,
// and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the
// connect.WithGRPC() or connect.WithGRPCWeb() options.
//
// The URL supplied here should be the base URL for the Connect or gRPC server (for example,
// http://api.acme.com or https://acme.com/grpc).
func NewQuerierServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) QuerierServiceClient {
baseURL = strings.TrimRight(baseURL, "/")
return &querierServiceClient{
profileTypes: connect.NewClient[v1.ProfileTypesRequest, v1.ProfileTypesResponse](
httpClient,
baseURL+QuerierServiceProfileTypesProcedure,
connect.WithSchema(querierServiceProfileTypesMethodDescriptor),
connect.WithClientOptions(opts...),
),
labelValues: connect.NewClient[v11.LabelValuesRequest, v11.LabelValuesResponse](
httpClient,
baseURL+QuerierServiceLabelValuesProcedure,
connect.WithSchema(querierServiceLabelValuesMethodDescriptor),
connect.WithClientOptions(opts...),
),
labelNames: connect.NewClient[v11.LabelNamesRequest, v11.LabelNamesResponse](
httpClient,
baseURL+QuerierServiceLabelNamesProcedure,
connect.WithSchema(querierServiceLabelNamesMethodDescriptor),
connect.WithClientOptions(opts...),
),
series: connect.NewClient[v1.SeriesRequest, v1.SeriesResponse](
httpClient,
baseURL+QuerierServiceSeriesProcedure,
connect.WithSchema(querierServiceSeriesMethodDescriptor),
connect.WithClientOptions(opts...),
),
selectMergeStacktraces: connect.NewClient[v1.SelectMergeStacktracesRequest, v1.SelectMergeStacktracesResponse](
httpClient,
baseURL+QuerierServiceSelectMergeStacktracesProcedure,
connect.WithSchema(querierServiceSelectMergeStacktracesMethodDescriptor),
connect.WithClientOptions(opts...),
),
selectMergeSpanProfile: connect.NewClient[v1.SelectMergeSpanProfileRequest, v1.SelectMergeSpanProfileResponse](
httpClient,
baseURL+QuerierServiceSelectMergeSpanProfileProcedure,
connect.WithSchema(querierServiceSelectMergeSpanProfileMethodDescriptor),
connect.WithClientOptions(opts...),
),
selectMergeProfile: connect.NewClient[v1.SelectMergeProfileRequest, v12.Profile](
httpClient,
baseURL+QuerierServiceSelectMergeProfileProcedure,
connect.WithSchema(querierServiceSelectMergeProfileMethodDescriptor),
connect.WithClientOptions(opts...),
),
selectSeries: connect.NewClient[v1.SelectSeriesRequest, v1.SelectSeriesResponse](
httpClient,
baseURL+QuerierServiceSelectSeriesProcedure,
connect.WithSchema(querierServiceSelectSeriesMethodDescriptor),
connect.WithClientOptions(opts...),
),
diff: connect.NewClient[v1.DiffRequest, v1.DiffResponse](
httpClient,
baseURL+QuerierServiceDiffProcedure,
connect.WithSchema(querierServiceDiffMethodDescriptor),
connect.WithClientOptions(opts...),
),
}
}
// querierServiceClient implements QuerierServiceClient.
type querierServiceClient struct {
profileTypes *connect.Client[v1.ProfileTypesRequest, v1.ProfileTypesResponse]
labelValues *connect.Client[v11.LabelValuesRequest, v11.LabelValuesResponse]
labelNames *connect.Client[v11.LabelNamesRequest, v11.LabelNamesResponse]
series *connect.Client[v1.SeriesRequest, v1.SeriesResponse]
selectMergeStacktraces *connect.Client[v1.SelectMergeStacktracesRequest, v1.SelectMergeStacktracesResponse]
selectMergeSpanProfile *connect.Client[v1.SelectMergeSpanProfileRequest, v1.SelectMergeSpanProfileResponse]
selectMergeProfile *connect.Client[v1.SelectMergeProfileRequest, v12.Profile]
selectSeries *connect.Client[v1.SelectSeriesRequest, v1.SelectSeriesResponse]
diff *connect.Client[v1.DiffRequest, v1.DiffResponse]
}
// ProfileTypes calls querier.v1.QuerierService.ProfileTypes.
func (c *querierServiceClient) ProfileTypes(ctx context.Context, req *connect.Request[v1.ProfileTypesRequest]) (*connect.Response[v1.ProfileTypesResponse], error) {
return c.profileTypes.CallUnary(ctx, req)
}
// LabelValues calls querier.v1.QuerierService.LabelValues.
func (c *querierServiceClient) LabelValues(ctx context.Context, req *connect.Request[v11.LabelValuesRequest]) (*connect.Response[v11.LabelValuesResponse], error) {
return c.labelValues.CallUnary(ctx, req)
}
// LabelNames calls querier.v1.QuerierService.LabelNames.
func (c *querierServiceClient) LabelNames(ctx context.Context, req *connect.Request[v11.LabelNamesRequest]) (*connect.Response[v11.LabelNamesResponse], error) {
return c.labelNames.CallUnary(ctx, req)
}
// Series calls querier.v1.QuerierService.Series.
func (c *querierServiceClient) Series(ctx context.Context, req *connect.Request[v1.SeriesRequest]) (*connect.Response[v1.SeriesResponse], error) {
return c.series.CallUnary(ctx, req)
}
// SelectMergeStacktraces calls querier.v1.QuerierService.SelectMergeStacktraces.
func (c *querierServiceClient) SelectMergeStacktraces(ctx context.Context, req *connect.Request[v1.SelectMergeStacktracesRequest]) (*connect.Response[v1.SelectMergeStacktracesResponse], error) {
return c.selectMergeStacktraces.CallUnary(ctx, req)
}
// SelectMergeSpanProfile calls querier.v1.QuerierService.SelectMergeSpanProfile.
func (c *querierServiceClient) SelectMergeSpanProfile(ctx context.Context, req *connect.Request[v1.SelectMergeSpanProfileRequest]) (*connect.Response[v1.SelectMergeSpanProfileResponse], error) {
return c.selectMergeSpanProfile.CallUnary(ctx, req)
}
// SelectMergeProfile calls querier.v1.QuerierService.SelectMergeProfile.
func (c *querierServiceClient) SelectMergeProfile(ctx context.Context, req *connect.Request[v1.SelectMergeProfileRequest]) (*connect.Response[v12.Profile], error) {
return c.selectMergeProfile.CallUnary(ctx, req)
}
// SelectSeries calls querier.v1.QuerierService.SelectSeries.
func (c *querierServiceClient) SelectSeries(ctx context.Context, req *connect.Request[v1.SelectSeriesRequest]) (*connect.Response[v1.SelectSeriesResponse], error) {
return c.selectSeries.CallUnary(ctx, req)
}
// Diff calls querier.v1.QuerierService.Diff.
func (c *querierServiceClient) Diff(ctx context.Context, req *connect.Request[v1.DiffRequest]) (*connect.Response[v1.DiffResponse], error) {
return c.diff.CallUnary(ctx, req)
}
// QuerierServiceHandler is an implementation of the querier.v1.QuerierService service.
type QuerierServiceHandler interface {
// ProfileType returns a list of the existing profile types.
ProfileTypes(context.Context, *connect.Request[v1.ProfileTypesRequest]) (*connect.Response[v1.ProfileTypesResponse], error)
// LabelValues returns the existing label values for the provided label names.
LabelValues(context.Context, *connect.Request[v11.LabelValuesRequest]) (*connect.Response[v11.LabelValuesResponse], error)
// LabelNames returns a list of the existing label names.
LabelNames(context.Context, *connect.Request[v11.LabelNamesRequest]) (*connect.Response[v11.LabelNamesResponse], error)
// Series returns profiles series matching the request. A series is a unique label set.
Series(context.Context, *connect.Request[v1.SeriesRequest]) (*connect.Response[v1.SeriesResponse], error)
// SelectMergeStacktraces returns matching profiles aggregated in a flamegraph format. It will combine samples from within the same callstack, with each element being grouped by its function name.
SelectMergeStacktraces(context.Context, *connect.Request[v1.SelectMergeStacktracesRequest]) (*connect.Response[v1.SelectMergeStacktracesResponse], error)
// SelectMergeSpans returns matching profiles aggregated in a flamegraph format. It will combine samples from within the same callstack, with each element being grouped by its function name.
SelectMergeSpanProfile(context.Context, *connect.Request[v1.SelectMergeSpanProfileRequest]) (*connect.Response[v1.SelectMergeSpanProfileResponse], error)
// SelectMergeProfile returns matching profiles aggregated in pprof format. It will contain all information stored (so including filenames and line number, if ingested).
SelectMergeProfile(context.Context, *connect.Request[v1.SelectMergeProfileRequest]) (*connect.Response[v12.Profile], error)
// SelectSeries returns a time series for the total sum of the requested profiles.
SelectSeries(context.Context, *connect.Request[v1.SelectSeriesRequest]) (*connect.Response[v1.SelectSeriesResponse], error)
Diff(context.Context, *connect.Request[v1.DiffRequest]) (*connect.Response[v1.DiffResponse], error)
}
// NewQuerierServiceHandler builds an HTTP handler from the service implementation. It returns the
// path on which to mount the handler and the handler itself.
//
// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf
// and JSON codecs. They also support gzip compression.
func NewQuerierServiceHandler(svc QuerierServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) {
querierServiceProfileTypesHandler := connect.NewUnaryHandler(
QuerierServiceProfileTypesProcedure,
svc.ProfileTypes,
connect.WithSchema(querierServiceProfileTypesMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
querierServiceLabelValuesHandler := connect.NewUnaryHandler(
QuerierServiceLabelValuesProcedure,
svc.LabelValues,
connect.WithSchema(querierServiceLabelValuesMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
querierServiceLabelNamesHandler := connect.NewUnaryHandler(
QuerierServiceLabelNamesProcedure,
svc.LabelNames,
connect.WithSchema(querierServiceLabelNamesMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
querierServiceSeriesHandler := connect.NewUnaryHandler(
QuerierServiceSeriesProcedure,
svc.Series,
connect.WithSchema(querierServiceSeriesMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
querierServiceSelectMergeStacktracesHandler := connect.NewUnaryHandler(
QuerierServiceSelectMergeStacktracesProcedure,
svc.SelectMergeStacktraces,
connect.WithSchema(querierServiceSelectMergeStacktracesMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
querierServiceSelectMergeSpanProfileHandler := connect.NewUnaryHandler(
QuerierServiceSelectMergeSpanProfileProcedure,
svc.SelectMergeSpanProfile,
connect.WithSchema(querierServiceSelectMergeSpanProfileMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
querierServiceSelectMergeProfileHandler := connect.NewUnaryHandler(
QuerierServiceSelectMergeProfileProcedure,
svc.SelectMergeProfile,
connect.WithSchema(querierServiceSelectMergeProfileMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
querierServiceSelectSeriesHandler := connect.NewUnaryHandler(
QuerierServiceSelectSeriesProcedure,
svc.SelectSeries,
connect.WithSchema(querierServiceSelectSeriesMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
querierServiceDiffHandler := connect.NewUnaryHandler(
QuerierServiceDiffProcedure,
svc.Diff,
connect.WithSchema(querierServiceDiffMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
return "/querier.v1.QuerierService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
switch r.URL.Path {
case QuerierServiceProfileTypesProcedure:
querierServiceProfileTypesHandler.ServeHTTP(w, r)
case QuerierServiceLabelValuesProcedure:
querierServiceLabelValuesHandler.ServeHTTP(w, r)
case QuerierServiceLabelNamesProcedure:
querierServiceLabelNamesHandler.ServeHTTP(w, r)
case QuerierServiceSeriesProcedure:
querierServiceSeriesHandler.ServeHTTP(w, r)
case QuerierServiceSelectMergeStacktracesProcedure:
querierServiceSelectMergeStacktracesHandler.ServeHTTP(w, r)
case QuerierServiceSelectMergeSpanProfileProcedure:
querierServiceSelectMergeSpanProfileHandler.ServeHTTP(w, r)
case QuerierServiceSelectMergeProfileProcedure:
querierServiceSelectMergeProfileHandler.ServeHTTP(w, r)
case QuerierServiceSelectSeriesProcedure:
querierServiceSelectSeriesHandler.ServeHTTP(w, r)
case QuerierServiceDiffProcedure:
querierServiceDiffHandler.ServeHTTP(w, r)
default:
http.NotFound(w, r)
}
})
}
// UnimplementedQuerierServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedQuerierServiceHandler struct{}
func (UnimplementedQuerierServiceHandler) ProfileTypes(context.Context, *connect.Request[v1.ProfileTypesRequest]) (*connect.Response[v1.ProfileTypesResponse], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("querier.v1.QuerierService.ProfileTypes is not implemented"))
}
func (UnimplementedQuerierServiceHandler) LabelValues(context.Context, *connect.Request[v11.LabelValuesRequest]) (*connect.Response[v11.LabelValuesResponse], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("querier.v1.QuerierService.LabelValues is not implemented"))
}
func (UnimplementedQuerierServiceHandler) LabelNames(context.Context, *connect.Request[v11.LabelNamesRequest]) (*connect.Response[v11.LabelNamesResponse], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("querier.v1.QuerierService.LabelNames is not implemented"))
}
func (UnimplementedQuerierServiceHandler) Series(context.Context, *connect.Request[v1.SeriesRequest]) (*connect.Response[v1.SeriesResponse], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("querier.v1.QuerierService.Series is not implemented"))
}
func (UnimplementedQuerierServiceHandler) SelectMergeStacktraces(context.Context, *connect.Request[v1.SelectMergeStacktracesRequest]) (*connect.Response[v1.SelectMergeStacktracesResponse], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("querier.v1.QuerierService.SelectMergeStacktraces is not implemented"))
}
func (UnimplementedQuerierServiceHandler) SelectMergeSpanProfile(context.Context, *connect.Request[v1.SelectMergeSpanProfileRequest]) (*connect.Response[v1.SelectMergeSpanProfileResponse], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("querier.v1.QuerierService.SelectMergeSpanProfile is not implemented"))
}
func (UnimplementedQuerierServiceHandler) SelectMergeProfile(context.Context, *connect.Request[v1.SelectMergeProfileRequest]) (*connect.Response[v12.Profile], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("querier.v1.QuerierService.SelectMergeProfile is not implemented"))
}
func (UnimplementedQuerierServiceHandler) SelectSeries(context.Context, *connect.Request[v1.SelectSeriesRequest]) (*connect.Response[v1.SelectSeriesResponse], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("querier.v1.QuerierService.SelectSeries is not implemented"))
}
func (UnimplementedQuerierServiceHandler) Diff(context.Context, *connect.Request[v1.DiffRequest]) (*connect.Response[v1.DiffResponse], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("querier.v1.QuerierService.Diff is not implemented"))
}