惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Hacker News
The Hacker News
MyScale Blog
MyScale Blog
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
GbyAI
GbyAI
罗磊的独立博客
M
MIT News - Artificial intelligence
J
Java Code Geeks
P
Proofpoint News Feed
月光博客
月光博客
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Google DeepMind News
Google DeepMind News
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
雷峰网
雷峰网
V
V2EX
有赞技术团队
有赞技术团队
Microsoft Security Blog
Microsoft Security Blog
博客园 - Franky
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
Webroot Blog
Webroot Blog
S
Secure Thoughts
Recent Announcements
Recent Announcements
T
Troy Hunt's Blog
Engineering at Meta
Engineering at Meta
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Hacker News: Ask HN
Hacker News: Ask HN
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
Schneier on Security
Schneier on Security
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Heimdal Security Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Cyberwarzone
Cyberwarzone
N
News and Events Feed by Topic
T
Threat Research - Cisco Blogs
Martin Fowler
Martin Fowler
Hacker News - Newest:
Hacker News - Newest: "LLM"
Microsoft Azure Blog
Microsoft Azure Blog
Help Net Security
Help Net Security
S
SegmentFault 最新的问题
A
Arctic Wolf
C
Cybersecurity and Infrastructure Security Agency CISA
V
Vulnerabilities – Threatpost
腾讯CDC
K
Kaspersky official blog
博客园_首页

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis Monitor Aruba Central in Datadog How we centralize and remediate risks with Datadog Case Management Accelerate incident response with Datadog and ServiceNow Monitor your application and network load balancer logs Understanding Karpenter architecture for Kubernetes autoscaling Tools for collecting metrics and logs from Karpenter Monitor Karpenter with Datadog What your product data is actually saying Key metrics for monitoring Karpenter Securing Datadog’s platform in the AI age: The role of observability data Four ways engineering teams use the Datadog MCP Server to power AI agents Approaching your observability migration with the right mindset Meet the new Bits AI SRE: Deeper reasoning, twice as fast Key learnings from the 2026 State of DevSecOps study Use plain English to query your multi-cloud infrastructure in Resource Catalog Simplifying troubleshooting across the user journey with Datadog Synthetic Monitoring Protect your OCI resources with Datadog Cloud Security This Month in Datadog - February 2026 Amazon EC2 security: How misconfigured and public AMIs expand your cloud attack surface Enable end-to-end visibility into your Java apps with a single command Measure and improve mobile app startup performance with Datadog RUM Evaluating our AI Guard application to improve quality and control cost Identify untested code across every level of your codebase Make use of guardrail metrics and stop babysitting your releases Monitor Versa Networks SD-WAN performance in Datadog Improve performance and reliability with APM Recommendations Remediate transitive vulnerabilities faster with Datadog Software Composition Analysis Generate audit-ready vulnerability and compliance reports with Datadog Sheets Monitor Fortinet FortiManager performance in Datadog Improve test coverage across codebases with Datadog Code Coverage Move fast, don’t break things: Consistent testing standards at scale Enrich logs with ServiceNow CMDB context before routing to any SIEM or logging tool Monitor Lustre with Datadog Make faster, better product decisions with Datadog Product Analytics Surface and remediate runtime posture issues with Workload Protection Findings Protect agentic AI applications with Datadog AI Guard How to optimize JavaScript code with CSS Trace Google Pub/Sub workloads in Cloud Run with Datadog Detect human names in logs with ML in Sensitive Data Scanner How we cut our NLQ agent debugging time from hours to minutes with LLM Observability Debug PostgreSQL query latency faster with EXPLAIN ANALYZE in Datadog Database Monitoring Datadog acquires Propolis Unify and correlate frontend and backend data with retention filters Scale compliance across global frameworks with Datadog Cloud Security Monitor Arista VeloCloud SD-WAN performance with Datadog Building reliable dashboard agents with Datadog LLM Observability Simplify log collection and aggregation for MSSPs with Datadog Observability Pipelines Mitigation for Node.js denial-of-service vulnerability affecting Datadog APM Automate flaky test fixes with the Bits AI Dev Agent and Test Optimization How we built an AI SRE agent that investigates like a team of engineers Datadog integrations 2025 recap: Observability for AI, security, and hybrid cloud Design effective executive dashboards with Datadog Implement dbt data quality checks with dbt-expectations Bring faster visibility into AWS Lambda functions with remote instrumentation Troubleshoot faster with the GitLab Source Code integration in Datadog How Cambia Health Solutions saved $30,000 monthly with Cloud Cost Management and the Datadog Resource Catalog Normalize any logs for Cloud SIEM with Datadog's OCSF processor Optimizing Datadog at scale: Cost-efficient observability at Zendesk Detect, diagnose, and resolve network issues easily with CNM Network Health Connect engineering errors to user impact in early-stage products Cilium configuration for Kubernetes operations at scale Designing feedback loops for progressive delivery Ship features faster and safer with Datadog Feature Flags Choosing the right OpenTelemetry Collector distribution Route your monitor alerts with Datadog monitor notification rules Automate Cloud SIEM investigations with Bits AI Security Analyst Cloud threat detection: How to identify risky activity across control and data planes Collecting Kafka performance metrics Monitoring Kafka with Datadog Monitoring Kafka performance metrics
Build Datadog workflows and apps in minutes with our AI assistant
2024-11-26 · via Datadog | The Monitor blog

