-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Specifying: CHIA_EXPORTER_HOSTNAME=10.0.10.3:25166
results in the following error:
time="2023-01-15T15:06:24Z" level=error msg="dial tcp: address 10.0.10.3:25166:55400: too many colons in address"
Ergo, the accessible daemon port is always assumed to be the same as the one the target daemon is listening on, or hardcoded to 55400. In service mesh environments this is a false assumption and most of the time ports are dynamically configured and redirected to the default port, to avoid manual tweaking of configs since there's no flag or env parameter to override the listen port.
I'd recommend either having one option of:
CHIA_EXPORTER_URL
that defaults tolocalhost:55400
or infers the port from the config, which ever fits your design.CHIA_EXPORTER_HOSTNAME
that defaults tolocalhost
andCHIA_EXPORTER_PORT
that defaults to55400
or config inferring, again up to you.
Metadata
Metadata
Assignees
Labels
No labels