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

推荐订阅源

S
Schneier on Security
P
Proofpoint News Feed
Apple Machine Learning Research
Apple Machine Learning Research
WordPress大学
WordPress大学
博客园 - Franky
V
V2EX
爱范儿
爱范儿
J
Java Code Geeks
小众软件
小众软件
Last Week in AI
Last Week in AI
The Cloudflare Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
酷 壳 – CoolShell
酷 壳 – CoolShell
The Register - Security
The Register - Security
GbyAI
GbyAI
Vercel News
Vercel News
Y
Y Combinator Blog
腾讯CDC
F
Fortinet All Blogs
I
InfoQ
N
Netflix TechBlog - Medium
B
Blog RSS Feed
D
Docker
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
量子位
博客园 - 司徒正美
阮一峰的网络日志
阮一峰的网络日志
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
V
Visual Studio Blog
博客园 - 三生石上(FineUI控件)
宝玉的分享
宝玉的分享
Blog — PlanetScale
Blog — PlanetScale
H
Help Net Security
云风的 BLOG
云风的 BLOG
A
About on SuperTechFans
Scott Helme
Scott Helme
T
Tor Project blog
U
Unit 42
Google Online Security Blog
Google Online Security Blog
PCI Perspectives
PCI Perspectives
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
NISL@THU
NISL@THU
D
Darknet – Hacking Tools, Hacker News & Cyber Security
aimingoo的专栏
aimingoo的专栏
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Stack Overflow Blog
Stack Overflow Blog
Security Archives - TechRepublic
Security Archives - TechRepublic

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
Monitor OpenStack with Datadog
2015-12-14 · via Datadog | The Monitor blog

This post is the third part of a 4-part series on OpenStack Nova monitoring. Part 1 explores the key metrics available from Nova, Part 2 is about collecting those metrics on an ad hoc basis, and Part 4 explores how Lithium monitors OpenStack.

In this post of the OpenStack series, we show you how to monitor OpenStack with Datadog.

To get the most out of your OpenStack monitoring, you need a way to correlate what’s happening in OpenStack with what’s happening in the rest of your infrastructure. OpenStack deployments often rely on additional software packages not included in the OpenStack codebase itself, including MySQL, RabbitMQ, Memcached, HAProxy, and Pacemaker. A comprehensive monitoring implementation includes all the layers of your deployment, not just the metrics emitted by OpenStack itself.

With Datadog, you can collect OpenStack metrics for visualization, alerting, full-infrastructure correlation, and more. Datadog will automatically collect the key metrics discussed in parts one and two of this series, and make them available in a template dashboard, as seen below.

OpenStack default dashboard

If you’re not a Datadog customer but want to follow along, you can get a free trial.

Configuring OpenStack

Getting the Datadog Agent and OpenStack to talk with each other takes about five minutes. To start, the Datadog Agent will need its own role and user. Run the following series of commands, in order, on your Keystone (identity) server:

  1. openstack role create datadog_monitoring

  2. openstack user create datadog --password my_password --project my_project_name

  3. openstack role add datadog_monitoring --project my_project_name --user datadog

Be sure to change my_password and my_project before running the commands.

Once you’ve created the user and role, the next step is to apply the privileges needed to collect metrics, which entails modifying three configuration files.

Nova

First, open Nova’s policy file, found at /etc/nova/policy.json. Edit the following permissions, adding role:datadog_monitoring:

- "compute_extension:aggregates" : "role:datadog_monitoring",

- "compute_extension:hypervisors" : "role:datadog_monitoring",

- "compute_extension:server_diagnostics" : "role:datadog_monitoring",

- "compute_extension:v3:os-hypervisors" : "role:datadog_monitoring",

- "compute_extension:v3:os-server-diagnostics" : "role:datadog_monitoring",

- "compute_extension:availability_zone:detail" : "role:datadog_monitoring",

- "compute_extension:v3:availability_zone:detail" : "role:datadog_monitoring",

- "compute_extension:used_limits_for_admin" : "role:datadog_monitoring",

- "os_compute_api:os-aggregates:index" : "role:datadog_monitoring",

- "os_compute_api:os-aggregates:show" : "role:datadog_monitoring",

- "os_compute_api:os-hypervisors" : "role:datadog_monitoring",

- "os_compute_api:os-hypervisors:discoverable" : "role:datadog_monitoring",

- "os_compute_api:os-server-diagnostics" : "role:datadog_monitoring",

- "os_compute_api:os-used-limits" : "role:datadog_monitoring"

If permissions are already set to a particular rule or role, you can add the new role by appending or role:datadog_monitoring, like so:

"compute_extension:aggregates": "rule:admin_api" becomes "compute_extension:aggregates": "rule:admin_api or role:datadog_monitoring"

Save and close the file.

Neutron

Neutron is nice and easy, with only one modification needed. Open its policy.json (usually found in /etc/neutron) and add role:datadog_monitoring to "get_network". Then, save and close the file.

Keystone

Last but not least, you need to configure Keystone so the Agent can access the tenant list. Add role:datadog_monitoring to the following directives in Keystone’s policy.json (usually found in /etc/keystone):

- "identity:get_project" : "role:datadog_monitoring",

- "identity:list_projects" : "role:datadog_monitoring"

Save and close the file.

You may need to restart your Keystone, Neutron and Nova API services to ensure the policy changes are applied.

Install the Datadog Agent

The Datadog Agent is open source software that collects and reports metrics from all of your hosts and services so you can view, monitor, and correlate them on the Datadog platform. Installing the Agent usually requires just a single command.

Installation instructions are platform-dependent and can be found here.

As soon as the Datadog Agent is up and running, you should see your host begin to report its system metrics in your Datadog account.

