Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
static-analysis:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion gen/go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.24
require (
github.com/ghodss/yaml v1.0.0
github.com/stretchr/testify v1.11.1
google.golang.org/protobuf v1.36.10
google.golang.org/protobuf v1.36.11
)

require (
Expand Down
4 changes: 2 additions & 2 deletions gen/go/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
google.golang.org/protobuf v1.36.10 h1:AYd7cD/uASjIL6Q9LiTjz8JLcrh/88q5UObnmY3aOOE=
google.golang.org/protobuf v1.36.10/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE=
google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
Expand Down
12 changes: 12 additions & 0 deletions gen/go/proto/v1/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ message Reporting {

// Compression type
CompressionType compression_type = 10;

// Span Processor type
SpanProcessorType span_processor_type = 11;
}

// Message describes what message should be considered for certain DataCapture option
Expand Down Expand Up @@ -155,6 +158,15 @@ enum TraceReporterType {
OTLP_HTTP = 5;
}

enum SpanProcessorType {
// Default to none. Agent will use it's default span processor(typically batch)
SPAN_PROCESSOR_TYPE_UNSPECIFIED = 0;

SPAN_PROCESSOR_TYPE_BATCH = 1;

SPAN_PROCESSOR_TYPE_SIMPLE = 2;
}

// MetricReporterType represents the reporting format for metric data.
enum MetricReporterType {

Expand Down
204 changes: 135 additions & 69 deletions gen/go/v1/config.pb.go

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions gen/go/v1/config.pbloader.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions proto/hypertrace/agent/config/v1/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ message Reporting {

// Compression type
CompressionType compression_type = 10;

// Span Processor type
SpanProcessorType span_processor_type = 11;
}

// Message describes what message should be considered for certain DataCapture option
Expand Down Expand Up @@ -155,6 +158,15 @@ enum TraceReporterType {
OTLP_HTTP = 5;
}

enum SpanProcessorType {
// Default to none. Agent will use it's default span processor(typically batch)
SPAN_PROCESSOR_TYPE_UNSPECIFIED = 0;

SPAN_PROCESSOR_TYPE_BATCH = 1;

SPAN_PROCESSOR_TYPE_SIMPLE = 2;
}

// MetricReporterType represents the reporting format for metric data.
enum MetricReporterType {

Expand Down