Datadog Cluster Agent

Supported OS Linux Mac OS Windows

インテグレーションバージョン5.5.0

To find out if this integration is available in your organization, see your Datadog Integrations page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [email protected].

概要

このチェックは、Datadog Agent を通じて Datadog Cluster Agent を監視します。

セットアップ

ホストで実行されている Agent 用にこのチェックをインストールおよび構成する場合は、以下の手順に従ってください。コンテナ環境の場合は、オートディスカバリーのインテグレーションテンプレートのガイドを参照してこの手順を行ってください。

インストール

Datadog Cluster Agent チェックは Datadog Agent パッケージに含まれています。 サーバーに追加でインストールする必要はありません。

構成

Datadog Cluster Agent チェックは、ほとんどのシナリオで自動的に構成を行うためにオートディスカバリーを使用します。このチェックは、Cluster Agent ポッドと同じノード上の Datadog Agent ポッドで実行されますが、Cluster Agent 自体では実行されません。

チェックをさらに構成する必要がある場合

  1. datadog_cluster_agent のパフォーマンスデータの収集を開始するには、Agent のコンフィギュレーションディレクトリのルートにある conf.d/ フォルダーの datadog_cluster_agent.d/conf.yaml ファイルを編集します。使用可能なすべてのコンフィギュレーションオプションについては、サンプル datadog_cluster_agent.d/conf.yaml を参照してください。

  2. Agent を再起動します

検証

Agent の status サブコマンドを実行し、Checks セクションで datadog_cluster_agent を探します。

収集データ

メトリクス