Reporting host in Datadog

Configuring the Agent

With the necessary OpenStack policy changes in place, it is time to configure the Agent to connect to your Keystone server.

The location of the Agent configuration directory varies by OS, find it for your platform here. In the configuration directory you will find a sample OpenStack configuration file named openstack.yaml.example. Copy this file to openstack.yaml, and open it for editing.

Navigate to the keystone_server_url line. Update the URL with the URL of your Keystone server, including the port (usually 5000).

Next, under instances, change project id to the project ID that corresponds to the project associated with the datadog user. To get the project ID, navigate to <yourHorizonserver>/identity. See below for an example:

instances:

- name: instance_1 # A required unique identifier for this instance

# The authorization scope that will be used to request a token from Identity API v3

# The auth scope must resolve to 1 of the following structures:

# {'project': {'name': 'my_project', 'domain': 'my_domain} OR {'project': {'id': 'my_project_id'}}

auth_scope:

project:

id: b9d363ac9a5b4cceae228e03639357ae

Finally, you need to modify the authentication credentials to match the user and role created earlier. Navigate to the # User credentials section and make the following changes:

# User credentials

# Password authentication is the only auth method supported right now

# User expects username, password, and user domain id

# `user` should resolve to a structure like {'password': 'my_password', 'name': 'my_name', 'domain': {'id': 'my_domain_id'}}

user:

password: my_password

name: datadog

domain:

id: default

Save and close openstack.yaml.

Integrating RabbitMQ with Datadog

Getting metrics from RabbitMQ requires fewer steps than OpenStack.

Start by running the following command to install the management plugin for RabbitMQ: rabbitmq-plugins enable rabbitmq_management.

This will create a web UI for RabbitMQ on port 15672, and it will expose an HTTP API, which the Datadog Agent uses to collect metrics.

Once the plugin is enabled, restart RabbitMQ for the changes to take effect:

service rabbitmq-server restart.

Next, navigate to the Agent configuration directory again. Find the sample RabbitMQ config file named rabbitmq.yaml.example and copy it to rabbitmq.yaml. Open it and navigate to the instances: section:

instances:

- rabbitmq_api_url: http://localhost:15672/api/

rabbitmq_user: guest # defaults to 'guest'

rabbitmq_pass: guest # defaults to 'guest'

Update the rabbitmq_user, rabbitmq_pass, and rabbitmq_api_url fields appropriately, then save and close the file.

After making the appropriate changes to both yaml files, restart the Agent. The command varies by platform. For Debian/Ubuntu: sudo /etc/init.d/datadog-agent restart

Verify the configuration

With the configuration changes in place, it’s time to see if everything is properly integrated. Execute the Datadog info command. On Debian/Ubuntu, run sudo /etc/init.d/datadog-agent info

For other platforms, find the specific command here.

If the configuration is correct, you will see a section like the one below in the info output:

Checks

======

[...]

openstack

---------

- instance #0 [OK]

- Collected 74 metrics, 0 events & 6 service checks

The snippet above shows six service checks in addition to the collected metrics. For OpenStack, the service checks report the availability of your Nova, Neutron, and Keystone APIs as well as checks for individual hypervisors and networks.

You should also see something like the following for RabbitMQ:

rabbitmq

--------

- instance #0 [OK]

- Collected 609 metrics, 0 events & 1 service check

Enable the integration

Finally, click the OpenStack Install Integration button inside your Datadog account. The button is located under the Configuration tab in the OpenStack integration settings.

Enable the integration

Since the Agent automatically queries RabbitMQ via its API endpoint, you don’t need to enable the RabbitMQ integration in your Datadog account.

Show me the metrics!

Once the Agent begins reporting OpenStack metrics, you will see an OpenStack dashboard among your list of available dashboards in Datadog.

The default OpenStack dashboard displays the key metrics to watch highlighted in our introduction to Nova monitoring.

You can easily create a tailored dashboard to monitor your OpenStack as well as your entire stack by adding additional graphs and metrics from your other systems. For example, you might want to graph Nova metrics alongside metrics from your Redis databases, or alongside host-level metrics such as network traffic. To start building a custom dashboard, clone the default OpenStack dashboard by clicking on the gear in the upper right of the dashboard and selecting Clone Dash.

Clone OpenStack default dash

Diagnosing and Alerting

Systematically collecting monitoring data serves two broad purposes: alerting operators in real-time to issues as they develop (alerting), and helping to identify the root cause of a problem (diagnosing). A full-featured monitoring solution does both. With Datadog, you get actionable alerts in real-time, so you can respond to issues as they emerge, plus the high-resolution metrics and historical perspective that you need to dive deep into diagnosing the root cause of an issue.

Alerting on Nova metrics

Once Datadog is capturing and visualizing your metrics, you will likely want to set up some alerts to be automatically notified of potential issues. You can set up an alert to notify you of API availability issues, for example.

Datadog can monitor individual hypervisors, instances, containers, services, and processes—or virtually any combination thereof. For instance, you can monitor all of your Nova nodes, or all hosts in a certain availability zone, or a single key metric being reported by all hosts corresponding to a specific tag.

Conclusion

In this post we’ve walked you through integrating OpenStack Nova and RabbitMQ with Datadog to visualize your key metrics and notify the right team whenever your infrastructure shows signs of trouble.

If you’ve followed along using your own Datadog account, you should now have improved visibility into what’s happening in your environment, as well as the ability to create automated alerts tailored to your infrastructure, usage patterns, and the metrics that are most valuable to your organization.

If you don’t yet have a Datadog account, you can sign up for a free trial and start monitoring OpenStack Nova right away.