Skip to content

Commit

Permalink
making span processor type configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
test authored and test committed Oct 2, 2024
1 parent c23ea67 commit 5e2271d
Show file tree
Hide file tree
Showing 4 changed files with 247 additions and 134 deletions.
15 changes: 15 additions & 0 deletions gen/go/proto/v1/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ message Reporting {

// When `true`, modifies grpc resolver to use dns instead of passthrough and configure round robin client side loadbalancing
google.protobuf.BoolValue enable_grpc_loadbalancing = 9;

// Configure the span processor type to be used for exporting
SpanProcessorType span_processor_type = 10;
}

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

enum SpanProcessorType {

// Default to none. Agent will use it's default reporting type
SPAN_PROCESSOR_TYPE_UNSPECIFIED = 0;

// Simple Span Processor
SPAN_PROCESSOR_TYPE_SIMPLE = 1;

// Batch Span Processor
SPAN_PROCESSOR_TYPE_BATCH = 2;
}

// JavaAgent has the configs specific to javaagent
message JavaAgent {
// filter_jar_paths is the list of path to filter jars, separated by `,`
Expand Down
Loading

0 comments on commit 5e2271d

Please sign in to comment.