The Simplest Way to Make Dynatrace and Looker Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Pairing dynatrace and looker brings live system health metrics straight into your business charts. Teams use this setup to compare app speed against sales and user signups. Dynatrace watches your servers, apps, and cloud workloads in real time. Looker turns raw database rows into clear charts for the whole company. When you link them, leaders see how slow code hurts daily sales. Engineers also see which fixing jobs will save the most money. How data and permissions flow between dynatrace and

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.

Pairing dynatrace and looker brings live system health metrics straight into your business charts. Teams use this setup to compare app speed against sales and user signups.

Dynatrace watches your servers, apps, and cloud workloads in real time. Looker turns raw database rows into clear charts for the whole company. When you link them, leaders see how slow code hurts daily sales. Engineers also see which fixing jobs will save the most money.

How data and permissions flow between dynatrace and looker

Dynatrace collects traces, logs, and host metrics from all your running services. Looker does not read metrics straight from the monitoring agent in most setups. Instead, teams export monitoring data into a central analytical database or warehouse first. Looker then runs queries against that shared store to build visual dashboards.

Some teams also use API keys to pull live metrics into custom views. In that flow, a background script reads metric endpoints on a set schedule. The script writes clean summary rows into tables that Looker models can read.

Permissions must match on both sides of this data pipeline. An API token in the monitoring tool needs read rights for metrics only. It should never hold write rights or admin control over host agents. Inside the analytics tool, viewer roles govern who can see specific system tables.

Identity checks start with your central login provider. Both platforms support single sign-on to check who a user is. Still, background jobs between the two tools still rely on service accounts. Managing those machine keys is where most security gaps appear.

Common failure modes and how to scope roles

The biggest risk in this setup is a shared service account with broad rights. Teams often create one master token to export all monitoring logs and metrics. If that token leaks, an attacker can read sensitive system topology and logs. To fix this, create separate keys for each data pipeline you run.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Another common issue is unlogged queries from shared reporting accounts. When ten analysts use one database login in Looker, audit logs lose value. You cannot tell which person ran a heavy query that slowed the warehouse. Map each report viewer to a clear role tied to their real identity.

Raw logs and trace payloads also carry hidden data risks. Error logs sometimes hold customer emails, phone numbers, or card numbers by mistake. When those logs flow into analytics tables, broad viewer groups might read them. Data masking rewrites matched fields in results before analysts run their daily reports.

Network paths between your metric exporter and database also need tight rules. Lock down network ingress so only known collector hosts can send metric rows. Rotate your API keys on a set schedule to limit exposure windows. Review your active service accounts every month and delete unused tokens right away.

Keeping metric pipelines fast and easy to audit

High metric volume can break your reporting models if you export everything. Do not send every raw trace span into your business reporting tables. Aggregate host CPU, memory, and error counts into five-minute buckets before export. This keeps Looker queries fast and lowers your database storage bill.

Clear naming rules also help teams trust the numbers they see. Use the same service tags in your monitoring tool and your data models. When an incident happens, engineers and managers will look at the exact same numbers. Good audit logs on every database query complete the picture for security teams.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

Can Looker query Dynatrace metrics without a database in the middle?

Most teams stage metrics in a SQL warehouse first for speed and modeling. Direct API calls are better for small summary tables than large historical reports.

What permissions does the Dynatrace export token actually need?

Give the token read-only scope for metrics and specific entity types only. Never grant config write access or log viewing rights unless the report requires it.

How do we stop sensitive log data from reaching business reports?

Filter out raw log strings during export and only send numeric metric aggregates. For tables that need text fields, apply data masking to rewrite emails and card numbers.

The query runs. The emails stay hidden.