The Simplest Way to Make App Of Apps and Grafana Work Like They Should
You pair app of apps and grafana to sync dashboards from Git into live clusters. A root app deploys child apps that set up charts, alerts, and data sources. This pattern keeps all team dashboards in one source repo. Teams change a file in Git, and the root app updates the child apps. New clusters get the right charts right away. Nobody has to click around in the web UI to build views by hand. Every change goes through a normal code review before it hits a live cluster. How app of apps and gra
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.
You pair app of apps and grafana to sync dashboards from Git into live clusters. A root app deploys child apps that set up charts, alerts, and data sources.
This pattern keeps all team dashboards in one source repo. Teams change a file in Git, and the root app updates the child apps. New clusters get the right charts right away. Nobody has to click around in the web UI to build views by hand. Every change goes through a normal code review before it hits a live cluster.
How app of apps and grafana share roles and data
The root app reads your Git repo and creates child apps in the cluster. One child app sets up the dashboard tool and its storage. Other child apps load chart files and data source rules into the cluster. The dashboard tool reads those files from cluster storage and builds the views.
Logins and roles flow through two main paths in this setup. First, the deploy tool needs a cluster role to write chart files and rules. Second, the dashboard tool needs keys to read metrics and logs from your data stores. Users log in through your single sign-on tool to view the charts. Their group names map to viewer, editor, or admin roles inside the dashboard app.
Data flows one way during setup and another way when users view charts. Git pushes rules down to the cluster during a sync. Later, the dashboard app sends read queries to your metric stores when a user opens a page. Keeping these two paths separate stops deploy keys from leaking to chart viewers.
Common failure modes and how to scope roles
Teams often take shortcuts when they wire these tools together. A common mistake is using one shared admin key for all data sources. If a child app loads a bad query, that key can read every metric store. Another failure happens when teams let users edit charts in the web UI. The next Git sync wipes out those hand-made changes without warning.
Broad cluster roles also create risk in the root app pattern. If the deploy tool has full cluster admin rights, a bad Git commit can break core apps. Shared database accounts for log and metric queries hide who ran a heavy search. Unlogged queries can slow down your metric stores during an outage. Raw logs can also hold emails, phone numbers, card numbers, or national IDs.
DPoP (Demonstration of Proof-of-Possession) + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
You can fix these issues by scoping roles and network paths at each step. Give the child app a narrow role that only writes to the dashboard namespace. Set all Git-managed dashboards to read-only in the UI so users must use pull requests. Create separate read-only database accounts for each team folder and data source. Lock down network paths so the dashboard pod only talks to approved metric ports. Use data masking to rewrite matched fields like emails or card numbers in query results.
Keeping chart updates fast and safe across teams
Large teams often split child apps by service or department. Each team owns a folder in Git with their own chart files and alert rules. The root app points each child app to the right team folder and namespace. This split stops one team from breaking another team's views during a bad push.
You should also check your chart files in continuous integration before merging. A quick check catches bad syntax before the root app tries to sync. Small, scoped child apps sync faster and make it easy to roll back bad changes. Teams get fast updates while keeping strict control over who can read live data.
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
How do we stop Git syncs from wiping out UI edits?
Mark provisioned folders as read-only and save all chart changes in Git first. Give teams a separate sandbox folder if they need to test edits in the UI.
Should every child app deploy its own dashboard instance?
No, most teams run one shared dashboard app per cluster or per department. Child apps then load team-specific chart files and data sources into that shared instance.
How do we handle database secrets for dashboard data sources?
Never store plain text keys in your Git repo alongside your chart files. Load secrets into the cluster from a secret store and reference them in the child app.
Related guides
In this post