-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong "username" parameter in Snowflake sample configuration file example #9743
Comments
Hey @jmrprieto If you look inside the agent package on your host, the agent ships the correct version of the file What happened is that the very latest snowflake integration now recommends "username" for consistency with other integrations (but continue to support As a generic guidance, always look at the Hope it clears things up :) |
Definitely I used the wrong configuration file and I should've used the example provided with the agent itself. The problem is that this is not clearly stated in the configuration steps I followed [https://docs.datadoghq.com/integrations/snowflake/] here. So it may be a good idea to clarify that document a bit further? Thanks for the quick reply anyway. |
Agent deployed as docker image on Ubuntu 20 LTS
Steps to reproduce the issue:
Python Check Loader: could not configure check instance for python check snowflake: could not invoke 'snowflake' python check constructor. New constructor API returned: Traceback (most recent call last): File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/snowflake/check.py", line 39, in __init__ self._config = Config(self.instance) File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/snowflake/config.py", line 51, in __init__ raise ConfigurationError('Must specify a user') datadog_checks.base.errors.ConfigurationError: Must specify a user Deprecated constructor API returned: Traceback (most recent call last): File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/snowflake/check.py", line 39, in __init__ self._config = Config(self.instance) File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/snowflake/config.py", line 51, in __init__ raise ConfigurationError('Must specify a user') datadog_checks.base.errors.ConfigurationError: Must specify a user
Describe the results you received:
I got a quite cryptic error message.
Describe the results you expected:
I connection stablished to my Snowflake instance.
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: