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

推荐订阅源

C
Check Point Blog
GbyAI
GbyAI
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
U
Unit 42
Engineering at Meta
Engineering at Meta
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
Google DeepMind News
Google DeepMind News
Vercel News
Vercel News
美团技术团队
雷峰网
雷峰网
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
D
DataBreaches.Net
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks
罗磊的独立博客
MyScale Blog
MyScale Blog
博客园_首页
IT之家
IT之家
F
Fortinet All Blogs
博客园 - Franky

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 Harbor container registry with Datadog
Paul Gottschling · 2019-08-12 · via Datadog | The Monitor blog
Paul Gottschling

Paul Gottschling

Datadog Technical Content Writer

Harbor, developed by VMware and hosted by the CNCF, is an open source registry for container images and Helm charts. Hosting Harbor within your infrastructure gives you a number of advantages over using the default Docker registry, such as role-based access control, security scanning, and replication of resources between registry instances. Since a failed Harbor deployment can spell trouble for your containerized workloads, monitoring your self-hosted container registry is critical. Datadog’s new integration for Harbor container registry allows you to track the health and performance of Harbor alongside that of your containerized applications and infrastructure.

oob-dash

Track registry disk usage

Harbor container registry uses a database to store its critical data, including images and Helm charts. Monitoring Harbor’s disk usage allows you to ensure that your containerized services can access the resources they need. With the out-of-the-box dashboard for Harbor, you can track the capacity of Harbor’s image database by comparing the total size of its storage volume to the amount of space remaining. As a result, you can tell in real time whether Harbor’s storage resources are adequate, and reconfigure your storage backend if not.

And with Datadog’s forecasting algorithms, you can visualize the projected disk usage of your Harbor deployment and get notified when you need to scale Harbor’s storage resources. Datadog also tracks the number of projects stored within the database, and you can correlate this metric with disk usage to estimate the storage capacity you’ll need to accommodate the demand on your registry.

disk-forecast

Get notified if Harbor goes down

If you’re using Harbor’s HTTP API to manage your registry, you’ll want to ensure that your deployment’s HTTP backend is running when you need it. The Harbor integration includes a service check for the availability of the API, returning CRITICAL if the API is unavailable. You can configure Datadog to notify you if the Agent can’t reach the API within a certain amount of time, e.g., because of a DNS misconfiguration or high CPU utilization on a Harbor host.

Harbor container registry runs automatic health checks on each of its components, including the built-in database and Redis cache. You can use Datadog to automatically track the status of these health checks, and get notified if they fail. With the component tag, you can configure the alert to trigger a separate notification for each failing component, so you’ll know where to start troubleshooting.

Viewing an alert for Harbor’s per-component status.
Viewing an alert for Harbor’s per-component status.
Viewing an alert for Harbor’s per-component status.

Analyze your Harbor logs for faster troubleshooting

Since Harbor runs as a containerized, distributed system, it logs events from multiple components at once. Datadog’s out-of-the-box log processing pipeline makes it easier to analyze Harbor logs by extracting relevant attributes from each of Harbor’s components. You can investigate issues with the HTTP API, for example, by filtering by URL path, status code, and HTTP method, and investigate database issues by filtering by operation. You can also get a high-level view of your Harbor deployment’s health by visualizing aggregate log status by Harbor component, as shown below.

Use the Harbor integration’s built-in log processing pipeline to view Harbor log statuses over time, grouped by component.
Use the Harbor integration’s built-in log processing pipeline to view Harbor log statuses over time, grouped by component.
Use the Harbor integration’s built-in log processing pipeline to view Harbor log statuses over time, grouped by component.

Keep Harbor container registry above water

Now that Datadog integrates with Harbor, you can get the visibility you need to ensure uptime for your self-hosted registry—and the services that depend on it. And since Datadog also integrates with Docker, Kubernetes, and more than 1,000 other technologies, you can monitor all of your containerized services in one place. If you haven’t started using Datadog yet, you can sign up for a fully featured free trial.