You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have multiple tsdb query instances hebind nginx, and I access my data through tsdb.domain.com, when I use this library, an IP must be used when set client.host(), why doest opentsdb-client not support hostnames?
The text was updated successfully, but these errors were encountered:
Thanks for the bringing this to my attention. The reason why the lib does not support hostnames is that I never had the use case; OpenTSDB instances were registered in a service registry via their IP.
Feel free to fork and submit a pull request to provide hostname support. Thanks!
fixesopentsdb-js#2
instead of trying to verify/parse all the possible
available domain name formats (which now include more
than just ascii chars), this approach allows the calling
client to explicitly disable host/ip verification.
This change is backwards compatible, relying on a new, optional
argument.
I have multiple tsdb query instances hebind nginx, and I access my data through tsdb.domain.com, when I use this library, an IP must be used when set client.host(), why doest opentsdb-client not support hostnames?
The text was updated successfully, but these errors were encountered: