Skip to content

Commit 5e2271d

Browse files
testtest
authored andcommitted
making span processor type configurable
1 parent c23ea67 commit 5e2271d

File tree

4 files changed

+247
-134
lines changed

4 files changed

+247
-134
lines changed

gen/go/proto/v1/config.proto

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ message Reporting {
7373

7474
// When `true`, modifies grpc resolver to use dns instead of passthrough and configure round robin client side loadbalancing
7575
google.protobuf.BoolValue enable_grpc_loadbalancing = 9;
76+
77+
// Configure the span processor type to be used for exporting
78+
SpanProcessorType span_processor_type = 10;
7679
}
7780

7881
// Message describes what message should be considered for certain DataCapture option
@@ -173,6 +176,18 @@ enum MetricReporterType {
173176
METRIC_REPORTER_TYPE_NONE = 4;
174177
}
175178

179+
enum SpanProcessorType {
180+
181+
// Default to none. Agent will use it's default reporting type
182+
SPAN_PROCESSOR_TYPE_UNSPECIFIED = 0;
183+
184+
// Simple Span Processor
185+
SPAN_PROCESSOR_TYPE_SIMPLE = 1;
186+
187+
// Batch Span Processor
188+
SPAN_PROCESSOR_TYPE_BATCH = 2;
189+
}
190+
176191
// JavaAgent has the configs specific to javaagent
177192
message JavaAgent {
178193
// filter_jar_paths is the list of path to filter jars, separated by `,`

0 commit comments

Comments
 (0)