Home / Companies / Datadog / Blog / Post Details
Content Deep Dive

Our journey taking Kubernetes state metrics to the next level

Blog post from Datadog

Post Details
Company
Date Published
Author
Charly Fontaine, Cedric Lamoriniere, Ahmed Mezghani
Word Count
2,189
Company Posts That Month
19
Language
English
Hacker News Points
-
Summary

The Datadog Containers team contributed to the kube-state-metrics project, a popular open-source Kubernetes service that generates metrics about the state of objects in a Kubernetes cluster. The team was facing challenges scaling the tool to their needs, including high data volumes and performance issues. To address these challenges, they designed an extensible solution that utilized the Datadog Cluster Check feature. This solution allowed them to reduce network latency, memory footprint, and CPU usage, while also improving scalability and extensibility. The team's contribution introduced a new Kubernetes State Metrics check in the Datadog Agent, which runs a long-running thread that pulls data from the kube-state-metrics process. This resulted in significant performance improvements, including reduced execution time and memory footprint. The new solution enables users to monitor any custom resource and generate metrics for CRDs, providing a seamless experience for internal Datadog users and contributing back to the upstream code base.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 23 1,341 163 55 +34%
Observability 1 730 165 58 +47%
Real-time 1 897 308 107 -10%