newrelic-experimental / newrelic-snowflake-integration

New Relic integration with Snowflake to monitor query performance, logins, potential security incidents, optimise warehouse and cloud credit costs, capture any data stored in Snowflake for real-time alerting and reporting
Apache License 2.0
13 stars 17 forks source link

Add dockerfile for containerized collection #11

Closed duncaan closed 2 years ago

duncaan commented 3 years ago

Addresses #7

nbob31 commented 3 years ago

Any update when this can be merged?

matewilk commented 2 years ago

Hey @duncaan thanks so much for contributing to the repo.

I'll review and merge the PR as soon as possible.

@nbob31 you can simply copy and paste the Dockerfile to the root directory of your copy of the repo and execute it using Docker without waiting for the PR merge

matewilk commented 2 years ago

Hey @duncaan

When I run the integration with this Dockerfile, I'm getting two issues:

The first one, which prevents this docker container from running is that when the NR Infra agent starts, it reports that there is no config file for it (thus no license key) - and the container stops.

2021-11-02T11:17:19Z" level=error msg="can't load configuration file" component="New Relic Infrastructure Agent" error="no license key, please add it to agent's config file or NRIA_LICENSE_KEY environment variable"

The second one, is the one reported by @nbob31 in #18

It might be worth adding description to the Dockefile itself or to README.md what needs to be done in order to mitigate these two issues to run the integration using your Docker config successfully.

duncaan commented 2 years ago

@matewilk - I no longer have access to snowflake or NR, so I can't really help with bugfixes on this issue. Maybe someone else can help troubleshoot this issue.

CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Duncan Schulze seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.