Skip to content

Conversation

tim-mwangi
Copy link
Contributor

No description provided.

google.protobuf.BoolValue enable_grpc_loadbalancing = 9;

// Enable compression
google.protobuf.BoolValue compression_enabled = 10;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if otel supports other compression than gzip, do we want to take that input as an enum?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. Docs says just "gzip" for now. https://github.com/open-telemetry/opentelemetry-go/blob/ffeeee82a84a22216c39c5e52a999a3bc6d6ec4d/exporters/otlp/otlptrace/otlptracegrpc/options.go#L120

const (
	// NoCompression represents that no compression should be used.
	NoCompression Compression = iota
	// GzipCompression represents that gzip compression should be used.
	GzipCompression
)

https://github.com/open-telemetry/opentelemetry-go/blob/ffeeee82a84a22216c39c5e52a999a3bc6d6ec4d/exporters/otlp/otlplog/otlploghttp/config.go#L196

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh okay, I still feel an Enum might be more future proof.

@varkey98
Copy link
Collaborator

varkey98 commented Oct 6, 2025

Also since you had gotten rid of hypertrace agent directory go.mod file, shouldn't we be using just the traceable agent config?

@prodion23
Copy link
Contributor

agree w/ @varkey98

I think issue is goagent-src still uses/loads configs separately.. but at this point there is no reason not to switch to using a single config. (it'll be some work to migrate tpa/ebpf) away from using 2 configs.. but should make everything easier/simpler once done.

@tim-mwangi
Copy link
Contributor Author

yes. I thought about doing it in Traceablea/agent-config but backed off since it would be quite a huge lift. The changes have to be propagated to multiple agents using the config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants