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
Update:
I am getting data in NewRelic now but it's not as expected.
SELECT * FROM SnowflakeVirtualWarehouse SINCE 2 minutes ago gives me:
SELECT * FROM SnowflakeAccount SINCE 2 minutes ago gives me:
ERROR=exit status 127
ERROR EXEC=$$NEWRELIC_SNOWFLAKE_HOME/snowflakeintegration-linux $$NEWRELIC_SNOWFLAKE_HOME/config.yaml $$NEWRELIC_SNOWFLAKE_HOME/queries/database_storage_usage.sql
Error Msg: /bin/sh: 28276NEWRELIC_SNOWFLAKE_HOME/snowflakeintegration-linux: No such file or directory
Event Type: SnowflakeAccount
Snowflake Account: $SNOWSQL_ACCOUNT
Metric Type: snowflake.database_storage
Why it is sending $SNOWSQL_ACCOUNT or $$NEWRELIC_SNOWFLAKE_HOME/queries/database_storage_usage.sql? I think it's not able to convert the env variables? I am using AWS Linux Image.
If I replace all $$ env variables from /etc/newrelic-infra/integrations.d/flex-snowflake-linux.yml with actual values, it works. So things are inclined towards env variables setup issue.
Description
I followed the installation steps mentioned in the README. I cannot see Snowflake events in NewRelic.
Here is my config.yaml file:
I have commented
# warehouse: DEMO_WH
as I want to monitor all warehouses. I hope I am right here in my understanding of that config variable.When I checked last login in Snowflake for NEWRELIC_AGENT, I didn't see that it logged in ever.
My infra agent is sending logs to NewRelic, but nothing of Snowflake.
In NewRelic, I am checking the data in Data Explorer > Events > Event Type = SnowflakeAccount
Steps to Reproduce
I followed the steps mentioned in the README. Updated config.yaml as mentioned there.
Expected Behavior
If someone follows the README steps, things should work like a charm.
Relevant Logs / Console output
My
/var/log/newrelic-infra/
directory is empty.Contents of my /etc/systemd/system/newrelic-infra.service
Here are last few messages from
sudo cat /var/log/messages | grep 'newrelic-infra-service'
Your Environment
Infra agent installed on AWS EC2 T2.micro using Amazon Linux
amzn2-ami-kernel-5.10-hvm-2.0.20211201.0-x86_64-gp2
The text was updated successfully, but these errors were encountered: