| 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/trace/v3/datadog.proto |
| 6 |
|
| 7 |
package tracev3 |
| 8 |
|
| 9 |
import ( |
| 10 |
_ "github.com/cncf/xds/go/udpa/annotations" |
| 11 |
_ "github.com/envoyproxy/protoc-gen-validate/validate" |
| 12 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 13 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 14 |
durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 15 |
reflect "reflect" |
| 16 |
sync "sync" |
| 17 |
) |
| 18 |
|
| 19 |
const ( |
| 20 |
// Verify that this generated code is sufficiently up-to-date. |
| 21 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 22 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 23 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 24 |
) |
| 25 |
|
| 26 |
// Configuration for the Remote Configuration feature. |
| 27 |
type DatadogRemoteConfig struct { |
| 28 |
state protoimpl.MessageState |
| 29 |
sizeCache protoimpl.SizeCache |
| 30 |
unknownFields protoimpl.UnknownFields |
| 31 |
|
| 32 |
// Frequency at which new configuration updates are queried. |
| 33 |
// If no value is provided, the default value is delegated to the Datadog tracing library. |
| 34 |
PollingInterval *durationpb.Duration `protobuf:"bytes,1,opt,name=polling_interval,json=pollingInterval,proto3" json:"polling_interval,omitempty"` |
| 35 |
} |
| 36 |
|
| 37 |
func (x *DatadogRemoteConfig) Reset() { |
| 38 |
*x = DatadogRemoteConfig{} |
| 39 |
if protoimpl.UnsafeEnabled { |
| 40 |
mi := &file_envoy_config_trace_v3_datadog_proto_msgTypes[0] |
| 41 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 42 |
ms.StoreMessageInfo(mi) |
| 43 |
} |
| 44 |
} |
| 45 |
|
| 46 |
func (x *DatadogRemoteConfig) String() string { |
| 47 |
return protoimpl.X.MessageStringOf(x) |
| 48 |
} |
| 49 |
|
| 50 |
func (*DatadogRemoteConfig) ProtoMessage() {} |
| 51 |
|
| 52 |
func (x *DatadogRemoteConfig) ProtoReflect() protoreflect.Message { |
| 53 |
mi := &file_envoy_config_trace_v3_datadog_proto_msgTypes[0] |
| 54 |
if protoimpl.UnsafeEnabled && x != nil { |
| 55 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 56 |
if ms.LoadMessageInfo() == nil { |
| 57 |
ms.StoreMessageInfo(mi) |
| 58 |
} |
| 59 |
return ms |
| 60 |
} |
| 61 |
return mi.MessageOf(x) |
| 62 |
} |
| 63 |
|
| 64 |
// Deprecated: Use DatadogRemoteConfig.ProtoReflect.Descriptor instead. |
| 65 |
func (*DatadogRemoteConfig) Descriptor() ([]byte, []int) { |
| 66 |
return file_envoy_config_trace_v3_datadog_proto_rawDescGZIP(), []int{0} |
| 67 |
} |
| 68 |
|
| 69 |
func (x *DatadogRemoteConfig) GetPollingInterval() *durationpb.Duration { |
| 70 |
if x != nil { |
| 71 |
return x.PollingInterval |
| 72 |
} |
| 73 |
return nil |
| 74 |
} |
| 75 |
|
| 76 |
// Configuration for the Datadog tracer. |
| 77 |
// [#extension: envoy.tracers.datadog] |
| 78 |
type DatadogConfig struct { |
| 79 |
state protoimpl.MessageState |
| 80 |
sizeCache protoimpl.SizeCache |
| 81 |
unknownFields protoimpl.UnknownFields |
| 82 |
|
| 83 |
// The cluster to use for submitting traces to the Datadog agent. |
| 84 |
CollectorCluster string `protobuf:"bytes,1,opt,name=collector_cluster,json=collectorCluster,proto3" json:"collector_cluster,omitempty"` |
| 85 |
// The name used for the service when traces are generated by envoy. |
| 86 |
ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` |
| 87 |
// Optional hostname to use when sending spans to the collector_cluster. Useful for collectors |
| 88 |
// that require a specific hostname. Defaults to :ref:`collector_cluster <envoy_v3_api_field_config.trace.v3.DatadogConfig.collector_cluster>` above. |
| 89 |
CollectorHostname string `protobuf:"bytes,3,opt,name=collector_hostname,json=collectorHostname,proto3" json:"collector_hostname,omitempty"` |
| 90 |
// Enables and configures remote configuration. |
| 91 |
// Remote Configuration allows to configure the tracer from Datadog's user interface. |
| 92 |
// This feature can drastically increase the number of connections to the Datadog Agent. |
| 93 |
// Each tracer regularly polls for configuration updates, and the number of tracers is the product |
| 94 |
// of the number of listeners and worker threads. |
| 95 |
RemoteConfig *DatadogRemoteConfig `protobuf:"bytes,4,opt,name=remote_config,json=remoteConfig,proto3" json:"remote_config,omitempty"` |
| 96 |
} |
| 97 |
|
| 98 |
func (x *DatadogConfig) Reset() { |
| 99 |
*x = DatadogConfig{} |
| 100 |
if protoimpl.UnsafeEnabled { |
| 101 |
mi := &file_envoy_config_trace_v3_datadog_proto_msgTypes[1] |
| 102 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 103 |
ms.StoreMessageInfo(mi) |
| 104 |
} |
| 105 |
} |
| 106 |
|
| 107 |
func (x *DatadogConfig) String() string { |
| 108 |
return protoimpl.X.MessageStringOf(x) |
| 109 |
} |
| 110 |
|
| 111 |
func (*DatadogConfig) ProtoMessage() {} |
| 112 |
|
| 113 |
func (x *DatadogConfig) ProtoReflect() protoreflect.Message { |
| 114 |
mi := &file_envoy_config_trace_v3_datadog_proto_msgTypes[1] |
| 115 |
if protoimpl.UnsafeEnabled && x != nil { |
| 116 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 117 |
if ms.LoadMessageInfo() == nil { |
| 118 |
ms.StoreMessageInfo(mi) |
| 119 |
} |
| 120 |
return ms |
| 121 |
} |
| 122 |
return mi.MessageOf(x) |
| 123 |
} |
| 124 |
|
| 125 |
// Deprecated: Use DatadogConfig.ProtoReflect.Descriptor instead. |
| 126 |
func (*DatadogConfig) Descriptor() ([]byte, []int) { |
| 127 |
return file_envoy_config_trace_v3_datadog_proto_rawDescGZIP(), []int{1} |
| 128 |
} |
| 129 |
|
| 130 |
func (x *DatadogConfig) GetCollectorCluster() string { |
| 131 |
if x != nil { |
| 132 |
return x.CollectorCluster |
| 133 |
} |
| 134 |
return "" |
| 135 |
} |
| 136 |
|
| 137 |
func (x *DatadogConfig) GetServiceName() string { |
| 138 |
if x != nil { |
| 139 |
return x.ServiceName |
| 140 |
} |
| 141 |
return "" |
| 142 |
} |
| 143 |
|
| 144 |
func (x *DatadogConfig) GetCollectorHostname() string { |
| 145 |
if x != nil { |
| 146 |
return x.CollectorHostname |
| 147 |
} |
| 148 |
return "" |
| 149 |
} |
| 150 |
|
| 151 |
func (x *DatadogConfig) GetRemoteConfig() *DatadogRemoteConfig { |
| 152 |
if x != nil { |
| 153 |
return x.RemoteConfig |
| 154 |
} |
| 155 |
return nil |
| 156 |
} |
| 157 |
|
| 158 |
var File_envoy_config_trace_v3_datadog_proto protoreflect.FileDescriptor |
| 159 |
|
| 160 |
var file_envoy_config_trace_v3_datadog_proto_rawDesc = []byte{ |
| 161 |
0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74, |
| 162 |
0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, |
| 163 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, |
| 164 |
0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1e, 0x67, 0x6f, |
| 165 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, |
| 166 |
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, |
| 167 |
0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, |
| 168 |
0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, |
| 169 |
0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, |
| 170 |
0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, |
| 171 |
0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, |
| 172 |
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, |
| 173 |
0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, |
| 174 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x13, 0x44, 0x61, 0x74, 0x61, 0x64, |
| 175 |
0x6f, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x44, |
| 176 |
0x0a, 0x10, 0x70, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, |
| 177 |
0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 178 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, |
| 179 |
0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x70, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x74, 0x65, |
| 180 |
0x72, 0x76, 0x61, 0x6c, 0x22, 0x9d, 0x02, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, |
| 181 |
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x34, 0x0a, 0x11, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, |
| 182 |
0x74, 0x6f, 0x72, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 183 |
0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x10, 0x63, 0x6f, 0x6c, 0x6c, |
| 184 |
0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x0c, |
| 185 |
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, |
| 186 |
0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x73, 0x65, 0x72, |
| 187 |
0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, 0x6c, 0x6c, |
| 188 |
0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, |
| 189 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x48, |
| 190 |
0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, |
| 191 |
0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, |
| 192 |
0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, |
| 193 |
0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x52, 0x65, |
| 194 |
0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x72, 0x65, 0x6d, 0x6f, |
| 195 |
0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x2a, 0x9a, 0xc5, 0x88, 0x1e, 0x25, 0x0a, |
| 196 |
0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, |
| 197 |
0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x43, 0x6f, |
| 198 |
0x6e, 0x66, 0x69, 0x67, 0x42, 0xb3, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x2a, 0x12, 0x28, 0x65, |
| 199 |
0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, |
| 200 |
0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, |
| 201 |
0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, |
| 202 |
0x23, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, |
| 203 |
0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, |
| 204 |
0x65, 0x2e, 0x76, 0x33, 0x42, 0x0c, 0x44, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x50, 0x72, 0x6f, |
| 205 |
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, |
| 206 |
0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, |
| 207 |
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, |
| 208 |
0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2f, |
| 209 |
0x76, 0x33, 0x3b, 0x74, 0x72, 0x61, 0x63, 0x65, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, |
| 210 |
0x6f, 0x33, |
| 211 |
} |
| 212 |
|
| 213 |
var ( |
| 214 |
file_envoy_config_trace_v3_datadog_proto_rawDescOnce sync.Once |
| 215 |
file_envoy_config_trace_v3_datadog_proto_rawDescData = file_envoy_config_trace_v3_datadog_proto_rawDesc |
| 216 |
) |
| 217 |
|
| 218 |
func file_envoy_config_trace_v3_datadog_proto_rawDescGZIP() []byte { |
| 219 |
file_envoy_config_trace_v3_datadog_proto_rawDescOnce.Do(func() { |
| 220 |
file_envoy_config_trace_v3_datadog_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v3_datadog_proto_rawDescData) |
| 221 |
}) |
| 222 |
return file_envoy_config_trace_v3_datadog_proto_rawDescData |
| 223 |
} |
| 224 |
|
| 225 |
var file_envoy_config_trace_v3_datadog_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 226 |
var file_envoy_config_trace_v3_datadog_proto_goTypes = []interface{}{ |
| 227 |
(*DatadogRemoteConfig)(nil), // 0: envoy.config.trace.v3.DatadogRemoteConfig |
| 228 |
(*DatadogConfig)(nil), // 1: envoy.config.trace.v3.DatadogConfig |
| 229 |
(*durationpb.Duration)(nil), // 2: google.protobuf.Duration |
| 230 |
} |
| 231 |
var file_envoy_config_trace_v3_datadog_proto_depIdxs = []int32{ |
| 232 |
2, // 0: envoy.config.trace.v3.DatadogRemoteConfig.polling_interval:type_name -> google.protobuf.Duration |
| 233 |
0, // 1: envoy.config.trace.v3.DatadogConfig.remote_config:type_name -> envoy.config.trace.v3.DatadogRemoteConfig |
| 234 |
2, // [2:2] is the sub-list for method output_type |
| 235 |
2, // [2:2] is the sub-list for method input_type |
| 236 |
2, // [2:2] is the sub-list for extension type_name |
| 237 |
2, // [2:2] is the sub-list for extension extendee |
| 238 |
0, // [0:2] is the sub-list for field type_name |
| 239 |
} |
| 240 |
|
| 241 |
func init() { file_envoy_config_trace_v3_datadog_proto_init() } |
| 242 |
func file_envoy_config_trace_v3_datadog_proto_init() { |
| 243 |
if File_envoy_config_trace_v3_datadog_proto != nil { |
| 244 |
return |
| 245 |
} |
| 246 |
if !protoimpl.UnsafeEnabled { |
| 247 |
file_envoy_config_trace_v3_datadog_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 248 |
switch v := v.(*DatadogRemoteConfig); i { |
| 249 |
case 0: |
| 250 |
return &v.state |
| 251 |
case 1: |
| 252 |
return &v.sizeCache |
| 253 |
case 2: |
| 254 |
return &v.unknownFields |
| 255 |
default: |
| 256 |
return nil |
| 257 |
} |
| 258 |
} |
| 259 |
file_envoy_config_trace_v3_datadog_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 260 |
switch v := v.(*DatadogConfig); i { |
| 261 |
case 0: |
| 262 |
return &v.state |
| 263 |
case 1: |
| 264 |
return &v.sizeCache |
| 265 |
case 2: |
| 266 |
return &v.unknownFields |
| 267 |
default: |
| 268 |
return nil |
| 269 |
} |
| 270 |
} |
| 271 |
} |
| 272 |
type x struct{} |
| 273 |
out := protoimpl.TypeBuilder{ |
| 274 |
File: protoimpl.DescBuilder{ |
| 275 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 276 |
RawDescriptor: file_envoy_config_trace_v3_datadog_proto_rawDesc, |
| 277 |
NumEnums: 0, |
| 278 |
NumMessages: 2, |
| 279 |
NumExtensions: 0, |
| 280 |
NumServices: 0, |
| 281 |
}, |
| 282 |
GoTypes: file_envoy_config_trace_v3_datadog_proto_goTypes, |
| 283 |
DependencyIndexes: file_envoy_config_trace_v3_datadog_proto_depIdxs, |
| 284 |
MessageInfos: file_envoy_config_trace_v3_datadog_proto_msgTypes, |
| 285 |
}.Build() |
| 286 |
File_envoy_config_trace_v3_datadog_proto = out.File |
| 287 |
file_envoy_config_trace_v3_datadog_proto_rawDesc = nil |
| 288 |
file_envoy_config_trace_v3_datadog_proto_goTypes = nil |
| 289 |
file_envoy_config_trace_v3_datadog_proto_depIdxs = nil |
| 290 |
} |