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

new relic latest-centos image isnt posting results to NR #46

Open
choudrybabu opened this issue Jan 25, 2023 · 0 comments
Open

new relic latest-centos image isnt posting results to NR #46

choudrybabu opened this issue Jan 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@choudrybabu
Copy link

Description

I was able to successfully create a container using latest-centos image and deploy the container , i dont see any scripts running
however when i run the scripts manually from container bash prompt , i see the results printed in the terminal , But i dont see those results posted to NR

Steps to Reproduce

here is the dockerfile
FROM newrelic/infrastructure:latest-centos
ADD newrelic-infra.yml /etc/newrelic-infra.yml

RUN yum update -y && yum install -y git

#Clone the git repo from github
RUN git clone https://github.com/newrelic/newrelic-snowflake-integration.git

#executable needed for the integration, downloaded from github repo
ADD snowflakeintegration-linux /newrelic-snowflake-integration/snowflakeintegration-linux

grant execute access on the file

RUN chmod +x /newrelic-snowflake-integration/snowflakeintegration-linux

#delete the github config file
RUN rm -rf /newrelic-snowflake-integration/config.yaml

#copy the modified wfs credentials config file
ADD config.yaml /newrelic-snowflake-integration/config.yaml

#flex file which calls queries and posts data to new relic
ADD flex-snowflake-linux.yml /etc/newrelic-infra/integrations.d/flex-snowflake-linux.yml

#define env variables
ENV NEWRELIC_SNOWFLAKE_HOME=/newrelic-snowflake-integration
ENV LD_LIBRARY_PATH=/lib64
ENV NEWRELIC_SNOWFLAKE_CONFIG_PATH=/newrelic-snowflake-integration/config.yaml

Expected Behavior

Relevant Logs / Console output

Your Environment

running on local via docker desktop

  • ex: Browser name and version:
  • ex: Operating System and version:

Additional context

@choudrybabu choudrybabu added the bug Something isn't working label Jan 25, 2023
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

1 participant