The Simplest Way to Make New Relic and Snowflake Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Using new relic and snowflake together lets teams watch query health and warehouse spend. This setup sends database metrics to your dashboard so engineers spot slow runs fast. Data teams run thousands of jobs every day inside their cloud warehouse. Platform teams need clear visibility into those runs to keep costs down. When both tools share metrics, engineers fix broken pipelines before business reports fail. You get one place to check app telemetry and warehouse performance side by side. Ho

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Using new relic and snowflake together lets teams watch query health and warehouse spend. This setup sends database metrics to your dashboard so engineers spot slow runs fast.

Data teams run thousands of jobs every day inside their cloud warehouse. Platform teams need clear visibility into those runs to keep costs down. When both tools share metrics, engineers fix broken pipelines before business reports fail. You get one place to check app telemetry and warehouse performance side by side.

How new relic and snowflake share data and permissions

The monitoring agent reads usage views from your warehouse on a set schedule. You create a dedicated role in Snowflake with read permissions on system stats. Then the collector logs in with a key pair to pull those metrics. It sends query time, queue depth, and credit burn to your telemetry account.

Data can also move in the other direction for long term storage. Teams often export old app logs into warehouse tables for deep SQL analysis. Both flows rely on service accounts that hold specific role permissions. Keeping those permissions tight stops a collector from reading private customer tables.

Common failure modes and how to scope roles

Many teams make the mistake of using an admin role for their collector. A broad role lets the monitoring tool read sensitive tables across every schema. If someone steals that key, they can pull raw records like emails or card numbers. Shared service accounts also make it hard to see who ran a bad query.

Another common issue is running heavy metric queries too often. If the collector polls every few seconds, the warehouse never goes to sleep. That keeps compute nodes awake all night and drives up your monthly bill. Unlogged manual queries during an incident create even more confusion for security reviewers.

Snowflake Access Control + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

You can fix this by giving the collector a narrow custom role. Grant read permissions only on the specific metadata views needed for alerts. Assign a tiny compute warehouse just for monitoring jobs with a fast auto suspend. Use network rules so only known collector IP ranges can start a session.

Handling live incidents across your data stack

Alerts tell you when a warehouse queue spikes or a pipeline stalls. Once an alert fires, an engineer has to check the live database state. Dashboards show the symptom, but fixing the root cause requires running diagnostic SQL.

During an outage, teams often share static database passwords to save time. That habit breaks audit trails and leaves old keys sitting on laptops. Instead, tie every diagnostic session to an individual identity from your directory. Set up data masking so queries rewrite emails and phone numbers in results. This keeps sensitive records safe while engineers fix slow queries.

Add runtime guardrails and masking beside your databases and APIs

Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.

Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.

Frequently asked questions

What permissions does New Relic need inside Snowflake?

Give the collector role read permissions only on account usage and metadata schemas. Never grant read rights on production tables that hold customer data.

How do we stop metric polling from raising warehouse compute costs?

Run the collector on a small warehouse that suspends right after each query. Set the polling schedule to match how often Snowflake updates its usage views.

How should engineers check slow queries after an alert fires?

Engineers should log in with their own SSO identity instead of a shared key. Use role rules and field masking to rewrite card numbers and national IDs in results.

The query runs. The emails stay hidden.