Should the API always specify the subdomain?
Ataraxic opened this issue · comments
I followed the readme and attempted to get Kennel setup.
Our datadog account only exists in us5.
I couldn't get bundle exec rake plan
to pass without errors despite setting the subdomain.
I noticed here that we specify the subdomain as app overriding the environment variable because we have the ||= in Utils.
I started a branch and the specs passed. Testing it locally worked for me. Let me know if this is something that would be helpful or if I have misunderstood something.
Thanks.
try not setting the subdomain if that works I need to update the docs
afaik subdomain is needed for some legacy accounts
does this maybe do the trick ?
url = Utils.path_to_url("", subdomain: ENV["DATADOG_SUBDOMAIN"] || "app")
... if yes I can see if it works for us too
Yup yup.
confirmed that it's not needed ... was just a leftover from old code 🤷
1.148.0