datadog-agent icon indicating copy to clipboard operation
datadog-agent copied to clipboard

Please tell me how to collect EKS Control Plane metrics in helm method

Open derekcha opened this issue 5 months ago • 0 comments

I want to collect the Control Plane metrics of the EKS I am using via Datadog Agent. So I looked for the manual and found this link.

annotations:
  ad.datadoghq.com/endpoints.check_names: '["kube_apiserver_metrics"]'
  ad.datadoghq.com/endpoints.init_configs: '[{}]'
  ad.datadoghq.com/endpoints.instances:
    '[{ "prometheus_url": "https://%%host%%:%%port%%/metrics", "bearer_token_auth": "true" }]'

However, the way I want to do it is using the helm way (injecting confd into agent) rather than adding annotations directly to kubernetes-api service, because I want to unify it with adding other metric collections.

Can you tell me how to collect eks control plane metrics by adding confd?

derekcha avatar Sep 13 '24 02:09 derekcha