The Simplest Way to Make App Of Apps and Pagerduty Work Like They Should
An app of apps and PagerDuty setup links Git sync status to on-call alerts. One parent app watches child apps and pages the right team when syncs fail. This pattern helps platform teams manage dozens of services from one source repo. When a child service breaks, the alert goes straight to the service owner. How app of apps and PagerDuty share alert data The parent app points to a folder of child app manifests in Git. Each child manifest defines a single service or cluster tool for your team.
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.
An app of apps and PagerDuty setup links Git sync status to on-call alerts. One parent app watches child apps and pages the right team when syncs fail.
This pattern helps platform teams manage dozens of services from one source repo. When a child service breaks, the alert goes straight to the service owner.
How app of apps and PagerDuty share alert data
The parent app points to a folder of child app manifests in Git. Each child manifest defines a single service or cluster tool for your team.
Your deployment controller watches both the parent app and every child app state. When a sync fails or health drops, the controller fires a webhook event.
PagerDuty receives this webhook through a service routing key stored in a secret. The event payload holds the app name, project role, and sync error text.
PagerDuty reads the payload rules and pages the specific team on call. Platform engineers get alerts for parent issues, while product teams get child alerts.
Once a developer pushes a Git fix, the controller marks the app healthy. It then sends a resolve event to PagerDuty to close the open incident.
Common failure modes and how to scope roles
Many teams use one shared PagerDuty key for the whole parent app tree. This sends every child app failure to the same default on-call schedule.
One broken test service can wake up the core platform team at night. Engineers soon ignore noisy alerts and miss real outages in production clusters.
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.
Broad API tokens create another big risk between your cluster and alert tools. A leaked global token lets an attacker silence alerts or spam fake pages.
Unlogged webhook calls also make it hard to debug missing pages during outages. You cannot tell if the controller failed to send or PagerDuty dropped it.
To fix this, give each child project its own scoped PagerDuty integration key. Map each child app metadata tag to a single PagerDuty service directory.
Restrict outbound network traffic so only the notification controller reaches the PagerDuty API. Store routing keys in secret stores with strict read roles for the controller.
Best practices for alert routing in child apps
Tag every child app manifest with the owning team name and tier level. Use these tags to filter out low-priority sync errors in non-production clusters.
Only page humans when a production child app stays degraded for several minutes. Send transient sync warnings to a chat channel instead of waking someone up.
Test your alert path by breaking a dummy child app in staging first. Check that the alert payload shows the exact Git commit and failing resource.
Rotate your PagerDuty routing keys on a regular schedule to limit key exposure. Audit your controller logs each month to spot failed webhook deliveries early.
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
Should the parent app page the same team as child apps?
No, the parent app should only page the core platform team on call. Child apps should route alerts to the specific product team that owns them.
How do we stop alert storms during a cluster upgrade?
Set a maintenance window in PagerDuty before you update the parent app repo. You can also group related child alerts by cluster tag to cut noise.
What permission does the deployment tool need in PagerDuty?
The tool only needs a service-level events key to trigger and resolve incidents. Never give your deployment controller a full read-write user API token.
Related guides
In this post