Datadog is a central hub of information—enabling you to see logs, traces, and metrics from across your stack and providing a centralized source of notifications about potential issues. However, when Datadog notifies you of an issue, you often need to log in to other applications to fully assess and resolve it, which slows down mitigation. Datadog’s Workflow Automation and App Builder enable you to act on insights directly within Datadog, saving time during critical moments when you need it the most. To make this possible, Workflow Automation and App Builder have more than 1000 built-in actions covering all major cloud providers and popular tools (such as GitHub, GitLab, Jira, and Statuspage) that seamlessly connect Datadog to the rest of your stack.

Workflows and apps that include custom JavaScript code are now even easier to build by any member of your team—including those not comfortable writing code or who lack the time to dig around in Datadog for the best way to parse tags or reference variables. Datadog’s new AI assistant for Workflow Automation and App Builder uses generative AI to automate much of the code-writing process. Drawing on its knowledge of the current workflow and the actions in the Datadog Actions Catalog, the AI assistant can parse telemetry data, suggest code to accomplish a step in a workflow, troubleshoot code, and more.

This post walks through the process of building a workflow that restarts a service experiencing high error rates, showing you how you can use the new AI assistant to add complex JavaScript functions without any coding knowledge.

Create a workflow that restarts a service experiencing high error rates

Let’s say you want to create a workflow that restarts a service experiencing high error rates. You already have a monitor set up for the service, as well as a GitHub Actions workflow that restarts it. When error rates reach a certain threshold, the workflow will be triggered. It will first seek approval for the restart by posting in a designated Slack channel. Once it receives approval, it will restart the service via GitHub Actions.

To start building this workflow, head to the Workflows page and select +New Workflow in the top right corner. Next, choose your trigger type. You want this workflow to be automatically triggered when an alert goes off, so you’ll select Monitor under Datadog Triggers.

Choosing monitor from Datadog triggers.

Before the workflow takes action, you want to add a flow where it sends a message to a Slack channel asking for approval. To do that, add a “Make a decision” Slack approval step.

Adding a Slack approval step to the workflow.

The resulting Slack message provides built-in Approve and Reject buttons so the user can easily take action.

The Slack message that asks for approval or rejection of a service restart.

Because this is a native Datadog trigger, you automatically have access to all of the monitor’s metadata, including the monitor message and tags. To view all of the metadata that’s available to your workflow, save the workflow and click Run in the top left corner to perform a quick test.

