Slide 44
Slide 44 text
Custom metrics ΛૹΔ design pattern
• Kubernetes ڥͩͱ Autodiscovery ػೳ͕ศར
https://docs.datadoghq.com/agent/kubernetes/integrations/?tab=kubernetes
API ͕͋Δ֎෦γεςϜ
Custom metric ੜ͢Δ܅
(Kubernetes Deployment)
API Ͱσʔλऔಘ
Datadog-agent
1 annotations:
2 ad.datadoghq.com/timed-exam-schedule-exporter.check_names: |
3 ["prometheus"]
4 ad.datadoghq.com/timed-exam-schedule-exporter.init_configs:
|
5 [{}]
6 ad.datadoghq.com/timed-exam-schedule-exporter.instances: |
7 [
8 {
9 "prometheus_url": "http://%%host%%:8080/metrics",
10 "namespace": "namespace",
11 "metrics": ["*"]
12 }
13 ]