extensionmiddleware interface should accept context (original) (raw)

Component(s)

extensionmiddleware

What happened?

Interfaces like GRPCClient/GRPCServer for the option function should accept context as first param. This is important if to retrieve some option a remote call is needed, for example read TLS config from a sidecar.

Collector version

v0.144.0