Save and run the worfklow in order to connect to the monitor metadata.

To see the metadata associated with the monitor, expand the monitor object under Source in the right-hand panel.

Viewing the monitor's metadata.

Use the AI assistant to add JavaScript code to an approval step

You don’t want to ask just anyone to approve the restart—you want to ensure that the approver is in a set list of users. To add this check, you need to add JavaScript code, and you’ll use the new AI assistant to help you write it.

Add a JavaScript action to the workflow and click “Write Code with AI” to open the AI assistant, which can write fully functional JavaScript code based on your written prompts.

Using the AI assistant to write JS code.

Type the prompt, “let’s check to see if the slack username is in an approved list.” The AI assistant provides code that will perform this check and gives you the option to replace the script, insert it, or copy it to the clipboard. To make this code functional, you just need to swap out the list of names (user1, user2, user3) with the Slack usernames of the people who are allowed to review.

Using the AI assistant to check the Slack username.

You can use the AI assistant to write code as simple as “return today’s date in the format yyyy-MM-dd_hh:mm.” But it is particularly useful for writing more complex functions, because it is aware of the context of the current workflow and can understand the API outputs from all of the actions in the Datadog Actions Catalog. In the above example, it automatically knows how to reference the username of the Slack user who responded to the approval request.

You can also ask the AI assistant to explain the logic behind code or pinpoint errors by typing “What is this code doing?” or “What is wrong with this code?”

Using the AI assistant to explain JS code.

The AI assistant can also help you parse information from the monitor if you don’t want to look through the monitor object to find a correct variable path. For example, the prompt “Give me all the team tag values from the monitor” finds all the teams associated with the monitor, which can be helpful if you want to slack a particular team for an approval step.

Asking the AI assistant to provide all the tag team values.

Take action once approved

After confirming that the approver is in the allowlist, the next step is to take action to remedy the issue. Some of the remediation actions available in Workflow Automation include restarting a VM, rebooting an EC2 instance, toggling feature flags, restarting a Kubernetes deployment, and kicking off automations built in other platforms like Jenkins and GitHub Actions. You can also make custom HTTP requests to any public or private endpoint that Datadog does not natively support.

In this case, you will use a GitHub Action workflow that you’ve already built in GitHub. To add this to the workflow, you would simply select “Trigger GitHub Actions Workflow Run” as the next step.

The final workflow that restarts a service experiencing high error rate, built using the AI assistant.

Before you publish your workflow, you can complete some test runs to ensure that everything is configured correctly. After it is published, the workflow can be added to any monitor in the Trigger Workflow panel in the “Configure notifications & automations” section of the monitor’s settings.

Use Datadog App Builder to create a self-service workflow

To enable self-service so your team can trigger the service restart manually, you can use App Builder to build an app that triggers the same GitHub Actions workflow. App Builder offers many blueprints that you can use as starting points, including “Restart Service with GitHub Actions.” Apps can be added to any dashboard or launched from their own dedicated page in Datadog.

You can use the new AI assistant to transform data in App Builder apps, just like you can in workflows. Apps can be built to run actions directly or to trigger any Datadog workflow. For example, if you’ve already created a workflow for a complex approvals flow, you can configure your app to run that workflow instead of simply performing a single action.

The App Builder Restart Service with GitHub Actions blueprint.

Get started using Workflow Automation and App Builder today

Workflow Automation, App Builder, and our new AI assistant are generally available to all Datadog customers. Now you can start building workflows and apps to kick off automated remediation in response to Datadog alerts, with little to no prior coding knowledge. You can include human approvals or perform the action directly, based on your comfort level, and add additional steps to adhere to any internal processes your team currently follows.

To learn more, see our Workflow Automation documentation and blueprints, as well as our App Builder documentation and blueprints. If you aren’t yet a Datadog customer, sign up for a 14-day free trial today.