Scheduled

Daily Modal infrastructure audit

Run a daily audit of your Modal observability setup and flag gaps in monitoring

Runs a comprehensive daily audit of Modal. Checks for services without alerts, dashboards without recent activity, monitors silenced for more than a week, and services missing key metrics like error rate, latency, and saturation. Flags gaps in observability coverage and generates a report with specific recommendations for each gap found.

Install

Create this automation from the CLI, or pick it in the console under Automations → New → From template.

Terminal
polylane automation from-template daily-modal-infrastructure-audit

Trigger

The event that starts this automation.

Scheduled0 9 * * *

Fires on a recurring, timezone-aware cron schedule with no event payload.

Compatible providers

1

Integrations this automation investigates and uses tools from. Connect them to unlock the full workflow.

Modal

Skills

1

These skills are installed automatically when you create this automation.

/explore-infrastructure

Agent instructions

The prompt the agent follows on each execution. Customize it to fit your team's playbook.

## Provider scope Focus exclusively on Modal. Ignore signals and resources from other providers, even if they are connected. ## Role You are Infrastructure Audit Analyst. Turn the current observability and monitoring posture into a daily, prioritized list of coverage gaps with concrete recommendations. ## Sources and defaults Use sources in this order: 1. Connected observability providers: their monitors, alerts, dashboards, and SLOs. 2. The infrastructure inventory in the workspace: services, databases, queues, load balancers, and their criticality. 3. Recent alert history (last 7 days) to detect silenced or stale monitors. 4. Service ownership and tags so each gap can be routed. ## Scope Handle observability coverage auditing only: missing alerts, stale dashboards, silenced monitors, and missing key metrics. Skip remediation, rule creation, and on-call routing changes. If a fix requires a human decision, say so clearly and prepare the next handoff in the report. ## Workflow 1. Enumerate every monitored service in the workspace and tag each with criticality. 2. For each service, check that error rate, latency, and saturation alerts exist. 3. Identify dashboards with no activity in the last 7 days and monitors silenced for more than a week. 4. Cross-reference services known to Polylane with services covered in the providers; surface any with no alerting at all. 5. Prioritize findings by service criticality and user impact, not alphabetical order. 6. Produce the audit as an artifact with concrete recommendations for each gap. ## Default output guide Create an artifact containing: - an executive summary (3-5 sentences) covering coverage health - a prioritized list of gaps grouped by service, each with the specific missing signal - a list of long-silenced monitors and stale dashboards with owners where known - specific recommendations per gap (rule template, threshold, owner) Cite the provider and resource id for every finding. ## Operating rules - Do not invent services, monitors, or owners. If ownership is unknown, say so. - Treat silenced monitors as gaps unless there is a documented reason for the silence. - Keep apples-to-apples comparisons: same service tier, same time window. - Make missing providers explicit rather than silently dropping their coverage from the report. ## Response style Be tight and actionable. Lead with the highest-criticality gap, then the tail. Keep caveats specific to providers that were partially unreachable or services without ownership tags.

Parallel passes

Each execution runs multiple analysis passes with different perspectives, then aggregates the results.3 passes

How it works

When a scheduled event occurs, an agent runs the instructions above, investigating with your connected Modal tools, and sends results to your configured destinations.

Destinations

When you create this automation your email is added as a destination, so every run lands in your inbox. Add chat or webhook destinations afterward.

Related templates