This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Datadog Bulk Alert Rule Duplicator

Developer Tools · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryDeveloper Tools
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Datadog Bulk Alert Rule Duplicator lets you duplicate multiple alert rules in a single operation. Instead of opening each rule individually, clicking duplicate, renaming, and saving — repeating this for every single rule — this tool provides a unified checklist of all alert rules on the current page. You can filter rules by name or type to quickly find the ones you want to duplicate. Select any number of rules using checkboxes, enter a custom name prefix and optional target environment tag, and click Duplicate. The tool then automatically processes each selected rule — opening the duplication modal, applying your name prefix and environment tag, and saving the new rule. This turns what could be dozens of manual operations into a single batch action, making alert rule deployment, environment propagation, and configuration scaling significantly faster and more efficient.

WHERE IT RUNS

This script runs exclusively on the Datadog web application in your browser. It activates on the alert rules/monitors list page within the Datadog dashboard. It requires the BotGentz extension to inject and execute the script. The tool does not work on the Datadog mobile app, the API, or any third-party monitoring clients — only the web-based Datadog dashboard accessed through a Chromium-based or Firefox browser. It specifically targets pages under *.datadoghq.com, including the Datadog monitor list and alert rule management views.

HOW TO USE

After installing the script via BotGentz, navigate to your Datadog dashboard and open the Monitors or Alert Rules page. The tool automatically detects the rule list and displays a floating panel on the right side. The panel shows all alert rules on the current page, with checkboxes next to each rule entry. Each rule displays its name, type, and current status indicator. Use the search box to filter by name or type to narrow down your selection. Check the boxes for every rule you want to duplicate. Below the rule list, enter a name prefix — for example, "Copy of " or "Staging - ". Optionally, enter a target environment tag (e.g., "staging", "dev", "prod") that will be applied to the duplicated rules. Click "Duplicate Rules" and confirm the action. The tool will process each selected rule one by one — opening the duplicate modal, applying your prefix and environment tag, and saving. A status message appears when the operation completes, showing how many rules were successfully duplicated.

THE ACTUAL MECHANISM — WHY IT WORKS

Datadog's web dashboard is built with React and uses a component-based rendering system for its monitor management. The monitor list is rendered as table rows or list items, each containing monitor metadata and action buttons. This tool scans the DOM for monitor items using multiple selector patterns that Datadog consistently uses across versions. For each monitor, it extracts the name, type, and status from the visible text content and data attributes. When duplicating, the tool first attempts to use a direct "Duplicate" button if available. Otherwise, it clicks the action menu button on each monitor item, waits for the dropdown to appear, and selects the "Duplicate" option. This triggers Datadog's duplication modal. The tool then fills the modal's name input with the current name prefixed by your custom prefix, and if a target environment is provided, it populates any environment or tag fields. The tool uses React-friendly event dispatching — setting values via the native setter and dispatching both "input" and "change" events to ensure React registers the updates. The tool then clicks the modal's save/duplicate button and proceeds to the next rule. This approach works without making direct API calls, which would require authentication tokens and knowledge of Datadog's internal API structure. By using the existing UI, the tool works within Datadog's own permission and validation system, and continues to function even if the underlying API changes.

THE PANEL

The floating panel is fully draggable — click and drag the header to reposition it anywhere on the page. The panel's position is saved per site in localStorage, so it reappears exactly where you left it when you return to the monitors page. Double-click the header to snap the panel to the nearest edge (left or right). A collapse button minimizes the panel to a small tab showing a bell emoji badge, keeping it out of the way while still accessible. The rule list inside the panel is scrollable and resizes vertically based on the number of rules. Pressing Escape while the panel is focused closes it completely; reopening is done via a small button injected near the page toolbar. All panel interactions are non-blocking — Datadog's main UI remains fully responsive while the panel is open, and the panel updates automatically when you navigate between sections.

PLEASE NOTE

This script requires the BotGentz extension (free) to run user scripts on Datadog. Datadog frequently updates its web interface and modal structures; if the tool stops working, check for an updated version within BotGentz's script repository. This tool does not store, transmit, or log any alert rule data, queries, or configurations — all operations occur locally in your browser with no external network requests except those made by Datadog itself. Rule duplications are applied through Datadog's own UI event system, so all changes respect your account permissions and organization settings. The tool does not bypass Datadog's security or permission system; it simply automates the clicks you would otherwise perform manually. For accounts with a large number of alert rules, the tool may take several minutes to complete the operation, as each rule is processed sequentially with delays to avoid overwhelming the UI. A progress indicator shows which rule is currently being processed. Always double-check your selections and prefix before duplicating, as bulk duplication can create many new rules quickly. The tool only affects rules visible on the current page; to duplicate all rules, use Datadog's built-in pagination controls or adjust your view to show all relevant rules. The environment tag field is optional and may not apply to all rule types or Datadog configurations; it is provided for environments that use tags to differentiate rule deployments.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.