Debian Codegraph @

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