Skip to content
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

After Snowflake integration, data not available under SnoflakeAccount/Warehouse events #34

Open
hemamovishub opened this issue Aug 8, 2022 · 10 comments
Labels
bug Something isn't working

Comments

@hemamovishub
Copy link

hemamovishub commented Aug 8, 2022

I followed all the steps, I did not get any error. I could not figure out which would be the issue .

Screen Shot 2022-08-08 at 11 31 52 AM

@adlangx
Copy link

adlangx commented Aug 8, 2022

This issue may have a solution

#22 (comment)

@hemamovishub
Copy link
Author

I see errors as below under dimensions

/bin/sh: 1: 477628NEWRELIC_SNOWFLAKE_HOME/snowflakeintegration-macos: not found

@adlangx
Copy link

adlangx commented Aug 9, 2022

Try looking in the flexconfig that you put in the /etc/newrelic-infra/integrations.d directory (I think in your case it would be the flex-snowflake-mac.yml config). Replace $$NEWRELIC_SNOWFLAKE_HOME in that config with the actual path, for example /home//newrelic-snowflake-integration/

@hemamovishub
Copy link
Author

Yes I tried but not able to see the metrics yet

@adlangx
Copy link

adlangx commented Aug 9, 2022

I have the same issue. It appears that changing to the path instead of the variable had worked for someone in an earlier issue. I am not sure why it is not working now.

@hemamovishub
Copy link
Author

I replaced the path, still not working.

@adlangx
Copy link

adlangx commented Aug 10, 2022

Can you see if the Snowflake user that you have in the config.yml logs in when you restart the service?

@adlangx
Copy link

adlangx commented Aug 10, 2022

We had a query that was hanging. Perhaps the same issue.

See #35

@hemamovishub
Copy link
Author

hemamovishub commented Aug 18, 2022

After I replaced the path, I am getting this error message:

/snapshot/newrelic-snowflake-integration/node_modules/snowflake-sdk/lib/errors.js:218 throw createError(errorTypes.MissingParameterError, ^ Error [MissingParameterError]: A user name must be specified. at createError (/snapshot/newrelic-snowflake-integration/node_modules/snowflake-sdk/lib/errors.js:535:15) at Object.checkArgumentExists (/snapshot/newrelic-snowflake-integration/node_modules/snowflake-sdk/lib/errors.js:218:11) at new ConnectionConfig (/snapshot/newrelic-snowflake-integration/node_modules/snowflake-sdk/lib/connection/connection_config.js:142:12) at createConnection (/snapshot/newrelic-snowflake-integration/node_modules/snowflake-sdk/lib/core.js:73:7) at Object.createConnection (/snapshot/newrelic-snowflake-integration/node_modules/snowflake-sdk/lib/core.js:97:16) at Object. (/snapshot/newrelic-snowflake-integration/snowflake.js:87:26) at Module._compile (pkg/prelude/bootstrap.js:1320:22) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1156:10) at Module.load (internal/modules/cjs/loader.js:984:32) at Function.Module._load (internal/modules/cjs/loader.js:877:14) { code: 404003, sqlState: undefined, data: undefined, response: undefined, responseBody: undefined, cause: undefined, isFatal: undefined }

@thatguythat1031
Copy link

After I replaced the path, I am getting this error message:

/snapshot/newrelic-snowflake-integration/node_modules/snowflake-sdk/lib/errors.js:218 throw createError(errorTypes.MissingParameterError, ^ Error [MissingParameterError]: A user name must be specified. at createError (/snapshot/newrelic-snowflake-integration/node_modules/snowflake-sdk/lib/errors.js:535:15) at Object.checkArgumentExists (/snapshot/newrelic-snowflake-integration/node_modules/snowflake-sdk/lib/errors.js:218:11) at new ConnectionConfig (/snapshot/newrelic-snowflake-integration/node_modules/snowflake-sdk/lib/connection/connection_config.js:142:12) at createConnection (/snapshot/newrelic-snowflake-integration/node_modules/snowflake-sdk/lib/core.js:73:7) at Object.createConnection (/snapshot/newrelic-snowflake-integration/node_modules/snowflake-sdk/lib/core.js:97:16) at Object. (/snapshot/newrelic-snowflake-integration/snowflake.js:87:26) at Module._compile (pkg/prelude/bootstrap.js:1320:22) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1156:10) at Module.load (internal/modules/cjs/loader.js:984:32) at Function.Module._load (internal/modules/cjs/loader.js:877:14) { code: 404003, sqlState: undefined, data: undefined, response: undefined, responseBody: undefined, cause: undefined, isFatal: undefined }

I had this same error and found that the problem was specifying credentials.username instead of credentials.user in the config.yaml file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants