open-telemetry / opamp-spec

OpAMP Specification
Apache License 2.0
102 stars 33 forks source link

TelemetryConnectionSettings should support all config options of the exporter #177

Open srikanthccv opened 8 months ago

srikanthccv commented 8 months ago

It's not possible to set protocol, compression, timeout, etc.. options with the TelemetryConnectionSettings https://github.com/open-telemetry/opamp-spec/blob/36c8e0a2eba98b939934632accb8e8253b4a0ea7/proto/opamp.proto#L269-L293

This leaves an ambiguity to the agent on whether to use the OTLP gRPC exporter or HTTP exporter to report its own telemetry. The TelemetryConnectionSettings should be extended to support all exporter config options.

tigrannajaryan commented 8 months ago

This leaves an ambiguity to the agent on whether to use the OTLP gRPC exporter or HTTP exporter to report its own telemetry.

The spec requires OTLP/HTTP: https://github.com/open-telemetry/opamp-spec/blob/main/specification.md#own-telemetry-reporting