- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Supported OS
Get metrics from kube-dns service in real time to:
See https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/dns for more information about kube-dns.
The kube-dns check is included in the Datadog Agent package, so you don’t need to install anything else on your servers.
Edit the kube_dns.d/conf.yaml
file, in the conf.d/
folder at the root of your Agent’s configuration directory. See the sample kube_dns.d/conf.yaml for all available configuration options.
If you are using one Agent pod per Kubernetes worker node, use the following annotations on your kube-dns pod to retrieve the data automatically.
apiVersion: v1
kind: Pod
metadata:
annotations:
service-discovery.datadoghq.com/kubedns.check_names: '["kube_dns"]'
service-discovery.datadoghq.com/kubedns.init_configs: '[{}]'
service-discovery.datadoghq.com/kubedns.instances: '[[{"prometheus_endpoint":"http://%%host%%:10055/metrics", "tags":["dns-pod:%%host%%"]}]]'
Remarks:
Run the Agent’s status
subcommand and look for kube_dns
under the Checks section.
kubedns.cachemiss_count (gauge) | Number of DNS requests resulting in a cache miss. Shown as request |
kubedns.cachemiss_count.count (count) | Instant number of DNS requests made resulting in a cache miss. Shown as request |
kubedns.error_count (gauge) | Number of DNS requests resulting in an error. Shown as error |
kubedns.error_count.count (count) | Instant number of DNS requests made resulting in an error. Shown as error |
kubedns.request_count (gauge) | Total number of DNS requests made. Shown as request |
kubedns.request_count.count (count) | Instant number of DNS requests made. Shown as request |
kubedns.request_duration.seconds.count (gauge) | Number of requests on which the kubedns.request_duration.seconds.sum metric is evaluated. Shown as request |
kubedns.request_duration.seconds.sum (gauge) | Time (in seconds) each request took to resolve. Shown as second |
kubedns.response_size.bytes.count (gauge) | Number of responses on which the kubedns.response_size.bytes.sum metric is evaluated. Shown as response |
kubedns.response_size.bytes.sum (gauge) | Size of the returns response in bytes. Shown as byte |
The kube-dns check does not include any events.
kubedns.up
Returns CRITICAL
if Kube DNS is not healthy.
Statuses: ok, critical
Need help? Contact Datadog support.