Debian Codegraph @

envoy/config/metrics/v3/stats.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/config/metrics/v3/stats.proto
6
7 package metricsv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v31 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
12 v3 "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
13 _ "github.com/envoyproxy/protoc-gen-validate/validate"
14 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16 anypb "google.golang.org/protobuf/types/known/anypb"
17 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
18 reflect "reflect"
19 sync "sync"
20 )
21
22 const (
23 // Verify that this generated code is sufficiently up-to-date.
24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
25 // Verify that runtime/protoimpl is sufficiently up-to-date.
26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
27 )
28
29 // Configuration for pluggable stats sinks.
30 type StatsSink struct {
31 state protoimpl.MessageState
32 sizeCache protoimpl.SizeCache
33 unknownFields protoimpl.UnknownFields
34
35 // The name of the stats sink to instantiate. The name must match a supported
36 // stats sink.
37 // See the :ref:`extensions listed in typed_config below <extension_category_envoy.stats_sinks>` for the default list of available stats sink.
38 // Sinks optionally support tagged/multiple dimensional metrics.
39 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
40 // Stats sink specific configuration which depends on the sink being instantiated. See
41 // :ref:`StatsdSink <envoy_v3_api_msg_config.metrics.v3.StatsdSink>` for an example.
42 // [#extension-category: envoy.stats_sinks]
43 //
44 // Types that are assignable to ConfigType:
45 //
46 // *StatsSink_TypedConfig
47 ConfigType isStatsSink_ConfigType `protobuf_oneof:"config_type"`
48 }
49
50 func (x *StatsSink) Reset() {
51 *x = StatsSink{}
52 if protoimpl.UnsafeEnabled {
53 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[0]
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 ms.StoreMessageInfo(mi)
56 }
57 }
58
59 func (x *StatsSink) String() string {
60 return protoimpl.X.MessageStringOf(x)
61 }
62
63 func (*StatsSink) ProtoMessage() {}
64
65 func (x *StatsSink) ProtoReflect() protoreflect.Message {
66 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[0]
67 if protoimpl.UnsafeEnabled && x != nil {
68 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
69 if ms.LoadMessageInfo() == nil {
70 ms.StoreMessageInfo(mi)
71 }
72 return ms
73 }
74 return mi.MessageOf(x)
75 }
76
77 // Deprecated: Use StatsSink.ProtoReflect.Descriptor instead.
78 func (*StatsSink) Descriptor() ([]byte, []int) {
79 return file_envoy_config_metrics_v3_stats_proto_rawDescGZIP(), []int{0}
80 }
81
82 func (x *StatsSink) GetName() string {
83 if x != nil {
84 return x.Name
85 }
86 return ""
87 }
88
89 func (m *StatsSink) GetConfigType() isStatsSink_ConfigType {
90 if m != nil {
91 return m.ConfigType
92 }
93 return nil
94 }
95
96 func (x *StatsSink) GetTypedConfig() *anypb.Any {
97 if x, ok := x.GetConfigType().(*StatsSink_TypedConfig); ok {
98 return x.TypedConfig
99 }
100 return nil
101 }
102
103 type isStatsSink_ConfigType interface {
104 isStatsSink_ConfigType()
105 }
106
107 type StatsSink_TypedConfig struct {
108 TypedConfig *anypb.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
109 }
110
111 func (*StatsSink_TypedConfig) isStatsSink_ConfigType() {}
112
113 // Statistics configuration such as tagging.
114 type StatsConfig struct {
115 state protoimpl.MessageState
116 sizeCache protoimpl.SizeCache
117 unknownFields protoimpl.UnknownFields
118
119 // Each stat name is independently processed through these tag specifiers. When a tag is
120 // matched, the first capture group is not immediately removed from the name, so later
121 // :ref:`TagSpecifiers <envoy_v3_api_msg_config.metrics.v3.TagSpecifier>` can also match that
122 // same portion of the match. After all tag matching is complete, a tag-extracted version of
123 // the name is produced and is used in stats sinks that represent tags, such as Prometheus.
124 StatsTags []*TagSpecifier `protobuf:"bytes,1,rep,name=stats_tags,json=statsTags,proto3" json:"stats_tags,omitempty"`
125 // Use all default tag regexes specified in Envoy. These can be combined with
126 // custom tags specified in :ref:`stats_tags
127 // <envoy_v3_api_field_config.metrics.v3.StatsConfig.stats_tags>`. They will be processed before
128 // the custom tags.
129 //
130 // .. note::
131 //
132 // If any default tags are specified twice, the config will be considered
133 // invalid.
134 //
135 // See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the
136 // default tags in Envoy.
137 //
138 // If not provided, the value is assumed to be true.
139 UseAllDefaultTags *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=use_all_default_tags,json=useAllDefaultTags,proto3" json:"use_all_default_tags,omitempty"`
140 // Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated
141 // as normal. Preventing the instantiation of certain families of stats can improve memory
142 // performance for Envoys running especially large configs.
143 //
144 // .. warning::
145 //
146 // Excluding stats may affect Envoy's behavior in undocumented ways. See
147 // `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information.
148 // If any unexpected behavior changes are observed, please open a new issue immediately.
149 StatsMatcher *StatsMatcher `protobuf:"bytes,3,opt,name=stats_matcher,json=statsMatcher,proto3" json:"stats_matcher,omitempty"`
150 // Defines rules for setting the histogram buckets. Rules are evaluated in order, and the first
151 // match is applied. If no match is found (or if no rules are set), the following default buckets
152 // are used:
153 //
154 // .. code-block:: json
155 //
156 // [
157 // 0.5,
158 // 1,
159 // 5,
160 // 10,
161 // 25,
162 // 50,
163 // 100,
164 // 250,
165 // 500,
166 // 1000,
167 // 2500,
168 // 5000,
169 // 10000,
170 // 30000,
171 // 60000,
172 // 300000,
173 // 600000,
174 // 1800000,
175 // 3600000
176 // ]
177 HistogramBucketSettings []*HistogramBucketSettings `protobuf:"bytes,4,rep,name=histogram_bucket_settings,json=histogramBucketSettings,proto3" json:"histogram_bucket_settings,omitempty"`
178 }
179
180 func (x *StatsConfig) Reset() {
181 *x = StatsConfig{}
182 if protoimpl.UnsafeEnabled {
183 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[1]
184 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
185 ms.StoreMessageInfo(mi)
186 }
187 }
188
189 func (x *StatsConfig) String() string {
190 return protoimpl.X.MessageStringOf(x)
191 }
192
193 func (*StatsConfig) ProtoMessage() {}
194
195 func (x *StatsConfig) ProtoReflect() protoreflect.Message {
196 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[1]
197 if protoimpl.UnsafeEnabled && x != nil {
198 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
199 if ms.LoadMessageInfo() == nil {
200 ms.StoreMessageInfo(mi)
201 }
202 return ms
203 }
204 return mi.MessageOf(x)
205 }
206
207 // Deprecated: Use StatsConfig.ProtoReflect.Descriptor instead.
208 func (*StatsConfig) Descriptor() ([]byte, []int) {
209 return file_envoy_config_metrics_v3_stats_proto_rawDescGZIP(), []int{1}
210 }
211
212 func (x *StatsConfig) GetStatsTags() []*TagSpecifier {
213 if x != nil {
214 return x.StatsTags
215 }
216 return nil
217 }
218
219 func (x *StatsConfig) GetUseAllDefaultTags() *wrapperspb.BoolValue {
220 if x != nil {
221 return x.UseAllDefaultTags
222 }
223 return nil
224 }
225
226 func (x *StatsConfig) GetStatsMatcher() *StatsMatcher {
227 if x != nil {
228 return x.StatsMatcher
229 }
230 return nil
231 }
232
233 func (x *StatsConfig) GetHistogramBucketSettings() []*HistogramBucketSettings {
234 if x != nil {
235 return x.HistogramBucketSettings
236 }
237 return nil
238 }
239
240 // Configuration for disabling stat instantiation.
241 type StatsMatcher struct {
242 state protoimpl.MessageState
243 sizeCache protoimpl.SizeCache
244 unknownFields protoimpl.UnknownFields
245
246 // Types that are assignable to StatsMatcher:
247 //
248 // *StatsMatcher_RejectAll
249 // *StatsMatcher_ExclusionList
250 // *StatsMatcher_InclusionList
251 StatsMatcher isStatsMatcher_StatsMatcher `protobuf_oneof:"stats_matcher"`
252 }
253
254 func (x *StatsMatcher) Reset() {
255 *x = StatsMatcher{}
256 if protoimpl.UnsafeEnabled {
257 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[2]
258 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
259 ms.StoreMessageInfo(mi)
260 }
261 }
262
263 func (x *StatsMatcher) String() string {
264 return protoimpl.X.MessageStringOf(x)
265 }
266
267 func (*StatsMatcher) ProtoMessage() {}
268
269 func (x *StatsMatcher) ProtoReflect() protoreflect.Message {
270 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[2]
271 if protoimpl.UnsafeEnabled && x != nil {
272 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
273 if ms.LoadMessageInfo() == nil {
274 ms.StoreMessageInfo(mi)
275 }
276 return ms
277 }
278 return mi.MessageOf(x)
279 }
280
281 // Deprecated: Use StatsMatcher.ProtoReflect.Descriptor instead.
282 func (*StatsMatcher) Descriptor() ([]byte, []int) {
283 return file_envoy_config_metrics_v3_stats_proto_rawDescGZIP(), []int{2}
284 }
285
286 func (m *StatsMatcher) GetStatsMatcher() isStatsMatcher_StatsMatcher {
287 if m != nil {
288 return m.StatsMatcher
289 }
290 return nil
291 }
292
293 func (x *StatsMatcher) GetRejectAll() bool {
294 if x, ok := x.GetStatsMatcher().(*StatsMatcher_RejectAll); ok {
295 return x.RejectAll
296 }
297 return false
298 }
299
300 func (x *StatsMatcher) GetExclusionList() *v3.ListStringMatcher {
301 if x, ok := x.GetStatsMatcher().(*StatsMatcher_ExclusionList); ok {
302 return x.ExclusionList
303 }
304 return nil
305 }
306
307 func (x *StatsMatcher) GetInclusionList() *v3.ListStringMatcher {
308 if x, ok := x.GetStatsMatcher().(*StatsMatcher_InclusionList); ok {
309 return x.InclusionList
310 }
311 return nil
312 }
313
314 type isStatsMatcher_StatsMatcher interface {
315 isStatsMatcher_StatsMatcher()
316 }
317
318 type StatsMatcher_RejectAll struct {
319 // If “reject_all“ is true, then all stats are disabled. If “reject_all“ is false, then all
320 // stats are enabled.
321 RejectAll bool `protobuf:"varint,1,opt,name=reject_all,json=rejectAll,proto3,oneof"`
322 }
323
324 type StatsMatcher_ExclusionList struct {
325 // Exclusive match. All stats are enabled except for those matching one of the supplied
326 // StringMatcher protos.
327 ExclusionList *v3.ListStringMatcher `protobuf:"bytes,2,opt,name=exclusion_list,json=exclusionList,proto3,oneof"`
328 }
329
330 type StatsMatcher_InclusionList struct {
331 // Inclusive match. No stats are enabled except for those matching one of the supplied
332 // StringMatcher protos.
333 InclusionList *v3.ListStringMatcher `protobuf:"bytes,3,opt,name=inclusion_list,json=inclusionList,proto3,oneof"`
334 }
335
336 func (*StatsMatcher_RejectAll) isStatsMatcher_StatsMatcher() {}
337
338 func (*StatsMatcher_ExclusionList) isStatsMatcher_StatsMatcher() {}
339
340 func (*StatsMatcher_InclusionList) isStatsMatcher_StatsMatcher() {}
341
342 // Designates a tag name and value pair. The value may be either a fixed value
343 // or a regex providing the value via capture groups. The specified tag will be
344 // unconditionally set if a fixed value, otherwise it will only be set if one
345 // or more capture groups in the regex match.
346 type TagSpecifier struct {
347 state protoimpl.MessageState
348 sizeCache protoimpl.SizeCache
349 unknownFields protoimpl.UnknownFields
350
351 // Attaches an identifier to the tag values to identify the tag being in the
352 // sink. Envoy has a set of default names and regexes to extract dynamic
353 // portions of existing stats, which can be found in :repo:`well_known_names.h
354 // <source/common/config/well_known_names.h>` in the Envoy repository. If a :ref:`tag_name
355 // <envoy_v3_api_field_config.metrics.v3.TagSpecifier.tag_name>` is provided in the config and
356 // neither :ref:`regex <envoy_v3_api_field_config.metrics.v3.TagSpecifier.regex>` or
357 // :ref:`fixed_value <envoy_v3_api_field_config.metrics.v3.TagSpecifier.fixed_value>` were specified,
358 // Envoy will attempt to find that name in its set of defaults and use the accompanying regex.
359 //
360 // .. note::
361 //
362 // A stat name may be spelled in such a way that it matches two different
363 // tag extractors for the same tag name. In that case, all but one of the
364 // tag values will be dropped. It is not specified which tag value will be
365 // retained. The extraction will only occur for one of the extractors, and
366 // only the matched extraction will be removed from the tag name.
367 TagName string `protobuf:"bytes,1,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
368 // Types that are assignable to TagValue:
369 //
370 // *TagSpecifier_Regex
371 // *TagSpecifier_FixedValue
372 TagValue isTagSpecifier_TagValue `protobuf_oneof:"tag_value"`
373 }
374
375 func (x *TagSpecifier) Reset() {
376 *x = TagSpecifier{}
377 if protoimpl.UnsafeEnabled {
378 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[3]
379 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
380 ms.StoreMessageInfo(mi)
381 }
382 }
383
384 func (x *TagSpecifier) String() string {
385 return protoimpl.X.MessageStringOf(x)
386 }
387
388 func (*TagSpecifier) ProtoMessage() {}
389
390 func (x *TagSpecifier) ProtoReflect() protoreflect.Message {
391 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[3]
392 if protoimpl.UnsafeEnabled && x != nil {
393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
394 if ms.LoadMessageInfo() == nil {
395 ms.StoreMessageInfo(mi)
396 }
397 return ms
398 }
399 return mi.MessageOf(x)
400 }
401
402 // Deprecated: Use TagSpecifier.ProtoReflect.Descriptor instead.
403 func (*TagSpecifier) Descriptor() ([]byte, []int) {
404 return file_envoy_config_metrics_v3_stats_proto_rawDescGZIP(), []int{3}
405 }
406
407 func (x *TagSpecifier) GetTagName() string {
408 if x != nil {
409 return x.TagName
410 }
411 return ""
412 }
413
414 func (m *TagSpecifier) GetTagValue() isTagSpecifier_TagValue {
415 if m != nil {
416 return m.TagValue
417 }
418 return nil
419 }
420
421 func (x *TagSpecifier) GetRegex() string {
422 if x, ok := x.GetTagValue().(*TagSpecifier_Regex); ok {
423 return x.Regex
424 }
425 return ""
426 }
427
428 func (x *TagSpecifier) GetFixedValue() string {
429 if x, ok := x.GetTagValue().(*TagSpecifier_FixedValue); ok {
430 return x.FixedValue
431 }
432 return ""
433 }
434
435 type isTagSpecifier_TagValue interface {
436 isTagSpecifier_TagValue()
437 }
438
439 type TagSpecifier_Regex struct {
440 // Designates a tag to strip from the tag extracted name and provide as a named
441 // tag value for all statistics. This will only occur if any part of the name
442 // matches the regex provided with one or more capture groups.
443 //
444 // The first capture group identifies the portion of the name to remove. The
445 // second capture group (which will normally be nested inside the first) will
446 // designate the value of the tag for the statistic. If no second capture
447 // group is provided, the first will also be used to set the value of the tag.
448 // All other capture groups will be ignored.
449 //
450 // Example 1. a stat name “cluster.foo_cluster.upstream_rq_timeout“ and
451 // one tag specifier:
452 //
453 // .. code-block:: json
454 //
455 // {
456 // "tag_name": "envoy.cluster_name",
457 // "regex": "^cluster\\.((.+?)\\.)"
458 // }
459 //
460 // Note that the regex will remove “foo_cluster.“ making the tag extracted
461 // name “cluster.upstream_rq_timeout“ and the tag value for
462 // “envoy.cluster_name“ will be “foo_cluster“ (note: there will be no
463 // “.“ character because of the second capture group).
464 //
465 // Example 2. a stat name
466 // “http.connection_manager_1.user_agent.ios.downstream_cx_total“ and two
467 // tag specifiers:
468 //
469 // .. code-block:: json
470 //
471 // [
472 // {
473 // "tag_name": "envoy.http_user_agent",
474 // "regex": "^http(?=\\.).*?\\.user_agent\\.((.+?)\\.)\\w+?$"
475 // },
476 // {
477 // "tag_name": "envoy.http_conn_manager_prefix",
478 // "regex": "^http\\.((.*?)\\.)"
479 // }
480 // ]
481 //
482 // The two regexes of the specifiers will be processed from the elaborated
483 // stat name.
484 //
485 // The first regex will save “ios.“ as the tag value for “envoy.http_user_agent“. It will
486 // leave it in the name for potential matching with additional tag specifiers. After all tag
487 // specifiers are processed the tags will be removed from the name.
488 //
489 // The second regex will populate tag “envoy.http_conn_manager_prefix“ with value
490 // “connection_manager_1.“, based on the original stat name.
491 //
492 // As a final step, the matched tags are removed, leaving
493 // “http.user_agent.downstream_cx_total“ as the tag extracted name.
494 Regex string `protobuf:"bytes,2,opt,name=regex,proto3,oneof"`
495 }
496
497 type TagSpecifier_FixedValue struct {
498 // Specifies a fixed tag value for the “tag_name“.
499 FixedValue string `protobuf:"bytes,3,opt,name=fixed_value,json=fixedValue,proto3,oneof"`
500 }
501
502 func (*TagSpecifier_Regex) isTagSpecifier_TagValue() {}
503
504 func (*TagSpecifier_FixedValue) isTagSpecifier_TagValue() {}
505
506 // Specifies a matcher for stats and the buckets that matching stats should use.
507 type HistogramBucketSettings struct {
508 state protoimpl.MessageState
509 sizeCache protoimpl.SizeCache
510 unknownFields protoimpl.UnknownFields
511
512 // The stats that this rule applies to. The match is applied to the original stat name
513 // before tag-extraction, for example “cluster.exampleclustername.upstream_cx_length_ms“.
514 Match *v3.StringMatcher `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"`
515 // Each value is the upper bound of a bucket. Each bucket must be greater than 0 and unique.
516 // The order of the buckets does not matter.
517 Buckets []float64 `protobuf:"fixed64,2,rep,packed,name=buckets,proto3" json:"buckets,omitempty"`
518 }
519
520 func (x *HistogramBucketSettings) Reset() {
521 *x = HistogramBucketSettings{}
522 if protoimpl.UnsafeEnabled {
523 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[4]
524 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
525 ms.StoreMessageInfo(mi)
526 }
527 }
528
529 func (x *HistogramBucketSettings) String() string {
530 return protoimpl.X.MessageStringOf(x)
531 }
532
533 func (*HistogramBucketSettings) ProtoMessage() {}
534
535 func (x *HistogramBucketSettings) ProtoReflect() protoreflect.Message {
536 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[4]
537 if protoimpl.UnsafeEnabled && x != nil {
538 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
539 if ms.LoadMessageInfo() == nil {
540 ms.StoreMessageInfo(mi)
541 }
542 return ms
543 }
544 return mi.MessageOf(x)
545 }
546
547 // Deprecated: Use HistogramBucketSettings.ProtoReflect.Descriptor instead.
548 func (*HistogramBucketSettings) Descriptor() ([]byte, []int) {
549 return file_envoy_config_metrics_v3_stats_proto_rawDescGZIP(), []int{4}
550 }
551
552 func (x *HistogramBucketSettings) GetMatch() *v3.StringMatcher {
553 if x != nil {
554 return x.Match
555 }
556 return nil
557 }
558
559 func (x *HistogramBucketSettings) GetBuckets() []float64 {
560 if x != nil {
561 return x.Buckets
562 }
563 return nil
564 }
565
566 // Stats configuration proto schema for built-in “envoy.stat_sinks.statsd“ sink. This sink does not support
567 // tagged metrics.
568 // [#extension: envoy.stat_sinks.statsd]
569 type StatsdSink struct {
570 state protoimpl.MessageState
571 sizeCache protoimpl.SizeCache
572 unknownFields protoimpl.UnknownFields
573
574 // Types that are assignable to StatsdSpecifier:
575 //
576 // *StatsdSink_Address
577 // *StatsdSink_TcpClusterName
578 StatsdSpecifier isStatsdSink_StatsdSpecifier `protobuf_oneof:"statsd_specifier"`
579 // Optional custom prefix for StatsdSink. If
580 // specified, this will override the default prefix.
581 // For example:
582 //
583 // .. code-block:: json
584 //
585 // {
586 // "prefix" : "envoy-prod"
587 // }
588 //
589 // will change emitted stats to
590 //
591 // .. code-block:: cpp
592 //
593 // envoy-prod.test_counter:1|c
594 // envoy-prod.test_timer:5|ms
595 //
596 // Note that the default prefix, "envoy", will be used if a prefix is not
597 // specified.
598 //
599 // Stats with default prefix:
600 //
601 // .. code-block:: cpp
602 //
603 // envoy.test_counter:1|c
604 // envoy.test_timer:5|ms
605 Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
606 }
607
608 func (x *StatsdSink) Reset() {
609 *x = StatsdSink{}
610 if protoimpl.UnsafeEnabled {
611 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[5]
612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
613 ms.StoreMessageInfo(mi)
614 }
615 }
616
617 func (x *StatsdSink) String() string {
618 return protoimpl.X.MessageStringOf(x)
619 }
620
621 func (*StatsdSink) ProtoMessage() {}
622
623 func (x *StatsdSink) ProtoReflect() protoreflect.Message {
624 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[5]
625 if protoimpl.UnsafeEnabled && x != nil {
626 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
627 if ms.LoadMessageInfo() == nil {
628 ms.StoreMessageInfo(mi)
629 }
630 return ms
631 }
632 return mi.MessageOf(x)
633 }
634
635 // Deprecated: Use StatsdSink.ProtoReflect.Descriptor instead.
636 func (*StatsdSink) Descriptor() ([]byte, []int) {
637 return file_envoy_config_metrics_v3_stats_proto_rawDescGZIP(), []int{5}
638 }
639
640 func (m *StatsdSink) GetStatsdSpecifier() isStatsdSink_StatsdSpecifier {
641 if m != nil {
642 return m.StatsdSpecifier
643 }
644 return nil
645 }
646
647 func (x *StatsdSink) GetAddress() *v31.Address {
648 if x, ok := x.GetStatsdSpecifier().(*StatsdSink_Address); ok {
649 return x.Address
650 }
651 return nil
652 }
653
654 func (x *StatsdSink) GetTcpClusterName() string {
655 if x, ok := x.GetStatsdSpecifier().(*StatsdSink_TcpClusterName); ok {
656 return x.TcpClusterName
657 }
658 return ""
659 }
660
661 func (x *StatsdSink) GetPrefix() string {
662 if x != nil {
663 return x.Prefix
664 }
665 return ""
666 }
667
668 type isStatsdSink_StatsdSpecifier interface {
669 isStatsdSink_StatsdSpecifier()
670 }
671
672 type StatsdSink_Address struct {
673 // The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
674 // compliant listener. If specified, statistics will be flushed to this
675 // address.
676 Address *v31.Address `protobuf:"bytes,1,opt,name=address,proto3,oneof"`
677 }
678
679 type StatsdSink_TcpClusterName struct {
680 // The name of a cluster that is running a TCP `statsd
681 // <https://github.com/etsy/statsd>`_ compliant listener. If specified,
682 // Envoy will connect to this cluster to flush statistics.
683 TcpClusterName string `protobuf:"bytes,2,opt,name=tcp_cluster_name,json=tcpClusterName,proto3,oneof"`
684 }
685
686 func (*StatsdSink_Address) isStatsdSink_StatsdSpecifier() {}
687
688 func (*StatsdSink_TcpClusterName) isStatsdSink_StatsdSpecifier() {}
689
690 // Stats configuration proto schema for built-in “envoy.stat_sinks.dog_statsd“ sink.
691 // The sink emits stats with `DogStatsD <https://docs.datadoghq.com/guides/dogstatsd/>`_
692 // compatible tags. Tags are configurable via :ref:`StatsConfig
693 // <envoy_v3_api_msg_config.metrics.v3.StatsConfig>`.
694 // [#extension: envoy.stat_sinks.dog_statsd]
695 type DogStatsdSink struct {
696 state protoimpl.MessageState
697 sizeCache protoimpl.SizeCache
698 unknownFields protoimpl.UnknownFields
699
700 // Types that are assignable to DogStatsdSpecifier:
701 //
702 // *DogStatsdSink_Address
703 DogStatsdSpecifier isDogStatsdSink_DogStatsdSpecifier `protobuf_oneof:"dog_statsd_specifier"`
704 // Optional custom metric name prefix. See :ref:`StatsdSink's prefix field
705 // <envoy_v3_api_field_config.metrics.v3.StatsdSink.prefix>` for more details.
706 Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
707 // Optional max datagram size to use when sending UDP messages. By default Envoy
708 // will emit one metric per datagram. By specifying a max-size larger than a single
709 // metric, Envoy will emit multiple, new-line separated metrics. The max datagram
710 // size should not exceed your network's MTU.
711 //
712 // Note that this value may not be respected if smaller than a single metric.
713 MaxBytesPerDatagram *wrapperspb.UInt64Value `protobuf:"bytes,4,opt,name=max_bytes_per_datagram,json=maxBytesPerDatagram,proto3" json:"max_bytes_per_datagram,omitempty"`
714 }
715
716 func (x *DogStatsdSink) Reset() {
717 *x = DogStatsdSink{}
718 if protoimpl.UnsafeEnabled {
719 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[6]
720 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
721 ms.StoreMessageInfo(mi)
722 }
723 }
724
725 func (x *DogStatsdSink) String() string {
726 return protoimpl.X.MessageStringOf(x)
727 }
728
729 func (*DogStatsdSink) ProtoMessage() {}
730
731 func (x *DogStatsdSink) ProtoReflect() protoreflect.Message {
732 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[6]
733 if protoimpl.UnsafeEnabled && x != nil {
734 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
735 if ms.LoadMessageInfo() == nil {
736 ms.StoreMessageInfo(mi)
737 }
738 return ms
739 }
740 return mi.MessageOf(x)
741 }
742
743 // Deprecated: Use DogStatsdSink.ProtoReflect.Descriptor instead.
744 func (*DogStatsdSink) Descriptor() ([]byte, []int) {
745 return file_envoy_config_metrics_v3_stats_proto_rawDescGZIP(), []int{6}
746 }
747
748 func (m *DogStatsdSink) GetDogStatsdSpecifier() isDogStatsdSink_DogStatsdSpecifier {
749 if m != nil {
750 return m.DogStatsdSpecifier
751 }
752 return nil
753 }
754
755 func (x *DogStatsdSink) GetAddress() *v31.Address {
756 if x, ok := x.GetDogStatsdSpecifier().(*DogStatsdSink_Address); ok {
757 return x.Address
758 }
759 return nil
760 }
761
762 func (x *DogStatsdSink) GetPrefix() string {
763 if x != nil {
764 return x.Prefix
765 }
766 return ""
767 }
768
769 func (x *DogStatsdSink) GetMaxBytesPerDatagram() *wrapperspb.UInt64Value {
770 if x != nil {
771 return x.MaxBytesPerDatagram
772 }
773 return nil
774 }
775
776 type isDogStatsdSink_DogStatsdSpecifier interface {
777 isDogStatsdSink_DogStatsdSpecifier()
778 }
779
780 type DogStatsdSink_Address struct {
781 // The UDP address of a running DogStatsD compliant listener. If specified,
782 // statistics will be flushed to this address.
783 Address *v31.Address `protobuf:"bytes,1,opt,name=address,proto3,oneof"`
784 }
785
786 func (*DogStatsdSink_Address) isDogStatsdSink_DogStatsdSpecifier() {}
787
788 // Stats configuration proto schema for built-in “envoy.stat_sinks.hystrix“ sink.
789 // The sink emits stats in `text/event-stream
790 // <https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events>`_
791 // formatted stream for use by `Hystrix dashboard
792 // <https://github.com/Netflix-Skunkworks/hystrix-dashboard/wiki>`_.
793 //
794 // Note that only a single HystrixSink should be configured.
795 //
796 // Streaming is started through an admin endpoint :http:get:`/hystrix_event_stream`.
797 // [#extension: envoy.stat_sinks.hystrix]
798 type HystrixSink struct {
799 state protoimpl.MessageState
800 sizeCache protoimpl.SizeCache
801 unknownFields protoimpl.UnknownFields
802
803 // The number of buckets the rolling statistical window is divided into.
804 //
805 // Each time the sink is flushed, all relevant Envoy statistics are sampled and
806 // added to the rolling window (removing the oldest samples in the window
807 // in the process). The sink then outputs the aggregate statistics across the
808 // current rolling window to the event stream(s).
809 //
810 // “rolling_window(ms)“ = “stats_flush_interval(ms)“ * “num_of_buckets“
811 //
812 // More detailed explanation can be found in `Hystrix wiki
813 // <https://github.com/Netflix/Hystrix/wiki/Metrics-and-Monitoring#hystrixrollingnumber>`_.
814 NumBuckets int64 `protobuf:"varint,1,opt,name=num_buckets,json=numBuckets,proto3" json:"num_buckets,omitempty"`
815 }
816
817 func (x *HystrixSink) Reset() {
818 *x = HystrixSink{}
819 if protoimpl.UnsafeEnabled {
820 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[7]
821 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
822 ms.StoreMessageInfo(mi)
823 }
824 }
825
826 func (x *HystrixSink) String() string {
827 return protoimpl.X.MessageStringOf(x)
828 }
829
830 func (*HystrixSink) ProtoMessage() {}
831
832 func (x *HystrixSink) ProtoReflect() protoreflect.Message {
833 mi := &file_envoy_config_metrics_v3_stats_proto_msgTypes[7]
834 if protoimpl.UnsafeEnabled && x != nil {
835 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
836 if ms.LoadMessageInfo() == nil {
837 ms.StoreMessageInfo(mi)
838 }
839 return ms
840 }
841 return mi.MessageOf(x)
842 }
843
844 // Deprecated: Use HystrixSink.ProtoReflect.Descriptor instead.
845 func (*HystrixSink) Descriptor() ([]byte, []int) {
846 return file_envoy_config_metrics_v3_stats_proto_rawDescGZIP(), []int{7}
847 }
848
849 func (x *HystrixSink) GetNumBuckets() int64 {
850 if x != nil {
851 return x.NumBuckets
852 }
853 return 0
854 }
855
856 var File_envoy_config_metrics_v3_stats_proto protoreflect.FileDescriptor
857
858 var file_envoy_config_metrics_v3_stats_proto_rawDesc = []byte{
859 0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6d,
860 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e,
861 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
862 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x33, 0x1a, 0x22,
863 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72,
864 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f,
865 0x74, 0x6f, 0x1a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d,
866 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
867 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
868 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
869 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
870 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
871 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
872 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
873 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
874 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72,
875 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61,
876 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x01, 0x0a,
877 0x09, 0x53, 0x74, 0x61, 0x74, 0x73, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
878 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39,
879 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03,
880 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
881 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x79,
882 0x70, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x28, 0x9a, 0xc5, 0x88, 0x1e, 0x23,
883 0x0a, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d,
884 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x53,
885 0x69, 0x6e, 0x6b, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x74, 0x79,
886 0x70, 0x65, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
887 0x22, 0x86, 0x03, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
888 0x12, 0x44, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x01,
889 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
890 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x54,
891 0x61, 0x67, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x09, 0x73, 0x74, 0x61,
892 0x74, 0x73, 0x54, 0x61, 0x67, 0x73, 0x12, 0x4b, 0x0a, 0x14, 0x75, 0x73, 0x65, 0x5f, 0x61, 0x6c,
893 0x6c, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02,
894 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
895 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65,
896 0x52, 0x11, 0x75, 0x73, 0x65, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x54,
897 0x61, 0x67, 0x73, 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x6d, 0x61, 0x74,
898 0x63, 0x68, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76,
899 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
900 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65,
901 0x72, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12,
902 0x6c, 0x0a, 0x19, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x62, 0x75, 0x63,
903 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03,
904 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
905 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x69, 0x73,
906 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74,
907 0x69, 0x6e, 0x67, 0x73, 0x52, 0x17, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x42,
908 0x75, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x3a, 0x2a, 0x9a,
909 0xc5, 0x88, 0x1e, 0x25, 0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
910 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74,
911 0x61, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x98, 0x02, 0x0a, 0x0c, 0x53, 0x74,
912 0x61, 0x74, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0a, 0x72, 0x65,
913 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00,
914 0x52, 0x09, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x51, 0x0a, 0x0e, 0x65,
915 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20,
916 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65,
917 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74,
918 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x48, 0x00, 0x52,
919 0x0d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x51,
920 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74,
921 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74,
922 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4c,
923 0x69, 0x73, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
924 0x48, 0x00, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73,
925 0x74, 0x3a, 0x2b, 0x9a, 0xc5, 0x88, 0x1e, 0x26, 0x0a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
926 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76,
927 0x32, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x14,
928 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x12,
929 0x03, 0xf8, 0x42, 0x01, 0x22, 0xa8, 0x01, 0x0a, 0x0c, 0x54, 0x61, 0x67, 0x53, 0x70, 0x65, 0x63,
930 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d,
931 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65,
932 0x12, 0x20, 0x0a, 0x05, 0x72, 0x65, 0x67, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
933 0x08, 0xfa, 0x42, 0x05, 0x72, 0x03, 0x28, 0x80, 0x08, 0x48, 0x00, 0x52, 0x05, 0x72, 0x65, 0x67,
934 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0b, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75,
935 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x66, 0x69, 0x78, 0x65, 0x64,
936 0x56, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x2b, 0x9a, 0xc5, 0x88, 0x1e, 0x26, 0x0a, 0x24, 0x65, 0x6e,
937 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69,
938 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x61, 0x67, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69,
939 0x65, 0x72, 0x42, 0x0b, 0x0a, 0x09, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
940 0x92, 0x01, 0x0a, 0x17, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x42, 0x75, 0x63,
941 0x6b, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x44, 0x0a, 0x05, 0x6d,
942 0x61, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76,
943 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e,
944 0x76, 0x33, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72,
945 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x05, 0x6d, 0x61, 0x74, 0x63,
946 0x68, 0x12, 0x31, 0x0a, 0x07, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03,
947 0x28, 0x01, 0x42, 0x17, 0xfa, 0x42, 0x14, 0x92, 0x01, 0x11, 0x08, 0x01, 0x18, 0x01, 0x22, 0x0b,
948 0x12, 0x09, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x07, 0x62, 0x75, 0x63,
949 0x6b, 0x65, 0x74, 0x73, 0x22, 0xcf, 0x01, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x73, 0x64, 0x53,
950 0x69, 0x6e, 0x6b, 0x12, 0x39, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01,
951 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
952 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x64, 0x64, 0x72,
953 0x65, 0x73, 0x73, 0x48, 0x00, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2a,
954 0x0a, 0x10, 0x74, 0x63, 0x70, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61,
955 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x74, 0x63, 0x70, 0x43,
956 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72,
957 0x65, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66,
958 0x69, 0x78, 0x3a, 0x29, 0x9a, 0xc5, 0x88, 0x1e, 0x24, 0x0a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79,
959 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e,
960 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x64, 0x53, 0x69, 0x6e, 0x6b, 0x42, 0x17, 0x0a,
961 0x10, 0x73, 0x74, 0x61, 0x74, 0x73, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65,
962 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0x8f, 0x02, 0x0a, 0x0d, 0x44, 0x6f, 0x67, 0x53, 0x74,
963 0x61, 0x74, 0x73, 0x64, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x39, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72,
964 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
965 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33,
966 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x48, 0x00, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72,
967 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20,
968 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x5a, 0x0a, 0x16, 0x6d,
969 0x61, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74,
970 0x61, 0x67, 0x72, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f,
971 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49,
972 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x32, 0x02,
973 0x20, 0x00, 0x52, 0x13, 0x6d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x50, 0x65, 0x72, 0x44,
974 0x61, 0x74, 0x61, 0x67, 0x72, 0x61, 0x6d, 0x3a, 0x2c, 0x9a, 0xc5, 0x88, 0x1e, 0x27, 0x0a, 0x25,
975 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74,
976 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x6f, 0x67, 0x53, 0x74, 0x61, 0x74, 0x73,
977 0x64, 0x53, 0x69, 0x6e, 0x6b, 0x42, 0x1b, 0x0a, 0x14, 0x64, 0x6f, 0x67, 0x5f, 0x73, 0x74, 0x61,
978 0x74, 0x73, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x03, 0xf8,
979 0x42, 0x01, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x5a, 0x0a, 0x0b, 0x48, 0x79, 0x73, 0x74,
980 0x72, 0x69, 0x78, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x75, 0x6d, 0x5f, 0x62,
981 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x75,
982 0x6d, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x3a, 0x2a, 0x9a, 0xc5, 0x88, 0x1e, 0x25, 0x0a,
983 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65,
984 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x48, 0x79, 0x73, 0x74, 0x72, 0x69, 0x78,
985 0x53, 0x69, 0x6e, 0x6b, 0x42, 0x87, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a,
986 0x25, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65,
987 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6d, 0x65, 0x74, 0x72,
988 0x69, 0x63, 0x73, 0x2e, 0x76, 0x33, 0x42, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x73, 0x50, 0x72, 0x6f,
989 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
990 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63,
991 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76,
992 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
993 0x73, 0x2f, 0x76, 0x33, 0x3b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x76, 0x33, 0x62, 0x06,
994 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
995 }
996
997 var (
998 file_envoy_config_metrics_v3_stats_proto_rawDescOnce sync.Once
999 file_envoy_config_metrics_v3_stats_proto_rawDescData = file_envoy_config_metrics_v3_stats_proto_rawDesc
1000 )
1001
1002 func file_envoy_config_metrics_v3_stats_proto_rawDescGZIP() []byte {
1003 file_envoy_config_metrics_v3_stats_proto_rawDescOnce.Do(func() {
1004 file_envoy_config_metrics_v3_stats_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_metrics_v3_stats_proto_rawDescData)
1005 })
1006 return file_envoy_config_metrics_v3_stats_proto_rawDescData
1007 }
1008
1009 var file_envoy_config_metrics_v3_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
1010 var file_envoy_config_metrics_v3_stats_proto_goTypes = []interface{}{
1011 (*StatsSink)(nil), // 0: envoy.config.metrics.v3.StatsSink
1012 (*StatsConfig)(nil), // 1: envoy.config.metrics.v3.StatsConfig
1013 (*StatsMatcher)(nil), // 2: envoy.config.metrics.v3.StatsMatcher
1014 (*TagSpecifier)(nil), // 3: envoy.config.metrics.v3.TagSpecifier
1015 (*HistogramBucketSettings)(nil), // 4: envoy.config.metrics.v3.HistogramBucketSettings
1016 (*StatsdSink)(nil), // 5: envoy.config.metrics.v3.StatsdSink
1017 (*DogStatsdSink)(nil), // 6: envoy.config.metrics.v3.DogStatsdSink
1018 (*HystrixSink)(nil), // 7: envoy.config.metrics.v3.HystrixSink
1019 (*anypb.Any)(nil), // 8: google.protobuf.Any
1020 (*wrapperspb.BoolValue)(nil), // 9: google.protobuf.BoolValue
1021 (*v3.ListStringMatcher)(nil), // 10: envoy.type.matcher.v3.ListStringMatcher
1022 (*v3.StringMatcher)(nil), // 11: envoy.type.matcher.v3.StringMatcher
1023 (*v31.Address)(nil), // 12: envoy.config.core.v3.Address
1024 (*wrapperspb.UInt64Value)(nil), // 13: google.protobuf.UInt64Value
1025 }
1026 var file_envoy_config_metrics_v3_stats_proto_depIdxs = []int32{
1027 8, // 0: envoy.config.metrics.v3.StatsSink.typed_config:type_name -> google.protobuf.Any
1028 3, // 1: envoy.config.metrics.v3.StatsConfig.stats_tags:type_name -> envoy.config.metrics.v3.TagSpecifier
1029 9, // 2: envoy.config.metrics.v3.StatsConfig.use_all_default_tags:type_name -> google.protobuf.BoolValue
1030 2, // 3: envoy.config.metrics.v3.StatsConfig.stats_matcher:type_name -> envoy.config.metrics.v3.StatsMatcher
1031 4, // 4: envoy.config.metrics.v3.StatsConfig.histogram_bucket_settings:type_name -> envoy.config.metrics.v3.HistogramBucketSettings
1032 10, // 5: envoy.config.metrics.v3.StatsMatcher.exclusion_list:type_name -> envoy.type.matcher.v3.ListStringMatcher
1033 10, // 6: envoy.config.metrics.v3.StatsMatcher.inclusion_list:type_name -> envoy.type.matcher.v3.ListStringMatcher
1034 11, // 7: envoy.config.metrics.v3.HistogramBucketSettings.match:type_name -> envoy.type.matcher.v3.StringMatcher
1035 12, // 8: envoy.config.metrics.v3.StatsdSink.address:type_name -> envoy.config.core.v3.Address
1036 12, // 9: envoy.config.metrics.v3.DogStatsdSink.address:type_name -> envoy.config.core.v3.Address
1037 13, // 10: envoy.config.metrics.v3.DogStatsdSink.max_bytes_per_datagram:type_name -> google.protobuf.UInt64Value
1038 11, // [11:11] is the sub-list for method output_type
1039 11, // [11:11] is the sub-list for method input_type
1040 11, // [11:11] is the sub-list for extension type_name
1041 11, // [11:11] is the sub-list for extension extendee
1042 0, // [0:11] is the sub-list for field type_name
1043 }
1044
1045 func init() { file_envoy_config_metrics_v3_stats_proto_init() }
1046 func file_envoy_config_metrics_v3_stats_proto_init() {
1047 if File_envoy_config_metrics_v3_stats_proto != nil {
1048 return
1049 }
1050 if !protoimpl.UnsafeEnabled {
1051 file_envoy_config_metrics_v3_stats_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1052 switch v := v.(*StatsSink); i {
1053 case 0:
1054 return &v.state
1055 case 1:
1056 return &v.sizeCache
1057 case 2:
1058 return &v.unknownFields
1059 default:
1060 return nil
1061 }
1062 }
1063 file_envoy_config_metrics_v3_stats_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1064 switch v := v.(*StatsConfig); i {
1065 case 0:
1066 return &v.state
1067 case 1:
1068 return &v.sizeCache
1069 case 2:
1070 return &v.unknownFields
1071 default:
1072 return nil
1073 }
1074 }
1075 file_envoy_config_metrics_v3_stats_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1076 switch v := v.(*StatsMatcher); i {
1077 case 0:
1078 return &v.state
1079 case 1:
1080 return &v.sizeCache
1081 case 2:
1082 return &v.unknownFields
1083 default:
1084 return nil
1085 }
1086 }
1087 file_envoy_config_metrics_v3_stats_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1088 switch v := v.(*TagSpecifier); i {
1089 case 0:
1090 return &v.state
1091 case 1:
1092 return &v.sizeCache
1093 case 2:
1094 return &v.unknownFields
1095 default:
1096 return nil
1097 }
1098 }
1099 file_envoy_config_metrics_v3_stats_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1100 switch v := v.(*HistogramBucketSettings); i {
1101 case 0:
1102 return &v.state
1103 case 1:
1104 return &v.sizeCache
1105 case 2:
1106 return &v.unknownFields
1107 default:
1108 return nil
1109 }
1110 }
1111 file_envoy_config_metrics_v3_stats_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1112 switch v := v.(*StatsdSink); i {
1113 case 0:
1114 return &v.state
1115 case 1:
1116 return &v.sizeCache
1117 case 2:
1118 return &v.unknownFields
1119 default:
1120 return nil
1121 }
1122 }
1123 file_envoy_config_metrics_v3_stats_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1124 switch v := v.(*DogStatsdSink); i {
1125 case 0:
1126 return &v.state
1127 case 1:
1128 return &v.sizeCache
1129 case 2:
1130 return &v.unknownFields
1131 default:
1132 return nil
1133 }
1134 }
1135 file_envoy_config_metrics_v3_stats_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1136 switch v := v.(*HystrixSink); i {
1137 case 0:
1138 return &v.state
1139 case 1:
1140 return &v.sizeCache
1141 case 2:
1142 return &v.unknownFields
1143 default:
1144 return nil
1145 }
1146 }
1147 }
1148 file_envoy_config_metrics_v3_stats_proto_msgTypes[0].OneofWrappers = []interface{}{
1149 (*StatsSink_TypedConfig)(nil),
1150 }
1151 file_envoy_config_metrics_v3_stats_proto_msgTypes[2].OneofWrappers = []interface{}{
1152 (*StatsMatcher_RejectAll)(nil),
1153 (*StatsMatcher_ExclusionList)(nil),
1154 (*StatsMatcher_InclusionList)(nil),
1155 }
1156 file_envoy_config_metrics_v3_stats_proto_msgTypes[3].OneofWrappers = []interface{}{
1157 (*TagSpecifier_Regex)(nil),
1158 (*TagSpecifier_FixedValue)(nil),
1159 }
1160 file_envoy_config_metrics_v3_stats_proto_msgTypes[5].OneofWrappers = []interface{}{
1161 (*StatsdSink_Address)(nil),
1162 (*StatsdSink_TcpClusterName)(nil),
1163 }
1164 file_envoy_config_metrics_v3_stats_proto_msgTypes[6].OneofWrappers = []interface{}{
1165 (*DogStatsdSink_Address)(nil),
1166 }
1167 type x struct{}
1168 out := protoimpl.TypeBuilder{
1169 File: protoimpl.DescBuilder{
1170 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1171 RawDescriptor: file_envoy_config_metrics_v3_stats_proto_rawDesc,
1172 NumEnums: 0,
1173 NumMessages: 8,
1174 NumExtensions: 0,
1175 NumServices: 0,
1176 },
1177 GoTypes: file_envoy_config_metrics_v3_stats_proto_goTypes,
1178 DependencyIndexes: file_envoy_config_metrics_v3_stats_proto_depIdxs,
1179 MessageInfos: file_envoy_config_metrics_v3_stats_proto_msgTypes,
1180 }.Build()
1181 File_envoy_config_metrics_v3_stats_proto = out.File
1182 file_envoy_config_metrics_v3_stats_proto_rawDesc = nil
1183 file_envoy_config_metrics_v3_stats_proto_goTypes = nil
1184 file_envoy_config_metrics_v3_stats_proto_depIdxs = nil
1185 }