Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ide-metrics-api/go/idemetrics.pb.go
2497 views
1
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
// Code generated by protoc-gen-go. DO NOT EDIT.
6
// versions:
7
// protoc-gen-go v1.28.1
8
// protoc v3.20.1
9
// source: idemetrics.proto
10
11
package api
12
13
import (
14
_ "google.golang.org/genproto/googleapis/api/annotations"
15
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
16
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
17
reflect "reflect"
18
sync "sync"
19
)
20
21
const (
22
// Verify that this generated code is sufficiently up-to-date.
23
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24
// Verify that runtime/protoimpl is sufficiently up-to-date.
25
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26
)
27
28
type AddCounterRequest struct {
29
state protoimpl.MessageState
30
sizeCache protoimpl.SizeCache
31
unknownFields protoimpl.UnknownFields
32
33
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
34
Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
35
Value int32 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
36
}
37
38
func (x *AddCounterRequest) Reset() {
39
*x = AddCounterRequest{}
40
if protoimpl.UnsafeEnabled {
41
mi := &file_idemetrics_proto_msgTypes[0]
42
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
43
ms.StoreMessageInfo(mi)
44
}
45
}
46
47
func (x *AddCounterRequest) String() string {
48
return protoimpl.X.MessageStringOf(x)
49
}
50
51
func (*AddCounterRequest) ProtoMessage() {}
52
53
func (x *AddCounterRequest) ProtoReflect() protoreflect.Message {
54
mi := &file_idemetrics_proto_msgTypes[0]
55
if protoimpl.UnsafeEnabled && x != nil {
56
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57
if ms.LoadMessageInfo() == nil {
58
ms.StoreMessageInfo(mi)
59
}
60
return ms
61
}
62
return mi.MessageOf(x)
63
}
64
65
// Deprecated: Use AddCounterRequest.ProtoReflect.Descriptor instead.
66
func (*AddCounterRequest) Descriptor() ([]byte, []int) {
67
return file_idemetrics_proto_rawDescGZIP(), []int{0}
68
}
69
70
func (x *AddCounterRequest) GetName() string {
71
if x != nil {
72
return x.Name
73
}
74
return ""
75
}
76
77
func (x *AddCounterRequest) GetLabels() map[string]string {
78
if x != nil {
79
return x.Labels
80
}
81
return nil
82
}
83
84
func (x *AddCounterRequest) GetValue() int32 {
85
if x != nil {
86
return x.Value
87
}
88
return 0
89
}
90
91
type AddCounterResponse struct {
92
state protoimpl.MessageState
93
sizeCache protoimpl.SizeCache
94
unknownFields protoimpl.UnknownFields
95
}
96
97
func (x *AddCounterResponse) Reset() {
98
*x = AddCounterResponse{}
99
if protoimpl.UnsafeEnabled {
100
mi := &file_idemetrics_proto_msgTypes[1]
101
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
102
ms.StoreMessageInfo(mi)
103
}
104
}
105
106
func (x *AddCounterResponse) String() string {
107
return protoimpl.X.MessageStringOf(x)
108
}
109
110
func (*AddCounterResponse) ProtoMessage() {}
111
112
func (x *AddCounterResponse) ProtoReflect() protoreflect.Message {
113
mi := &file_idemetrics_proto_msgTypes[1]
114
if protoimpl.UnsafeEnabled && x != nil {
115
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
116
if ms.LoadMessageInfo() == nil {
117
ms.StoreMessageInfo(mi)
118
}
119
return ms
120
}
121
return mi.MessageOf(x)
122
}
123
124
// Deprecated: Use AddCounterResponse.ProtoReflect.Descriptor instead.
125
func (*AddCounterResponse) Descriptor() ([]byte, []int) {
126
return file_idemetrics_proto_rawDescGZIP(), []int{1}
127
}
128
129
type ObserveHistogramRequest struct {
130
state protoimpl.MessageState
131
sizeCache protoimpl.SizeCache
132
unknownFields protoimpl.UnknownFields
133
134
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
135
Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
136
Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`
137
}
138
139
func (x *ObserveHistogramRequest) Reset() {
140
*x = ObserveHistogramRequest{}
141
if protoimpl.UnsafeEnabled {
142
mi := &file_idemetrics_proto_msgTypes[2]
143
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
144
ms.StoreMessageInfo(mi)
145
}
146
}
147
148
func (x *ObserveHistogramRequest) String() string {
149
return protoimpl.X.MessageStringOf(x)
150
}
151
152
func (*ObserveHistogramRequest) ProtoMessage() {}
153
154
func (x *ObserveHistogramRequest) ProtoReflect() protoreflect.Message {
155
mi := &file_idemetrics_proto_msgTypes[2]
156
if protoimpl.UnsafeEnabled && x != nil {
157
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
158
if ms.LoadMessageInfo() == nil {
159
ms.StoreMessageInfo(mi)
160
}
161
return ms
162
}
163
return mi.MessageOf(x)
164
}
165
166
// Deprecated: Use ObserveHistogramRequest.ProtoReflect.Descriptor instead.
167
func (*ObserveHistogramRequest) Descriptor() ([]byte, []int) {
168
return file_idemetrics_proto_rawDescGZIP(), []int{2}
169
}
170
171
func (x *ObserveHistogramRequest) GetName() string {
172
if x != nil {
173
return x.Name
174
}
175
return ""
176
}
177
178
func (x *ObserveHistogramRequest) GetLabels() map[string]string {
179
if x != nil {
180
return x.Labels
181
}
182
return nil
183
}
184
185
func (x *ObserveHistogramRequest) GetValue() float64 {
186
if x != nil {
187
return x.Value
188
}
189
return 0
190
}
191
192
type ObserveHistogramResponse struct {
193
state protoimpl.MessageState
194
sizeCache protoimpl.SizeCache
195
unknownFields protoimpl.UnknownFields
196
}
197
198
func (x *ObserveHistogramResponse) Reset() {
199
*x = ObserveHistogramResponse{}
200
if protoimpl.UnsafeEnabled {
201
mi := &file_idemetrics_proto_msgTypes[3]
202
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
203
ms.StoreMessageInfo(mi)
204
}
205
}
206
207
func (x *ObserveHistogramResponse) String() string {
208
return protoimpl.X.MessageStringOf(x)
209
}
210
211
func (*ObserveHistogramResponse) ProtoMessage() {}
212
213
func (x *ObserveHistogramResponse) ProtoReflect() protoreflect.Message {
214
mi := &file_idemetrics_proto_msgTypes[3]
215
if protoimpl.UnsafeEnabled && x != nil {
216
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
217
if ms.LoadMessageInfo() == nil {
218
ms.StoreMessageInfo(mi)
219
}
220
return ms
221
}
222
return mi.MessageOf(x)
223
}
224
225
// Deprecated: Use ObserveHistogramResponse.ProtoReflect.Descriptor instead.
226
func (*ObserveHistogramResponse) Descriptor() ([]byte, []int) {
227
return file_idemetrics_proto_rawDescGZIP(), []int{3}
228
}
229
230
type AddHistogramRequest struct {
231
state protoimpl.MessageState
232
sizeCache protoimpl.SizeCache
233
unknownFields protoimpl.UnknownFields
234
235
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
236
Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
237
Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
238
Sum float64 `protobuf:"fixed64,4,opt,name=sum,proto3" json:"sum,omitempty"`
239
Buckets []uint64 `protobuf:"varint,5,rep,packed,name=buckets,proto3" json:"buckets,omitempty"`
240
}
241
242
func (x *AddHistogramRequest) Reset() {
243
*x = AddHistogramRequest{}
244
if protoimpl.UnsafeEnabled {
245
mi := &file_idemetrics_proto_msgTypes[4]
246
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
247
ms.StoreMessageInfo(mi)
248
}
249
}
250
251
func (x *AddHistogramRequest) String() string {
252
return protoimpl.X.MessageStringOf(x)
253
}
254
255
func (*AddHistogramRequest) ProtoMessage() {}
256
257
func (x *AddHistogramRequest) ProtoReflect() protoreflect.Message {
258
mi := &file_idemetrics_proto_msgTypes[4]
259
if protoimpl.UnsafeEnabled && x != nil {
260
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
261
if ms.LoadMessageInfo() == nil {
262
ms.StoreMessageInfo(mi)
263
}
264
return ms
265
}
266
return mi.MessageOf(x)
267
}
268
269
// Deprecated: Use AddHistogramRequest.ProtoReflect.Descriptor instead.
270
func (*AddHistogramRequest) Descriptor() ([]byte, []int) {
271
return file_idemetrics_proto_rawDescGZIP(), []int{4}
272
}
273
274
func (x *AddHistogramRequest) GetName() string {
275
if x != nil {
276
return x.Name
277
}
278
return ""
279
}
280
281
func (x *AddHistogramRequest) GetLabels() map[string]string {
282
if x != nil {
283
return x.Labels
284
}
285
return nil
286
}
287
288
func (x *AddHistogramRequest) GetCount() uint64 {
289
if x != nil {
290
return x.Count
291
}
292
return 0
293
}
294
295
func (x *AddHistogramRequest) GetSum() float64 {
296
if x != nil {
297
return x.Sum
298
}
299
return 0
300
}
301
302
func (x *AddHistogramRequest) GetBuckets() []uint64 {
303
if x != nil {
304
return x.Buckets
305
}
306
return nil
307
}
308
309
type AddHistogramResponse struct {
310
state protoimpl.MessageState
311
sizeCache protoimpl.SizeCache
312
unknownFields protoimpl.UnknownFields
313
}
314
315
func (x *AddHistogramResponse) Reset() {
316
*x = AddHistogramResponse{}
317
if protoimpl.UnsafeEnabled {
318
mi := &file_idemetrics_proto_msgTypes[5]
319
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
320
ms.StoreMessageInfo(mi)
321
}
322
}
323
324
func (x *AddHistogramResponse) String() string {
325
return protoimpl.X.MessageStringOf(x)
326
}
327
328
func (*AddHistogramResponse) ProtoMessage() {}
329
330
func (x *AddHistogramResponse) ProtoReflect() protoreflect.Message {
331
mi := &file_idemetrics_proto_msgTypes[5]
332
if protoimpl.UnsafeEnabled && x != nil {
333
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
334
if ms.LoadMessageInfo() == nil {
335
ms.StoreMessageInfo(mi)
336
}
337
return ms
338
}
339
return mi.MessageOf(x)
340
}
341
342
// Deprecated: Use AddHistogramResponse.ProtoReflect.Descriptor instead.
343
func (*AddHistogramResponse) Descriptor() ([]byte, []int) {
344
return file_idemetrics_proto_rawDescGZIP(), []int{5}
345
}
346
347
type ReportErrorRequest struct {
348
state protoimpl.MessageState
349
sizeCache protoimpl.SizeCache
350
unknownFields protoimpl.UnknownFields
351
352
ErrorStack string `protobuf:"bytes,1,opt,name=error_stack,json=errorStack,proto3" json:"error_stack,omitempty"`
353
Component string `protobuf:"bytes,2,opt,name=component,proto3" json:"component,omitempty"`
354
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
355
UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
356
WorkspaceId string `protobuf:"bytes,5,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
357
InstanceId string `protobuf:"bytes,6,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
358
Properties map[string]string `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
359
}
360
361
func (x *ReportErrorRequest) Reset() {
362
*x = ReportErrorRequest{}
363
if protoimpl.UnsafeEnabled {
364
mi := &file_idemetrics_proto_msgTypes[6]
365
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
366
ms.StoreMessageInfo(mi)
367
}
368
}
369
370
func (x *ReportErrorRequest) String() string {
371
return protoimpl.X.MessageStringOf(x)
372
}
373
374
func (*ReportErrorRequest) ProtoMessage() {}
375
376
func (x *ReportErrorRequest) ProtoReflect() protoreflect.Message {
377
mi := &file_idemetrics_proto_msgTypes[6]
378
if protoimpl.UnsafeEnabled && x != nil {
379
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
380
if ms.LoadMessageInfo() == nil {
381
ms.StoreMessageInfo(mi)
382
}
383
return ms
384
}
385
return mi.MessageOf(x)
386
}
387
388
// Deprecated: Use ReportErrorRequest.ProtoReflect.Descriptor instead.
389
func (*ReportErrorRequest) Descriptor() ([]byte, []int) {
390
return file_idemetrics_proto_rawDescGZIP(), []int{6}
391
}
392
393
func (x *ReportErrorRequest) GetErrorStack() string {
394
if x != nil {
395
return x.ErrorStack
396
}
397
return ""
398
}
399
400
func (x *ReportErrorRequest) GetComponent() string {
401
if x != nil {
402
return x.Component
403
}
404
return ""
405
}
406
407
func (x *ReportErrorRequest) GetVersion() string {
408
if x != nil {
409
return x.Version
410
}
411
return ""
412
}
413
414
func (x *ReportErrorRequest) GetUserId() string {
415
if x != nil {
416
return x.UserId
417
}
418
return ""
419
}
420
421
func (x *ReportErrorRequest) GetWorkspaceId() string {
422
if x != nil {
423
return x.WorkspaceId
424
}
425
return ""
426
}
427
428
func (x *ReportErrorRequest) GetInstanceId() string {
429
if x != nil {
430
return x.InstanceId
431
}
432
return ""
433
}
434
435
func (x *ReportErrorRequest) GetProperties() map[string]string {
436
if x != nil {
437
return x.Properties
438
}
439
return nil
440
}
441
442
type ReportErrorResponse struct {
443
state protoimpl.MessageState
444
sizeCache protoimpl.SizeCache
445
unknownFields protoimpl.UnknownFields
446
}
447
448
func (x *ReportErrorResponse) Reset() {
449
*x = ReportErrorResponse{}
450
if protoimpl.UnsafeEnabled {
451
mi := &file_idemetrics_proto_msgTypes[7]
452
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
453
ms.StoreMessageInfo(mi)
454
}
455
}
456
457
func (x *ReportErrorResponse) String() string {
458
return protoimpl.X.MessageStringOf(x)
459
}
460
461
func (*ReportErrorResponse) ProtoMessage() {}
462
463
func (x *ReportErrorResponse) ProtoReflect() protoreflect.Message {
464
mi := &file_idemetrics_proto_msgTypes[7]
465
if protoimpl.UnsafeEnabled && x != nil {
466
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
467
if ms.LoadMessageInfo() == nil {
468
ms.StoreMessageInfo(mi)
469
}
470
return ms
471
}
472
return mi.MessageOf(x)
473
}
474
475
// Deprecated: Use ReportErrorResponse.ProtoReflect.Descriptor instead.
476
func (*ReportErrorResponse) Descriptor() ([]byte, []int) {
477
return file_idemetrics_proto_rawDescGZIP(), []int{7}
478
}
479
480
var File_idemetrics_proto protoreflect.FileDescriptor
481
482
var file_idemetrics_proto_rawDesc = []byte{
483
0x0a, 0x10, 0x69, 0x64, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f,
484
0x74, 0x6f, 0x12, 0x0f, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f,
485
0x61, 0x70, 0x69, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
486
0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
487
0x6f, 0x22, 0xc0, 0x01, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72,
488
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
489
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x06, 0x6c,
490
0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x69, 0x64,
491
0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x64,
492
0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e,
493
0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62,
494
0x65, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01,
495
0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62,
496
0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
497
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
498
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
499
0x3a, 0x02, 0x38, 0x01, 0x22, 0x14, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74,
500
0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xcc, 0x01, 0x0a, 0x17, 0x4f,
501
0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52,
502
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
503
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x06, 0x6c, 0x61,
504
0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x69, 0x64, 0x65,
505
0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x4f, 0x62, 0x73,
506
0x65, 0x72, 0x76, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x71,
507
0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
508
0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
509
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x39,
510
0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
511
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
512
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
513
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1a, 0x0a, 0x18, 0x4f, 0x62, 0x73,
514
0x65, 0x72, 0x76, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x73,
515
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf0, 0x01, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x48, 0x69, 0x73,
516
0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
517
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
518
0x65, 0x12, 0x48, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
519
0x0b, 0x32, 0x30, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f,
520
0x61, 0x70, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d,
521
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,
522
0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63,
523
0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e,
524
0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03,
525
0x73, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x05,
526
0x20, 0x03, 0x28, 0x04, 0x52, 0x07, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x1a, 0x39, 0x0a,
527
0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
528
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
529
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
530
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x48,
531
0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
532
0x22, 0xde, 0x02, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72,
533
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72,
534
0x5f, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x72,
535
0x72, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70,
536
0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d,
537
0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
538
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
539
0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
540
0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72,
541
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
542
0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b,
543
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28,
544
0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x53, 0x0a,
545
0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
546
0x0b, 0x32, 0x33, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f,
547
0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52,
548
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65,
549
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69,
550
0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73,
551
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
552
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
553
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
554
0x01, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72,
555
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xa2, 0x04, 0x0a, 0x0e, 0x4d, 0x65, 0x74,
556
0x72, 0x69, 0x63, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7d, 0x0a, 0x0a, 0x41,
557
0x64, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x22, 0x2e, 0x69, 0x64, 0x65, 0x5f,
558
0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x43,
559
0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e,
560
0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e,
561
0x41, 0x64, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
562
0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x6d, 0x65, 0x74,
563
0x72, 0x69, 0x63, 0x73, 0x2f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x64, 0x64,
564
0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0x95, 0x01, 0x0a, 0x10, 0x4f,
565
0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12,
566
0x28, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70,
567
0x69, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72,
568
0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x69, 0x64, 0x65, 0x5f,
569
0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x4f, 0x62, 0x73, 0x65,
570
0x72, 0x76, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70,
571
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x21, 0x2f, 0x6d,
572
0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d,
573
0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a,
574
0x01, 0x2a, 0x12, 0x85, 0x01, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67,
575
0x72, 0x61, 0x6d, 0x12, 0x24, 0x2e, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
576
0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72,
577
0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x69, 0x64, 0x65, 0x5f,
578
0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x48,
579
0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
580
0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x1d, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69,
581
0x63, 0x73, 0x2f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x2f, 0x61, 0x64, 0x64,
582
0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0x71, 0x0a, 0x0b, 0x72, 0x65,
583
0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x23, 0x2e, 0x69, 0x64, 0x65, 0x5f,
584
0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x70, 0x6f,
585
0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24,
586
0x2e, 0x69, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x70, 0x69,
587
0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70,
588
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, 0x22, 0x0c, 0x2f, 0x72,
589
0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x3a, 0x01, 0x2a, 0x42, 0x47, 0x0a,
590
0x18, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6d, 0x65,
591
0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75,
592
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f,
593
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x69, 0x64, 0x65, 0x2d, 0x6d, 0x65, 0x74, 0x72, 0x69,
594
0x63, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
595
}
596
597
var (
598
file_idemetrics_proto_rawDescOnce sync.Once
599
file_idemetrics_proto_rawDescData = file_idemetrics_proto_rawDesc
600
)
601
602
func file_idemetrics_proto_rawDescGZIP() []byte {
603
file_idemetrics_proto_rawDescOnce.Do(func() {
604
file_idemetrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_idemetrics_proto_rawDescData)
605
})
606
return file_idemetrics_proto_rawDescData
607
}
608
609
var file_idemetrics_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
610
var file_idemetrics_proto_goTypes = []interface{}{
611
(*AddCounterRequest)(nil), // 0: ide_metrics_api.AddCounterRequest
612
(*AddCounterResponse)(nil), // 1: ide_metrics_api.AddCounterResponse
613
(*ObserveHistogramRequest)(nil), // 2: ide_metrics_api.ObserveHistogramRequest
614
(*ObserveHistogramResponse)(nil), // 3: ide_metrics_api.ObserveHistogramResponse
615
(*AddHistogramRequest)(nil), // 4: ide_metrics_api.AddHistogramRequest
616
(*AddHistogramResponse)(nil), // 5: ide_metrics_api.AddHistogramResponse
617
(*ReportErrorRequest)(nil), // 6: ide_metrics_api.ReportErrorRequest
618
(*ReportErrorResponse)(nil), // 7: ide_metrics_api.ReportErrorResponse
619
nil, // 8: ide_metrics_api.AddCounterRequest.LabelsEntry
620
nil, // 9: ide_metrics_api.ObserveHistogramRequest.LabelsEntry
621
nil, // 10: ide_metrics_api.AddHistogramRequest.LabelsEntry
622
nil, // 11: ide_metrics_api.ReportErrorRequest.PropertiesEntry
623
}
624
var file_idemetrics_proto_depIdxs = []int32{
625
8, // 0: ide_metrics_api.AddCounterRequest.labels:type_name -> ide_metrics_api.AddCounterRequest.LabelsEntry
626
9, // 1: ide_metrics_api.ObserveHistogramRequest.labels:type_name -> ide_metrics_api.ObserveHistogramRequest.LabelsEntry
627
10, // 2: ide_metrics_api.AddHistogramRequest.labels:type_name -> ide_metrics_api.AddHistogramRequest.LabelsEntry
628
11, // 3: ide_metrics_api.ReportErrorRequest.properties:type_name -> ide_metrics_api.ReportErrorRequest.PropertiesEntry
629
0, // 4: ide_metrics_api.MetricsService.AddCounter:input_type -> ide_metrics_api.AddCounterRequest
630
2, // 5: ide_metrics_api.MetricsService.ObserveHistogram:input_type -> ide_metrics_api.ObserveHistogramRequest
631
4, // 6: ide_metrics_api.MetricsService.AddHistogram:input_type -> ide_metrics_api.AddHistogramRequest
632
6, // 7: ide_metrics_api.MetricsService.reportError:input_type -> ide_metrics_api.ReportErrorRequest
633
1, // 8: ide_metrics_api.MetricsService.AddCounter:output_type -> ide_metrics_api.AddCounterResponse
634
3, // 9: ide_metrics_api.MetricsService.ObserveHistogram:output_type -> ide_metrics_api.ObserveHistogramResponse
635
5, // 10: ide_metrics_api.MetricsService.AddHistogram:output_type -> ide_metrics_api.AddHistogramResponse
636
7, // 11: ide_metrics_api.MetricsService.reportError:output_type -> ide_metrics_api.ReportErrorResponse
637
8, // [8:12] is the sub-list for method output_type
638
4, // [4:8] is the sub-list for method input_type
639
4, // [4:4] is the sub-list for extension type_name
640
4, // [4:4] is the sub-list for extension extendee
641
0, // [0:4] is the sub-list for field type_name
642
}
643
644
func init() { file_idemetrics_proto_init() }
645
func file_idemetrics_proto_init() {
646
if File_idemetrics_proto != nil {
647
return
648
}
649
if !protoimpl.UnsafeEnabled {
650
file_idemetrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
651
switch v := v.(*AddCounterRequest); i {
652
case 0:
653
return &v.state
654
case 1:
655
return &v.sizeCache
656
case 2:
657
return &v.unknownFields
658
default:
659
return nil
660
}
661
}
662
file_idemetrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
663
switch v := v.(*AddCounterResponse); i {
664
case 0:
665
return &v.state
666
case 1:
667
return &v.sizeCache
668
case 2:
669
return &v.unknownFields
670
default:
671
return nil
672
}
673
}
674
file_idemetrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
675
switch v := v.(*ObserveHistogramRequest); i {
676
case 0:
677
return &v.state
678
case 1:
679
return &v.sizeCache
680
case 2:
681
return &v.unknownFields
682
default:
683
return nil
684
}
685
}
686
file_idemetrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
687
switch v := v.(*ObserveHistogramResponse); i {
688
case 0:
689
return &v.state
690
case 1:
691
return &v.sizeCache
692
case 2:
693
return &v.unknownFields
694
default:
695
return nil
696
}
697
}
698
file_idemetrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
699
switch v := v.(*AddHistogramRequest); i {
700
case 0:
701
return &v.state
702
case 1:
703
return &v.sizeCache
704
case 2:
705
return &v.unknownFields
706
default:
707
return nil
708
}
709
}
710
file_idemetrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
711
switch v := v.(*AddHistogramResponse); i {
712
case 0:
713
return &v.state
714
case 1:
715
return &v.sizeCache
716
case 2:
717
return &v.unknownFields
718
default:
719
return nil
720
}
721
}
722
file_idemetrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
723
switch v := v.(*ReportErrorRequest); i {
724
case 0:
725
return &v.state
726
case 1:
727
return &v.sizeCache
728
case 2:
729
return &v.unknownFields
730
default:
731
return nil
732
}
733
}
734
file_idemetrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
735
switch v := v.(*ReportErrorResponse); i {
736
case 0:
737
return &v.state
738
case 1:
739
return &v.sizeCache
740
case 2:
741
return &v.unknownFields
742
default:
743
return nil
744
}
745
}
746
}
747
type x struct{}
748
out := protoimpl.TypeBuilder{
749
File: protoimpl.DescBuilder{
750
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
751
RawDescriptor: file_idemetrics_proto_rawDesc,
752
NumEnums: 0,
753
NumMessages: 12,
754
NumExtensions: 0,
755
NumServices: 1,
756
},
757
GoTypes: file_idemetrics_proto_goTypes,
758
DependencyIndexes: file_idemetrics_proto_depIdxs,
759
MessageInfos: file_idemetrics_proto_msgTypes,
760
}.Build()
761
File_idemetrics_proto = out.File
762
file_idemetrics_proto_rawDesc = nil
763
file_idemetrics_proto_goTypes = nil
764
file_idemetrics_proto_depIdxs = nil
765
}
766
767