datadog.cluster_agent.admission_webhooks.certificate_expiry
(gauge)
Time left before the certificate expires
Shown as hour
datadog.cluster_agent.admission_webhooks.cws_exec_mutation_attempts
(count)
Number of CWS exec mutation attempts by reason and status
datadog.cluster_agent.admission_webhooks.cws_pod_mutation_attempts
(count)
Number of CWS pod mutation attempts by reason and status
datadog.cluster_agent.admission_webhooks.cws_response_duration.count
(count)
CWS mutating webhook response duration count
datadog.cluster_agent.admission_webhooks.cws_response_duration.sum
(count)
CWS mutating webhook response duration sum
datadog.cluster_agent.admission_webhooks.image_resolution_attempts
(count)
Number of image resolution attempts for gradual rollout
datadog.cluster_agent.admission_webhooks.library_injection_attempts
(count)
Number of library injection attempts by language
datadog.cluster_agent.admission_webhooks.library_injection_errors
(count)
Number of library injection failures by language
datadog.cluster_agent.admission_webhooks.mutation_attempts
(gauge)
Number of pod mutation attempts by mutation type
datadog.cluster_agent.admission_webhooks.mutation_errors
(gauge)
Number of mutation failures by mutation type
datadog.cluster_agent.admission_webhooks.patcher.attempts
(count)
Number of patch attempts
datadog.cluster_agent.admission_webhooks.patcher.completed
(count)
Number of completed patch attempts
datadog.cluster_agent.admission_webhooks.patcher.errors
(count)
Number of patch errors
datadog.cluster_agent.admission_webhooks.rc_provider.configs
(gauge)
Number of valid remote configuration
datadog.cluster_agent.admission_webhooks.rc_provider.invalid_configs
(gauge)
Number of invalid remote configurations
datadog.cluster_agent.admission_webhooks.reconcile_errors
(gauge)
Number of reconcile errors per controller
datadog.cluster_agent.admission_webhooks.reconcile_success
(gauge)
Number of reconcile successes per controller
Shown as success
datadog.cluster_agent.admission_webhooks.response_duration.count
(count)
Webhook response duration count
datadog.cluster_agent.admission_webhooks.response_duration.sum
(count)
Webhook response duration sum
Shown as second
datadog.cluster_agent.admission_webhooks.validation_attempts
(gauge)
Number of pod validation attempts by validation type
datadog.cluster_agent.admission_webhooks.webhooks_received
(gauge)
Number of webhook requests received
datadog.cluster_agent.aggregator.flush
(count)
Number of metrics/service checks/events flushed by (data_type, state)
datadog.cluster_agent.aggregator.processed
(count)
Amount of metrics/services_checks/events processed by the aggregator by data_type
datadog.cluster_agent.api_requests
(count)
Requests made to the cluster agent API by (handler, status)
Shown as request
datadog.cluster_agent.autodiscovery.errors
(gauge)
Number of Autodiscovery errors
datadog.cluster_agent.autodiscovery.poll_duration.count
(count)
Autodiscovery poll duration count
datadog.cluster_agent.autodiscovery.poll_duration.sum
(count)
Autodiscovery poll duration sum
Shown as second
datadog.cluster_agent.autodiscovery.watched_resources
(gauge)
Number of watched resources (Services and Endpoints)
datadog.cluster_agent.autoscaling.workload.autoscaler_conditions
(gauge)
Current state of each condition on the DatadogPodAutoscaler object (1 if True 0 otherwise) tagged by condition type
datadog.cluster_agent.autoscaling.workload.horizontal_scaling.constraints.max_replicas
(gauge)
Maximum number of replicas configured in the DatadogPodAutoscaler horizontal scaling constraints
datadog.cluster_agent.autoscaling.workload.horizontal_scaling.constraints.min_replicas
(gauge)
Minimum number of replicas configured in the DatadogPodAutoscaler horizontal scaling constraints
datadog.cluster_agent.autoscaling.workload.horizontal_scaling_actions
(count)
Cumulative count of horizontal scaling actions attempted split by outcome (status:ok or status:error)
datadog.cluster_agent.autoscaling.workload.horizontal_scaling_applied_replicas
(gauge)
Number of replicas last applied to the target workload by the horizontal scaler
datadog.cluster_agent.autoscaling.workload.horizontal_scaling_received_replicas
(gauge)
Number of replicas recommended by the main horizontal scaling source
datadog.cluster_agent.autoscaling.workload.local.fallback_enabled
(gauge)
1 if the local in-cluster fallback recommender is currently active for horizontal scaling 0 otherwise
datadog.cluster_agent.autoscaling.workload.local.horizontal_scaling_recommended_replicas
(gauge)
Number of replicas recommended by the local in-cluster fallback recommender
datadog.cluster_agent.autoscaling.workload.local.horizontal_utilization_pct
(gauge)
CPU utilization percentage computed by the local fallback recommender for horizontal scaling
datadog.cluster_agent.autoscaling.workload.received_recommendations_version
(gauge)
Version number of the most recently received scaling recommendation from the remote recommender
datadog.cluster_agent.autoscaling.workload.status.desired.replicas
(gauge)
Desired replica count from the DatadogPodAutoscaler horizontal status
datadog.cluster_agent.autoscaling.workload.status.vertical.desired.container.cpu.limit
(gauge)
Desired CPU limit in millicores for the container from the DatadogPodAutoscaler vertical status
datadog.cluster_agent.autoscaling.workload.status.vertical.desired.container.cpu.request
(gauge)
Desired CPU request in millicores for the container from the DatadogPodAutoscaler vertical status
datadog.cluster_agent.autoscaling.workload.status.vertical.desired.container.memory.limit
(gauge)
Desired memory limit in bytes for the container from the DatadogPodAutoscaler vertical status
Shown as byte
datadog.cluster_agent.autoscaling.workload.status.vertical.desired.container.memory.request
(gauge)
Desired memory request in bytes for the container from the DatadogPodAutoscaler vertical status
Shown as byte
datadog.cluster_agent.autoscaling.workload.vertical_rollout_triggered
(count)
Cumulative count of pod rollouts triggered by the vertical scaler split by outcome (status:ok or status:error)
datadog.cluster_agent.autoscaling.workload.vertical_scaling.constraints.container.cpu.request_max
(gauge)
Maximum CPU request allowed for the container in millicores as configured in the DatadogPodAutoscaler vertical scaling constraints
datadog.cluster_agent.autoscaling.workload.vertical_scaling.constraints.container.cpu.request_min
(gauge)
Minimum CPU request allowed for the container in millicores as configured in the DatadogPodAutoscaler vertical scaling constraints
datadog.cluster_agent.autoscaling.workload.vertical_scaling.constraints.container.memory.request_max
(gauge)
Maximum memory request allowed for the container in bytes as configured in the DatadogPodAutoscaler vertical scaling constraints
Shown as byte
datadog.cluster_agent.autoscaling.workload.vertical_scaling.constraints.container.memory.request_min
(gauge)
Minimum memory request allowed for the container in bytes as configured in the DatadogPodAutoscaler vertical scaling constraints
Shown as byte
datadog.cluster_agent.autoscaling.workload.vertical_scaling_received_limits
(gauge)
Resource limit value recommended by the main vertical scaling source per container and resource (millicores for CPU bytes for memory)
datadog.cluster_agent.autoscaling.workload.vertical_scaling_received_requests
(gauge)
Resource request value recommended by the main vertical scaling source per container and resource (millicores for CPU bytes for memory)
datadog.cluster_agent.cluster_checks.busyness
(gauge)
Busyness of a node per the number of metrics submitted and average duration of all checks run
datadog.cluster_agent.cluster_checks.configs_dangling
(gauge)
Number of check configurations not dispatched
datadog.cluster_agent.cluster_checks.configs_dispatched
(gauge)
Number of check configurations dispatched by node
datadog.cluster_agent.cluster_checks.configs_info
(gauge)
Information about check configurations dispatched (node and check ID)
datadog.cluster_agent.cluster_checks.failed_stats_collection
(count)
Total number of unsuccessful stats collection attempts
datadog.cluster_agent.cluster_checks.nodes_reporting
(gauge)
Number of node agents reporting
datadog.cluster_agent.cluster_checks.rebalancing_decisions
(count)
Total number of check rebalancing decisions
datadog.cluster_agent.cluster_checks.rebalancing_duration_seconds
(gauge)
Duration of the check rebalancing algorithm last execution
Shown as second
datadog.cluster_agent.cluster_checks.successful_rebalancing_moves
(count)
Total number of successful check rebalancing decisions
Shown as check
datadog.cluster_agent.cluster_checks.unscheduled_check
(gauge)
Number of check configurations not scheduled
datadog.cluster_agent.cluster_checks.updating_stats_duration_seconds
(gauge)
Duration of collecting stats from check runners and updating cache
Shown as second
datadog.cluster_agent.datadog.rate_limit_queries.limit
(gauge)
Maximum number of queries to the Datadog API allowed in the period by endpoint
Shown as query
datadog.cluster_agent.datadog.rate_limit_queries.period
(gauge)
Period of rate limiting for the Datadog API by endpoint
Shown as second
datadog.cluster_agent.datadog.rate_limit_queries.remaining
(gauge)
Number of queries to the Datadog API remaining before next reset by endpoint
Shown as query
datadog.cluster_agent.datadog.rate_limit_queries.remaining_min
(gauge)
Minimum number of queries remaining before next reset observed during an expiration interval of 2*refresh period
Shown as query
datadog.cluster_agent.datadog.rate_limit_queries.reset
(gauge)
Number of seconds before next reset applied to the Datadog API by endpoint
Shown as second
datadog.cluster_agent.datadog.requests
(count)
Requests made to Datadog by status
Shown as request
datadog.cluster_agent.endpoint_checks.configs_dispatched
(gauge)
Number of endpoint-check configurations dispatched by node
datadog.cluster_agent.external_metrics
(gauge)
Number of external metrics tagged
datadog.cluster_agent.external_metrics.api_elapsed.count
(count)
Count of API Requests received
datadog.cluster_agent.external_metrics.api_elapsed.sum
(count)
Count of API Requests received
datadog.cluster_agent.external_metrics.api_requests
(gauge)
Count of API Requests received
datadog.cluster_agent.external_metrics.datadog_metrics
(gauge)
The label valid is true if the DatadogMetric CR is valid, false otherwise
datadog.cluster_agent.external_metrics.delay_seconds
(gauge)
Freshness of the metric evaluated from querying Datadog
Shown as second
datadog.cluster_agent.external_metrics.processed_value
(gauge)
Value processed from querying Datadog by metric
datadog.cluster_agent.go.goroutines
(gauge)
Number of goroutines that currently exist
datadog.cluster_agent.go.memstats.alloc_bytes
(gauge)
Number of bytes allocated and still in use
Shown as byte
datadog.cluster_agent.go.threads
(gauge)
Number of OS threads created
Shown as thread
datadog.cluster_agent.kubernetes_apiserver.emitted_events
(count)
Datadog events emitted by the kubernetes_apiserver check
datadog.cluster_agent.kubernetes_apiserver.kube_events
(count)
Kubernetes events processed by the kubernetes_apiserver check
datadog.cluster_agent.language_detection_dca_handler.processed_requests
(count)
The number of process language detection requests processed by the handler
datadog.cluster_agent.language_detection_patcher.patches
(count)
The number of patch requests sent by the patcher to the kube api server
datadog.cluster_agent.secret_backend.elapsed
(gauge)
The elapsed time of secret backend invocation
Shown as millisecond
datadog.cluster_agent.tagger.stored_entities
(gauge)
Number of entities stored in the tagger
datadog.cluster_agent.tagger.updated_entities
(count)
Number of updates made to entities in the tagger
datadog.cluster_agent.workloadmeta.events_received
(count)
Number of events received by workloadmeta
datadog.cluster_agent.workloadmeta.notifications_sent
(count)
Number of notifications sent by workloadmeta to its subscribers
datadog.cluster_agent.workloadmeta.stored_entities
(gauge)
Number of entities stored in workloadmeta
datadog.cluster_agent.workloadmeta.subscribers
(gauge)
Number of workloadmeta subscribers

イベント

Datadog_Cluster_Agent インテグレーションには、イベントは含まれません。

サービスチェック

datadog.cluster_agent.prometheus.health

Returns CRITICAL if the check cannot access the metrics endpoint. Returns OK otherwise.

Statuses: ok, critical

トラブルシューティング

ご不明な点は、Datadog のサポートチームまでお問い合わせください。