Skip to content

Latest commit

 

History

History

kube_metrics_server

Agent Check: Kube_metrics_server

Overview

This check monitors Kube_metrics_server v0.3.0+, a component used by the Kubernetes control plane.

Setup

Installation

The Kube_metrics_server check is included in the Datadog Agent package. No additional installation is needed on your server.

Configuration

Host

Follow the instructions below to configure this check for an Agent running on a host. For containerized environments, see the Containerized section.

  1. Edit the kube_metrics_server.d/conf.yaml file, in the conf.d/ folder at the root of your Agent's configuration directory to start collecting your kube_metrics_server performance data. See the sample kube_metrics_server.d/conf.yaml for all available configuration options.

  2. Restart the Agent.

Containerized

For containerized environments, see the Kubernetes Autodiscovery Integration Templates for guidance on applying the parameters below.

Parameter Value
<INTEGRATION_NAME> kube_metrics_server
<INIT_CONFIG> blank or {}
<INSTANCE_CONFIG> {"prometheus_url": "https://%%host%%:443/metrics"}

SSL

If your endpoint is secured, additional configuration is required:

  1. Identify the certificate used for securing the metric endpoint.

  2. Mount the related certificate file in the Agent pod.

  3. Apply your SSL configuration. Refer to the default configuration file for more information.

Validation

Run the Agent's status subcommand and look for kube_metrics_server under the Checks section.

Data Collected

Metrics

See metadata.csv for a list of metrics provided by this integration.

Service Checks

kube_metrics_server.prometheus.health:

Returns CRITICAL if the Agent cannot reach the metrics endpoints.

Events

kube_metrics_server does not include any events.

Troubleshooting

Need help? Contact Datadog support.