-
Notifications
You must be signed in to change notification settings - Fork 913
Description
Is your feature request related to a problem? Please describe.
To point to an agent daemonset pod running on local node, the value has to be set in the kubernetes spec as v1:status.hostIP
(this cannot be set in code, not easily at least) , it would be very convenient to simply add a JAEGER_AGENT_HOST
env var that the exporter looks for without it being explicitly set in the exporter config, and if it is not set, default to localhost of course. please see `open-telemetry/opentelemetry-specification#172 (comment)
Describe the solution you'd like
JAEGER_AGENT_HOST
or JAEGER_HOST
whose value will be used as the host
in the exporter config, if set.
Describe alternatives you've considered
adding process.env.JAEGER_AGENT_HOST
in all projects that use open telemetry with jaeger exporter.
Additional context
status.hostIP - the node’s IP, available since v1.7.0-alpha.1