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

推荐订阅源

V
Visual Studio Blog
J
Java Code Geeks
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
Docker
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 聂微东
MyScale Blog
MyScale Blog
H
Help Net Security
Last Week in AI
Last Week in AI
T
The Blog of Author Tim Ferriss
M
MIT News - Artificial intelligence
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
P
Proofpoint News Feed
博客园 - 叶小钗
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
Martin Fowler
Martin Fowler
Microsoft Security Blog
Microsoft Security Blog
T
Tailwind CSS Blog
aimingoo的专栏
aimingoo的专栏

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
Increase visibility into your infrastructure processes wi...
2025-03-27 · via Datadog | The Monitor blog

Monitoring the health of your infrastructure and services requires you to understand the performance of fundamental system processes. But particularly in large environments, the sheer volume of processes can make their performance and resource usage difficult to track, let alone troubleshoot. To further complicate matters, it can be challenging to gather the necessary context on your processes to effectively categorize and monitor them—historically, it’s only been possible to identify processes using tags that come from the host they’re running on, either directly or through elements of the associated cloud infrastructure, such as containers, pods, and other resources. An individual process’s command line contains information on its associated groups, services, and configuration, but this metadata is not always parsed as facets or metrics in your observability platform.

Datadog Live Processes now includes Process Tag Rules, which enable you to enrich your system’s end-to-end visibility by deriving tags from a process’s command line, and to create performance metrics and alerts specific to your processes’ tags.

In this blog, we’ll explore how Processes Tag Rules help enhance troubleshooting and monitoring your host processes by enabling you to:

Quickly find common issues with groups of processes

A process or a group of processes can represent vital application- and system-level operations. However, it can be difficult to obtain visibility into the data that will tell you how to group your processes for more effective monitoring.

Process Tag Rules enable you to discover what processes are related to each other using information embedded in the command line configuration of your processes. By creating these tags, you can monitor performance and resource utilization for groups of related processes, giving you visibility into system-wide performance to help you troubleshoot issues.

You can create a new Process Tag Rule from the Manage Process Tags tab in Datadog Live Processes.

Manage Process Tags tab in Datadog Live Processes

After you click on New Process Tag Rule, you can configure your rule, starting with name, scope, and expression. Rule expressions are where you define your tags based on the command line configuration of your processes, using the standard Grok language syntax.

For example, you can configure a Process Tag Rule that matches the command line for tini processes in a particular environment and extracts the command line flags as tags. You can filter your processes down to command:tini and a specific cluster_name to see how many processes your rule will apply to. The next step is to create an expression for the rule—in the screenshot below, this is defined as tini -- %{notSpace:tini_start_process_name} %{notSpace:tini_sub_process_name}. This rule will capture the two tokens following tini -- as new tags that define the facets tini_start_process_name and tini_sub_process_name.

Example process tag rule in Datadog Live Processes

You can test your new rule by providing a sample of a command line, such as tini -- bash startstuff.sh. If the rule is validated, you’ll see example tags from your command sample, so you can make sure these new tags meet your expectations.

Test your process tag rule expression in the Datadog UI

After you click Create Rule to save the new Process Tag Rule, it will be applied to all matching processes, and your new tags will be available to search from the Processes view. To view process groups with these newly generated tags, you can group your processes by the tag group you just created—in our case, tini_start_process_name.

List of processes based on a newly created process tag rule

You can also use Process Tag Rules to group processes by service in certain scenarios. For example, with the shell svchost Windows system process, the -s command line option will load the specific service that the process is running on. With a Process Tag Rule, you can define this value to be extracted as a tag.

Monitor processes running on specific services with Process Tag Rules

Track system health by creating metrics and monitors on your custom process groups

Creating new tags also enables you to create metrics based on the process groups you define. You can create a new metric right from the Manage Metrics tab by clicking New Metric.

Create a new metric in Datadog Live Processes

From there, you can provide the metric dimensions you want to collect for the process groups you’re interested in.

Customize the dimensions for new process metrics

For more information on configuring Process Metrics, check out our documentation.

You can also create Live Process Monitors scoped to your rule-based tags—simply choose the New Monitor option from the New Metric dropdown in your Processes view.

Create a new process monitor in Datadog Live Processes

From here, you can create a Live Process Monitor that will show you whether processes tagged based on your custom rules are running. For example, using the svchost_service tagging rule we created early, you can create a monitor on the svchost_service:WinRM process group that ensures that Windows Remote Management is running across your fleet of Windows hosts.

Customize the dimensions of your new process monitor using process tag rules

You can also set metric monitors based on the metrics you create for your custom process groups. For example, you may want to be alerted when certain groups of processes reach specific thresholds for CPU and RSS memory usage, as high values for these metrics might signal that adjustments are required for process replicas running for a particular service.

Scope metric monitors to focus on processes grouped by your custom tags

Enhance your process-level observability

Datadog’s Process Tag Rules expand your organization’s ability to troubleshoot and monitor your process-level data. By proactively monitoring and addressing these issues early, you can safeguard mission-critical services, optimize resource allocation, and build resilience into your systems.

Process Tag Rules are available if you are a Datadog customer. If you’re not already using Datadog, you can start today with a 14-day free trial.