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

推荐订阅源

小众软件
小众软件
IT之家
IT之家
博客园 - 聂微东
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed
人人都是产品经理
人人都是产品经理
PCI Perspectives
PCI Perspectives
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
V
Vulnerabilities – Threatpost
美团技术团队
S
Secure Thoughts
N
News | PayPal Newsroom
L
LINUX DO - 最新话题
腾讯CDC
Application and Cybersecurity Blog
Application and Cybersecurity Blog
雷峰网
雷峰网
B
Blog
MyScale Blog
MyScale Blog
T
The Blog of Author Tim Ferriss
TaoSecurity Blog
TaoSecurity Blog
N
News and Events Feed by Topic
Blog — PlanetScale
Blog — PlanetScale
C
Check Point Blog
T
Tailwind CSS Blog
月光博客
月光博客
Simon Willison's Weblog
Simon Willison's Weblog
Hacker News: Ask HN
Hacker News: Ask HN
The Last Watchdog
The Last Watchdog
Google DeepMind News
Google DeepMind News
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
MongoDB | Blog
MongoDB | Blog
S
Security @ Cisco Blogs
Jina AI
Jina AI
Engineering at Meta
Engineering at Meta
S
Security Affairs
Forbes - Security
Forbes - Security
P
Palo Alto Networks Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
T
Tor Project blog
O
OpenAI News
L
Lohrmann on Cybersecurity
Security Archives - TechRepublic
Security Archives - TechRepublic
P
Proofpoint News Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
LangChain Blog
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More

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
Visualize AWS Step Functions with the State Machine Map
Sumedha Mehta, Neha Julka · 2023-11-22 · via Datadog | The Monitor blog
Sumedha Mehta

Sumedha Mehta

Neha Julka

Neha Julka

AWS Step Functions allows you to coordinate activity from hundreds of services—including AWS Lambda, Amazon EKS, and Amazon API Gateway—to build and orchestrate serverless workflows. With Step Functions, you organize work into workflows known as state machines, in which each state defines a task or decision and specifies the next state in the workflow.

You can track the performance of your Step Functions by monitoring individual states in your workflow—for example, by tracking Lambda metrics or API Gateway requests. But to fully understand your state machine’s performance—and to troubleshoot errors, latency, and unexpected behavior—you need to see all of its states, the relationship between them, and the data that describes their performance.

Datadog’s State Machine Map provides a high-level visualization of your Step Functions workflow, along with execution details from each state—including logs, errors, and latency metrics. In this post, we’ll show you how the State Machine Map provides valuable context and actionable data for each Step Functions execution and helps you monitor your state machine’s performance and troubleshoot workflow issues. We’ll show you how the State Machine Map can help you:

  • Get a high-level view of your Step Functions executions

  • Understand the branches in your state machine

  • Drill down to view monitoring data for any state on the map

Visualize your Step Functions on the State Machine Map

The State Machine Map provides an illustration of any single execution of a workflow. It can help you validate the performance of your state machine by visually confirming that the execution transitioned through all states without errors and completed successfully. If an execution fails, you can troubleshoot by reviewing its map, which clearly identifies any states that returned an error during the execution.

In the screenshot below, the State Machine Map shows the successful execution of a workflow comprising four states. Color-coding shows that each state in the workflow has succeeded, and arrows show that each state passed the execution to the next state downstream.

The State Machine Map shows that four states completed successfully.

The State Machine Map visualizes a single execution of a workflow, but you can also troubleshoot that workflow’s performance over time by viewing its map through successive executions. For example, if a workflow fails following a code deployment, you can compare the map of the failed execution to an earlier one to surface any differences in the performance of the states. If the states show different outcomes across executions, you can use this information to focus your troubleshooting efforts (e.g., look for specific code changes that may have introduced errors in the states that began to fail).

Understand your Step Functions workflows’ branches

You can create a workflow that comprises multiple branches of execution—for example, to use conditional logic to transition to one state if an input value is present or a different state if the value is not present. This allows you to model complex logic by determining dynamically which state will be executed next.

In the screenshot below, the second state in the workflow—deliveryReceiver—uses conditional logic to determine which state is triggered next. In the execution shown, the deliveryReceiver state failed with an error. As a result, the execution proceeded on the branch that led to the deliveryCancel state and did not trigger the deliveryShipper or deliveryComplete states along the opposite branch. By default, an execution fails when any of its states return an error. The end state shown here is color-coded to indicate that the workflow execution failed.

The State Machine Map shows that the second and third states returned errors so the workflow failed.

In a state machine that includes multiple branches, any single execution will follow only one of the available branches. Understanding which branches were part of an execution and which states contributed to the performance of your workflow allows you to narrow down the states you need to troubleshoot. If the execution follows an unexpected branch, you may need to troubleshoot your states’ conditional logic to ensure that they’re transitioning to the right states under the given conditions. And by comparing different executions that involve different branches, you can further refine your troubleshooting to quickly see whether a bug is present in only one of the branches.

Troubleshoot errors in your state machine

Once you know which states comprise your workflow and which of them were triggered, you can quickly drill down into any state’s data to troubleshoot errors and performance issues. You can easily see whether any states are adding latency or resulting in errors that cause the state machine to fail.

To dig even deeper, you can quickly pivot from the State Machine Map to the flame graph to see how the affected state depends on other services. Spans in the flame graph are tagged with data including each state’s input and output values, which you can use to quickly reproduce errors that are causing your workflows to fail. You can also view logs from each span to gather even more information about the state’s activity and errors. In the screenshot below, the flame graph shows that the deliveryReceiver service has made an HTTP request to a dependency, and that call resulted in a ConditionalCheckFailedException error. This example shows how—by leveraging both the State Machine Map and the flame graph—you can quickly detect a failed workflow, spot the affected state, and determine a root cause.

A flame graph shows the sequence of request and latency in their responses. Below, logs from a service that made an HTTP request describe the error.

Quickly debug Step Functions with the State Machine Map

The State Machine Map combines a high-level view of your Step Functions with actionable data about your workflow states to speed up troubleshooting. To begin using the State Machine Map, enable the AWS Step Functions integration and then install serverless monitoring for Step Functions. See the documentation for more information, and if you’re not already using Datadog, start today with a free trial.