ZooKeeper
セキュリティモニタリングが使用可能です セキュリティモニタリングが使用可能です

ZooKeeper

Agent Check Agentチェック

Supported OS: Linux Mac OS

Zookeeper ダッシュボード

概要

Zookeeper チェックは、クライアント接続とレイテンシーの追跡、未処理リクエスト数の監視などを行います。

セットアップ

インストール

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

コンフィギュレーション

Zookeepr のホワイトリスト

バージョン 3.5 以降、Zookeeper で 4 文字コマンドをホワイトリストに登録する 4lw.commands.whitelist パラメーターを利用できるようになりました (Zookeeper のドキュメントを参照してください)。デフォルトでは、srvr だけがホワイトリストされています。このインテグレーションは stat および mntr コマンドに基づいているため、これらのコマンドを ホワイトリストに登録してください。

ホスト

ホストで実行中の Agent でこのチェックを構成する場合は、以下の手順に従ってください。コンテナ環境の場合は、コンテナ化セクションを参照してください。

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

  2. Agent を再起動します

ログの収集

Agent バージョン 6.0 以降で利用可能

  1. Zookeeper はデフォルトで log4j ロガーを使用します。ファイルへのログ記録をアクティブにし、フォーマットをカスタマイズするには、log4j.properties ファイルを編集します。

     # Set root logger level to INFO and its only appender to R
     log4j.rootLogger=INFO, R
     log4j.appender.R.File=/var/log/zookeeper.log
     log4j.appender.R.layout=org.apache.log4j.PatternLayout
     log4j.appender.R.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p [%t] %c{1}:%L - %m%n
  2. Datadog のインテグレーションパイプラインは、デフォルトで、次の変換パターンをサポートします。

     %d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
     %d [%t] %-5p %c - %m%n
     %r [%t] %p %c %x - %m%n

    別の形式に対応する場合は、インテグレーションパイプラインを複製して編集してください。

  3. Datadog Agent で、ログの収集はデフォルトで無効になっています。以下のように、datadog.yaml ファイルでこれを有効にします。

    logs_enabled: true
  4. zk.d/conf.yaml の下部にある、コンフィギュレーションブロックのコメントを解除して編集します。

    logs:
     - type: file
       path: /var/log/zookeeper.log
       source: zookeeper
       service: myapp
       #To handle multi line that starts with yyyy-mm-dd use the following pattern
       #log_processing_rules:
       #  - type: multi_line
       #    name: log_start_with_date
       #    pattern: \d{4}\-(0?[1-9]|1[012])\-(0?[1-9]|[12][0-9]|3[01])

    path および service パラメーターの値を変更し、環境に合わせて構成します。使用可能なすべてのコンフィギュレーションオプションについては、サンプル zk.d/conf.yaml を参照してください。

  5. Agent を再起動します

コンテナ化

コンテナ環境の場合は、オートディスカバリーのインテグレーションテンプレートのガイドを参照して、次のパラメーターを適用してください。

メトリクスの収集
パラメーター
<インテグレーション名>zk
<初期コンフィギュレーション>空白または {}
<インスタンスコンフィギュレーション>{"host": "%%host%%", "port": "2181"}
ログの収集

Agent バージョン 6.0 以降で利用可能

Datadog Agent で、ログの収集はデフォルトで無効になっています。有効にする方法については、Kubernetes ログ収集のドキュメントを参照してください。

パラメーター
<LOG_CONFIG>{"source": "zookeeper", "service": "<サービス名>"}

検証

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

収集データ

メトリクス

zookeeper.approximate_data_size
(gauge)
zookeeper.avg_latency
(gauge)
The amount of time it takes for the server to respond to a client request.
Shown as millisecond
zookeeper.bytes_received
(gauge)
Number of bytes received
zookeeper.bytes_sent
(gauge)
Number of bytes sent
zookeeper.connections
(gauge)
The total count of client connections.
Shown as connection
zookeeper.datadog_client_exception
(rate)
The exception rate seen by the Datadog Agent when trying to collect stats.
Shown as error
zookeeper.ephemerals_count
(gauge)
zookeeper.instances
(gauge)
zookeeper.latency.avg
(gauge)
The amount of time it takes for the server to respond to a client request.
Shown as millisecond
zookeeper.latency.max
(gauge)
The amount of time it takes for the server to respond to a client request.
Shown as millisecond
zookeeper.latency.min
(gauge)
The amount of time it takes for the server to respond to a client request.
Shown as millisecond
zookeeper.max_file_descriptor_count
(gauge)
zookeeper.max_latency
(gauge)
The amount of time it takes for the server to respond to a client request.
Shown as millisecond
zookeeper.min_latency
(gauge)
The amount of time it takes for the server to respond to a client request.
Shown as millisecond
zookeeper.nodes
(gauge)
The number of znodes in the ZooKeeper namespace (the data).
Shown as node
zookeeper.num_alive_connections
(gauge)
The total count of client connections.
Shown as connection
zookeeper.open_file_descriptor_count
(gauge)
zookeeper.outstanding_requests
(gauge)
The number of queued requests when the server is under load and is receiving more sustained requests than it can process.
Shown as request
zookeeper.packets.received
(gauge)
The number of packets received.
Shown as packet
zookeeper.packets.sent
(gauge)
The number of packets sent.
Shown as packet
zookeeper.packets_received
(gauge)
The number of packets received.
Shown as packet
zookeeper.packets_sent
(gauge)
The number of packets sent.
Shown as packet
zookeeper.server_state
(gauge)
zookeeper.timeouts
(rate)
The rate of timeouts the Datadog Agent received when trying to collect stats.
Shown as occurrence
zookeeper.watch_count
(gauge)
zookeeper.znode_count
(gauge)
The number of znodes in the ZooKeeper namespace (the data).
Shown as node
zookeeper.zxid.count
(gauge)
zookeeper.zxid.epoch
(gauge)
zookeeper.add_dead_watcher_stall_time
(gauge)
[zookeeper version 3.6+ only]
zookeeper.bytes_received_count
(gauge)
[zookeeper version 3.6+ only] The number of bytes received
Shown as byte
zookeeper.close_session_prep_time
(gauge)
[zookeeper version 3.6+ only] Histogram of close_session_prep_time
zookeeper.close_session_prep_time_count
(gauge)
[zookeeper version 3.6+ only] Total count of close_session_prep_time
zookeeper.close_session_prep_time_sum
(gauge)
[zookeeper version 3.6+ only] Sum of close_session_prep_time
zookeeper.commit_commit_proc_req_queued
(gauge)
[zookeeper version 3.6+ only] Histogram of commit_commit_proc_req_queued
zookeeper.commit_commit_proc_req_queued_count
(gauge)
[zookeeper version 3.6+ only] Total count of commit_commit_proc_req_queued
zookeeper.commit_commit_proc_req_queued_sum
(gauge)
[zookeeper version 3.6+ only] Sum of commit_commit_proc_req_queued
zookeeper.commit_count
(gauge)
[zookeeper version 3.6+ only] The number of commits performed on leader
zookeeper.commit_process_time
(gauge)
[zookeeper version 3.6+ only] Histogram of commit_process_time
zookeeper.commit_process_time_count
(gauge)
[zookeeper version 3.6+ only] Total count of commit_process_time
zookeeper.commit_process_time_sum
(gauge)
[zookeeper version 3.6+ only] Sum of commit_process_time
zookeeper.commit_propagation_latency
(gauge)
[zookeeper version 3.6+ only] Histogram of commit_propagation_latency
zookeeper.commit_propagation_latency_count
(gauge)
[zookeeper version 3.6+ only] Total count of commit_propagation_latency
zookeeper.commit_propagation_latency_sum
(gauge)
[zookeeper version 3.6+ only] Sum of commit_propagation_latency
zookeeper.concurrent_request_processing_in_commit_processor
(gauge)
[zookeeper version 3.6+ only] Histogram of concurrent_request_processing_in_commit_processor
zookeeper.concurrent_request_processing_in_commit_processor_count
(gauge)
[zookeeper version 3.6+ only] Total count of concurrent_request_processing_in_commit_processor
zookeeper.concurrent_request_processing_in_commit_processor_sum
(gauge)
[zookeeper version 3.6+ only] Sum of concurrent_request_processing_in_commit_processor
zookeeper.connection_drop_count
(gauge)
[zookeeper version 3.6+ only] Count of connection drops
zookeeper.connection_drop_probability
(gauge)
[zookeeper version 3.6+ only] Connection drop probability
zookeeper.connection_rejected
(gauge)
[zookeeper version 3.6+ only] Connection rejected counts
zookeeper.connection_request_count
(gauge)
[zookeeper version 3.6+ only] Number of incoming client connection requests
zookeeper.connection_revalidate_count
(gauge)
[zookeeper version 3.6+ only] Count of connection revalidations
zookeeper.connection_token_deficit
(gauge)
[zookeeper version 3.6+ only] Histogram of connection_token_deficit
zookeeper.connection_token_deficit_count
(gauge)
[zookeeper version 3.6+ only] Total count of connection_token_deficit
zookeeper.connection_token_deficit_sum
(gauge)
[zookeeper version 3.6+ only] Sum of connection_token_deficit
zookeeper.dbinittime
(gauge)
[zookeeper version 3.6+ only] Histogram of dbinittime Time to reload database
zookeeper.dbinittime_count
(gauge)
[zookeeper version 3.6+ only] Total count of dbinittime Time to reload database
zookeeper.dbinittime_sum
(gauge)
[zookeeper version 3.6+ only] Sum of dbinittime Time to reload database
zookeeper.dead_watchers_cleaner_latency
(gauge)
[zookeeper version 3.6+ only] Histogram of dead_watchers_cleaner_latency
zookeeper.dead_watchers_cleaner_latency_count
(gauge)
[zookeeper version 3.6+ only] Total count of dead_watchers_cleaner_latency
zookeeper.dead_watchers_cleaner_latency_sum
(gauge)
[zookeeper version 3.6+ only] Sum of dead_watchers_cleaner_latency
zookeeper.dead_watchers_cleared
(gauge)
[zookeeper version 3.6+ only]
zookeeper.dead_watchers_queued
(gauge)
[zookeeper version 3.6+ only]
zookeeper.diff_count
(gauge)
[zookeeper version 3.6+ only] Number of diff syncs performed
zookeeper.digest_mismatches_count
(gauge)
[zookeeper version 3.6+ only]
zookeeper.election_time
(gauge)
[zookeeper version 3.6+ only] Time between entering and leaving election
zookeeper.election_time_count
(gauge)
[zookeeper version 3.6+ only] Time between entering and leaving election
zookeeper.election_time_sum
(gauge)
[zookeeper version 3.6+ only] Time between entering and leaving election
zookeeper.ensemble_auth_fail
(gauge)
[zookeeper version 3.6+ only]
zookeeper.ensemble_auth_skip
(gauge)
[zookeeper version 3.6+ only]
zookeeper.ensemble_auth_success
(gauge)
[zookeeper version 3.6+ only]
zookeeper.follower_sync_time
(gauge)
[zookeeper version 3.6+ only] Time for follower to sync with leader
zookeeper.follower_sync_time_count
(gauge)
[zookeeper version 3.6+ only] Time for follower to sync with leader
zookeeper.follower_sync_time_sum
(gauge)
[zookeeper version 3.6+ only] Time for follower to sync with leader
zookeeper.fsynctime
(gauge)
[zookeeper version 3.6+ only] Time to fsync transaction log
zookeeper.fsynctime_count
(gauge)
[zookeeper version 3.6+ only] Time to fsync transaction log
zookeeper.fsynctime_sum
(gauge)
[zookeeper version 3.6+ only] Time to fsync transaction log
zookeeper.global_sessions
(gauge)
[zookeeper version 3.6+ only] Count of global sessions
zookeeper.jvm_buffer_pool_capacity_bytes
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_buffer_pool_used_buffers
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_buffer_pool_used_bytes
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_classes_loaded
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_classes_loaded_total
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_classes_unloaded_total
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_gc_collection_seconds_count
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_gc_collection_seconds_sum
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_info
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_memory_bytes_committed
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_memory_bytes_init
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_memory_bytes_max
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_memory_bytes_used
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_memory_pool_allocated_bytes_total
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_memory_pool_bytes_committed
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_memory_pool_bytes_init
(gauge)
[zookeeper version 3.6+ only]
Shown as byte
zookeeper.jvm_memory_pool_bytes_max
(gauge)
[zookeeper version 3.6+ only]
Shown as byte
zookeeper.jvm_memory_pool_bytes_used
(gauge)
[zookeeper version 3.6+ only]
Shown as byte
zookeeper.jvm_threads_current
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_threads_daemon
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_threads_deadlocked
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_threads_deadlocked_monitor
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_threads_peak
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_threads_started_total
(gauge)
[zookeeper version 3.6+ only]
zookeeper.jvm_threads_state
(gauge)
[zookeeper version 3.6+ only]
zookeeper.large_requests_rejected
(gauge)
[zookeeper version 3.6+ only]
zookeeper.last_client_response_size
(gauge)
[zookeeper version 3.6+ only]
zookeeper.learner_commit_received_count
(gauge)
[zookeeper version 3.6+ only]
zookeeper.learner_proposal_received_count
(gauge)
[zookeeper version 3.6+ only]
zookeeper.local_sessions
(gauge)
[zookeeper version 3.6+ only] Count of local sessions
zookeeper.local_write_committed_time_ms
(gauge)
[zookeeper version 3.6+ only] Histogram of local_write_committed_time_ms
zookeeper.local_write_committed_time_ms_count
(gauge)
[zookeeper version 3.6+ only] Total count of local_write_committed_time_ms
zookeeper.local_write_committed_time_ms_sum
(gauge)
[zookeeper version 3.6+ only] Sum of local_write_committed_time_ms
zookeeper.looking_count
(gauge)
[zookeeper version 3.6+ only] Number of transitions into looking state
zookeeper.max_client_response_size
(gauge)
[zookeeper version 3.6+ only]
zookeeper.min_client_response_size
(gauge)
[zookeeper version 3.6+ only]
zookeeper.netty_queued_buffer_capacity
(gauge)
[zookeeper version 3.6+ only] Histogram of netty_queued_buffer_capacity
zookeeper.netty_queued_buffer_capacity_count
(gauge)
[zookeeper version 3.6+ only] Total count of netty_queued_buffer_capacity
zookeeper.netty_queued_buffer_capacity_sum
(gauge)
[zookeeper version 3.6+ only] Sum of netty_queued_buffer_capacity
zookeeper.node_changed_watch_count
(gauge)
[zookeeper version 3.6+ only] Histogram of node_changed_watch_count
zookeeper.node_changed_watch_count_count
(gauge)
[zookeeper version 3.6+ only] Total count of node_changed_watch_count
zookeeper.node_changed_watch_count_sum
(gauge)
[zookeeper version 3.6+ only] Sum of node_changed_watch_count
zookeeper.node_children_watch_count
(gauge)
[zookeeper version 3.6+ only] Histogram of node_children_watch_count
zookeeper.node_children_watch_count_count
(gauge)
[zookeeper version 3.6+ only] Total count of node_children_watch_count
zookeeper.node_children_watch_count_sum
(gauge)
[zookeeper version 3.6+ only] Sum of node_children_watch_count
zookeeper.node_created_watch_count
(gauge)
[zookeeper version 3.6+ only] Histogram of node_created_watch_count
zookeeper.node_created_watch_count_count
(gauge)
[zookeeper version 3.6+ only] Total count of node_created_watch_count
zookeeper.node_created_watch_count_sum
(gauge)
[zookeeper version 3.6+ only] Sum of node_created_watch_count
zookeeper.node_deleted_watch_count
(gauge)
[zookeeper version 3.6+ only] Histogram of node_deleted_watch_count
zookeeper.node_deleted_watch_count_count
(gauge)
[zookeeper version 3.6+ only] Total count of node_deleted_watch_count
zookeeper.node_deleted_watch_count_sum
(gauge)
[zookeeper version 3.6+ only] Sum of node_deleted_watch_count
zookeeper.om_commit_process_time_ms
(gauge)
[zookeeper version 3.6+ only] Histogram of om_commit_process_time_ms
zookeeper.om_commit_process_time_ms_count
(gauge)
[zookeeper version 3.6+ only] Total count of om_commit_process_time_ms
zookeeper.om_commit_process_time_ms_sum
(gauge)
[zookeeper version 3.6+ only] Sum of om_commit_process_time_ms
zookeeper.om_proposal_process_time_ms
(gauge)
[zookeeper version 3.6+ only] Histogram of om_proposal_process_time_ms
zookeeper.om_proposal_process_time_ms_count
(gauge)
[zookeeper version 3.6+ only] Total count of om_proposal_process_time_ms
zookeeper.om_proposal_process_time_ms_sum
(gauge)
[zookeeper version 3.6+ only] Sum of om_proposal_process_time_ms
zookeeper.outstanding_changes_queued
(gauge)
[zookeeper version 3.6+ only]
zookeeper.outstanding_changes_removed
(gauge)
[zookeeper version 3.6+ only]
zookeeper.outstanding_tls_handshake
(gauge)
[zookeeper version 3.6+ only]
zookeeper.pending_session_queue_size
(gauge)
[zookeeper version 3.6+ only] Histogram of pending_session_queue_size
zookeeper.pending_session_queue_size_count
(gauge)
[zookeeper version 3.6+ only] Total count of pending_session_queue_size
zookeeper.pending_session_queue_size_sum
(gauge)
[zookeeper version 3.6+ only] Sum of pending_session_queue_size
zookeeper.prep_process_time
(gauge)
[zookeeper version 3.6+ only] Histogram of prep_process_time
zookeeper.prep_process_time_count
(gauge)
[zookeeper version 3.6+ only] Total count of prep_process_time
zookeeper.prep_process_time_sum
(gauge)
[zookeeper version 3.6+ only] Sum of prep_process_time
zookeeper.prep_processor_queue_size
(gauge)
[zookeeper version 3.6+ only] Histogram of prep_processor_queue_size
zookeeper.prep_processor_queue_size_count
(gauge)
[zookeeper version 3.6+ only] Total count of prep_processor_queue_size
zookeeper.prep_processor_queue_size_sum
(gauge)
[zookeeper version 3.6+ only] Sum of prep_processor_queue_size
zookeeper.prep_processor_queue_time_ms
(gauge)
[zookeeper version 3.6+ only] Histogram of prep_processor_queue_time_ms
zookeeper.prep_processor_queue_time_ms_count
(gauge)
[zookeeper version 3.6+ only] Total count of prep_processor_queue_time_ms
zookeeper.prep_processor_queue_time_ms_sum
(gauge)
[zookeeper version 3.6+ only] Sum of prep_processor_queue_time_ms
zookeeper.prep_processor_request_queued
(gauge)
[zookeeper version 3.6+ only]
zookeeper.process_cpu_seconds_total
(gauge)
[zookeeper version 3.6+ only]
zookeeper.process_max_fds
(gauge)
[zookeeper version 3.6+ only]
zookeeper.process_open_fds
(gauge)
[zookeeper version 3.6+ only]
zookeeper.process_resident_memory_bytes
(gauge)
[zookeeper version 3.6+ only]
Shown as byte
zookeeper.process_start_time_seconds
(gauge)
[zookeeper version 3.6+ only]
Shown as second
zookeeper.process_virtual_memory_bytes
(gauge)
[zookeeper version 3.6+ only]
Shown as byte
zookeeper.propagation_latency
(gauge)
[zookeeper version 3.6+ only] End-to-end latency for updates, from proposal on leader to committed-to-datatree on a given host
zookeeper.propagation_latency_count
(gauge)
[zookeeper version 3.6+ only] End-to-end latency for updates, from proposal on leader to committed-to-datatree on a given host
zookeeper.propagation_latency_sum
(gauge)
[zookeeper version 3.6+ only] End-to-end latency for updates, from proposal on leader to committed-to-datatree on a given host
zookeeper.proposal_ack_creation_latency
(gauge)
[zookeeper version 3.6+ only] Histogram of proposal_ack_creation_latency
zookeeper.proposal_ack_creation_latency_count
(gauge)
[zookeeper version 3.6+ only] Total count of proposal_ack_creation_latency
zookeeper.proposal_ack_creation_latency_sum
(gauge)
[zookeeper version 3.6+ only] Sum of proposal_ack_creation_latency
zookeeper.proposal_count
(gauge)
[zookeeper version 3.6+ only]
zookeeper.proposal_latency
(gauge)
[zookeeper version 3.6+ only] Histogram of proposal_latency
zookeeper.proposal_latency_count
(gauge)
[zookeeper version 3.6+ only] Total count of proposal_latency
zookeeper.proposal_latency_sum
(gauge)
[zookeeper version 3.6+ only] Sum of proposal_latency
zookeeper.quit_leading_due_to_disloyal_voter
(gauge)
[zookeeper version 3.6+ only]
zookeeper.quorum_ack_latency
(gauge)
[zookeeper version 3.6+ only] Histogram of quorum_ack_latency
zookeeper.quorum_ack_latency_count
(gauge)
[zookeeper version 3.6+ only] Total count of quorum_ack_latency
zookeeper.quorum_ack_latency_sum
(gauge)
[zookeeper version 3.6+ only] Sum of quorum_ack_latency
zookeeper.read_commit_proc_issued
(gauge)
[zookeeper version 3.6+ only] Histogram of read_commit_proc_issued
zookeeper.read_commit_proc_issued_count
(gauge)
[zookeeper version 3.6+ only] Total count of read_commit_proc_issued
zookeeper.read_commit_proc_issued_sum
(gauge)
[zookeeper version 3.6+ only] Sum of read_commit_proc_issued
zookeeper.read_commit_proc_req_queued
(gauge)
[zookeeper version 3.6+ only] Histogram of read_commit_proc_req_queued
zookeeper.read_commit_proc_req_queued_count
(gauge)
[zookeeper version 3.6+ only] Total count of read_commit_proc_req_queued
zookeeper.read_commit_proc_req_queued_sum
(gauge)
[zookeeper version 3.6+ only] Sum of read_commit_proc_req_queued
zookeeper.read_commitproc_time_ms
(gauge)
[zookeeper version 3.6+ only] Histogram of read_commitproc_time_ms
zookeeper.read_commitproc_time_ms_count
(gauge)
[zookeeper version 3.6+ only] Total count of read_commitproc_time_ms
zookeeper.read_commitproc_time_ms_sum
(gauge)
[zookeeper version 3.6+ only] Sum of read_commitproc_time_ms
zookeeper.read_final_proc_time_ms
(gauge)
[zookeeper version 3.6+ only] Histogram of read_final_proc_time_ms
zookeeper.read_final_proc_time_ms_count
(gauge)
[zookeeper version 3.6+ only] Total count of read_final_proc_time_ms
zookeeper.read_final_proc_time_ms_sum
(gauge)
[zookeeper version 3.6+ only] Sum of read_final_proc_time_ms
zookeeper.readlatency
(gauge)
[zookeeper version 3.6+ only] Histogram of readlatency Read request latency
zookeeper.readlatency_count
(gauge)
[zookeeper version 3.6+ only] Total count of readlatency Read request latency
zookeeper.readlatency_sum
(gauge)
[zookeeper version 3.6+ only] Sum of readlatency Read request latency
zookeeper.reads_after_write_in_session_queue
(gauge)
[zookeeper version 3.6+ only] Histogram of reads_after_write_in_session_queue
zookeeper.reads_after_write_in_session_queue_count
(gauge)
[zookeeper version 3.6+ only] Total count of reads_after_write_in_session_queue
zookeeper.reads_after_write_in_session_queue_sum
(gauge)
[zookeeper version 3.6+ only] Sum of reads_after_write_in_session_queue
zookeeper.reads_issued_from_session_queue
(gauge)
[zookeeper version 3.6+ only] Histogram of reads_issued_from_session_queue
zookeeper.reads_issued_from_session_queue_count
(gauge)
[zookeeper version 3.6+ only] Total count of reads_issued_from_session_queue
zookeeper.reads_issued_from_session_queue_sum
(gauge)
[zookeeper version 3.6+ only] Sum of reads_issued_from_session_queue
zookeeper.request_commit_queued
(gauge)
[zookeeper version 3.6+ only] Count of request commits queued
zookeeper.request_throttle_wait_count
(gauge)
[zookeeper version 3.6+ only]
zookeeper.requests_in_session_queue
(gauge)
[zookeeper version 3.6+ only] Histogram of requests_in_session_queue
zookeeper.requests_in_session_queue_count
(gauge)
[zookeeper version 3.6+ only] Total count of requests_in_session_queue
zookeeper.requests_in_session_queue_sum
(gauge)
[zookeeper version 3.6+ only] Sum of requests_in_session_queue
zookeeper.response_packet_cache_hits
(gauge)
[zookeeper version 3.6+ only]
zookeeper.response_packet_cache_misses
(gauge)
[zookeeper version 3.6+ only]
zookeeper.response_packet_get_children_cache_hits
(gauge)
[zookeeper version 3.6+ only]
zookeeper.response_packet_get_children_cache_misses
(gauge)
[zookeeper version 3.6+ only]
zookeeper.revalidate_count
(gauge)
[zookeeper version 3.6+ only]
zookeeper.server_write_committed_time_ms
(gauge)
[zookeeper version 3.6+ only] Histogram of server_write_committed_time_ms
zookeeper.server_write_committed_time_ms_count
(gauge)
[zookeeper version 3.6+ only] Total count of server_write_committed_time_ms
zookeeper.server_write_committed_time_ms_sum
(gauge)
[zookeeper version 3.6+ only] Sum of server_write_committed_time_ms
zookeeper.session_queues_drained
(gauge)
[zookeeper version 3.6+ only] Histogram of session_queues_drained
zookeeper.session_queues_drained_count
(gauge)
[zookeeper version 3.6+ only] Total count of session_queues_drained
zookeeper.session_queues_drained_sum
(gauge)
[zookeeper version 3.6+ only] Sum of session_queues_drained
zookeeper.sessionless_connections_expired
(gauge)
[zookeeper version 3.6+ only]
zookeeper.snap_count
(gauge)
[zookeeper version 3.6+ only] Number of snap syncs performed
zookeeper.snapshottime
(gauge)
[zookeeper version 3.6+ only] Histogram of snapshottime Time to write a snapshot
zookeeper.snapshottime_count
(gauge)
[zookeeper version 3.6+ only] Total count of snapshottime Time to write a snapshot
zookeeper.snapshottime_sum
(gauge)
[zookeeper version 3.6+ only] Sum of snapshottime Time to write a snapshot
zookeeper.stale_replies
(gauge)
[zookeeper version 3.6+ only]
zookeeper.stale_requests
(gauge)
[zookeeper version 3.6+ only]
zookeeper.stale_requests_dropped
(gauge)
[zookeeper version 3.6+ only]
zookeeper.stale_sessions_expired
(gauge)
[zookeeper version 3.6+ only]
zookeeper.startup_snap_load_time
(gauge)
[zookeeper version 3.6+ only] Histogram of startup_snap_load_time
zookeeper.startup_snap_load_time_count
(gauge)
[zookeeper version 3.6+ only] Total count of startup_snap_load_time
zookeeper.startup_snap_load_time_sum
(gauge)
[zookeeper version 3.6+ only] Sum of startup_snap_load_time
zookeeper.startup_txns_load_time
(gauge)
[zookeeper version 3.6+ only] Histogram of startup_txns_load_time
zookeeper.startup_txns_load_time_count
(gauge)
[zookeeper version 3.6+ only] Total count of startup_txns_load_time
zookeeper.startup_txns_load_time_sum
(gauge)
[zookeeper version 3.6+ only] Sum of startup_txns_load_time
zookeeper.startup_txns_loaded
(gauge)
[zookeeper version 3.6+ only] Histogram of startup_txns_loaded
zookeeper.startup_txns_loaded_count
(gauge)
[zookeeper version 3.6+ only] Total count of startup_txns_loaded
zookeeper.startup_txns_loaded_sum
(gauge)
[zookeeper version 3.6+ only] Sum of startup_txns_loaded
zookeeper.sync_process_time
(gauge)
[zookeeper version 3.6+ only] Histogram of sync_process_time
zookeeper.sync_process_time_count
(gauge)
[zookeeper version 3.6+ only] Total count of sync_process_time
zookeeper.sync_process_time_sum
(gauge)
[zookeeper version 3.6+ only] Sum of sync_process_time
zookeeper.sync_processor_batch_size
(gauge)
[zookeeper version 3.6+ only] Histogram of sync_processor_batch_size
zookeeper.sync_processor_batch_size_count
(gauge)
[zookeeper version 3.6+ only] Total count of sync_processor_batch_size
zookeeper.sync_processor_batch_size_sum
(gauge)
[zookeeper version 3.6+ only] Sum of sync_processor_batch_size
zookeeper.sync_processor_queue_and_flush_time_ms
(gauge)
[zookeeper version 3.6+ only] Histogram of sync_processor_queue_and_flush_time_ms
zookeeper.sync_processor_queue_and_flush_time_ms_count
(gauge)
[zookeeper version 3.6+ only] Total count of sync_processor_queue_and_flush_time_ms
zookeeper.sync_processor_queue_and_flush_time_ms_sum
(gauge)
[zookeeper version 3.6+ only] Sum of sync_processor_queue_and_flush_time_ms
zookeeper.sync_processor_queue_flush_time_ms
(gauge)
[zookeeper version 3.6+ only] Histogram of sync_processor_queue_flush_time_ms
zookeeper.sync_processor_queue_flush_time_ms_count
(gauge)
[zookeeper version 3.6+ only] Total count of sync_processor_queue_flush_time_ms
zookeeper.sync_processor_queue_flush_time_ms_sum
(gauge)
[zookeeper version 3.6+ only] Sum of sync_processor_queue_flush_time_ms
zookeeper.sync_processor_queue_size
(gauge)
[zookeeper version 3.6+ only] Histogram of sync_processor_queue_size
zookeeper.sync_processor_queue_size_count
(gauge)
[zookeeper version 3.6+ only] Total count of sync_processor_queue_size
zookeeper.sync_processor_queue_size_sum
(gauge)
[zookeeper version 3.6+ only] Sum of sync_processor_queue_size
zookeeper.sync_processor_queue_time_ms
(gauge)
[zookeeper version 3.6+ only] Histogram of sync_processor_queue_time_ms
zookeeper.sync_processor_queue_time_ms_count
(gauge)
[zookeeper version 3.6+ only] Total count of sync_processor_queue_time_ms
zookeeper.sync_processor_queue_time_ms_sum
(gauge)
[zookeeper version 3.6+ only] Sum of sync_processor_queue_time_ms
zookeeper.sync_processor_request_queued
(gauge)
[zookeeper version 3.6+ only]
zookeeper.time_waiting_empty_pool_in_commit_processor_read_ms
(gauge)
[zookeeper version 3.6+ only] Histogram of time_waiting_empty_pool_in_commit_processor_read_ms
zookeeper.time_waiting_empty_pool_in_commit_processor_read_ms_count
(gauge)
[zookeeper version 3.6+ only] Total count of time_waiting_empty_pool_in_commit_processor_read_ms
zookeeper.time_waiting_empty_pool_in_commit_processor_read_ms_sum
(gauge)
[zookeeper version 3.6+ only] Sum of time_waiting_empty_pool_in_commit_processor_read_ms
zookeeper.tls_handshake_exceeded
(gauge)
[zookeeper version 3.6+ only]
zookeeper.unrecoverable_error_count
(gauge)
[zookeeper version 3.6+ only]
zookeeper.updatelatency
(gauge)
[zookeeper version 3.6+ only] Histogram of updatelatency Update request latency
zookeeper.updatelatency_count
(gauge)
[zookeeper version 3.6+ only] Total count of updatelatency Update request latency
zookeeper.updatelatency_sum
(gauge)
[zookeeper version 3.6+ only] Sum of updatelatency Update request latency
zookeeper.uptime
(gauge)
[zookeeper version 3.6+ only] Uptime that a peer has been in a table leading/following/observing state
zookeeper.write_batch_time_in_commit_processor
(gauge)
[zookeeper version 3.6+ only] Histogram of write_batch_time_in_commit_processor
zookeeper.write_batch_time_in_commit_processor_count
(gauge)
[zookeeper version 3.6+ only] Total count of write_batch_time_in_commit_processor
zookeeper.write_batch_time_in_commit_processor_sum
(gauge)
[zookeeper version 3.6+ only] Sum of write_batch_time_in_commit_processor
zookeeper.write_commit_proc_issued
(gauge)
[zookeeper version 3.6+ only] Histogram of write_commit_proc_issued
zookeeper.write_commit_proc_issued_count
(gauge)
[zookeeper version 3.6+ only] Total count of write_commit_proc_issued
zookeeper.write_commit_proc_issued_sum
(gauge)
[zookeeper version 3.6+ only] Sum of write_commit_proc_issued
zookeeper.write_commit_proc_req_queued
(gauge)
[zookeeper version 3.6+ only] Histogram of write_commit_proc_req_queued
zookeeper.write_commit_proc_req_queued_count
(gauge)
[zookeeper version 3.6+ only] Total count of write_commit_proc_req_queued
zookeeper.write_commit_proc_req_queued_sum
(gauge)
[zookeeper version 3.6+ only] Sum of write_commit_proc_req_queued
zookeeper.write_commitproc_time_ms
(gauge)
[zookeeper version 3.6+ only] Histogram of write_commitproc_time_ms
zookeeper.write_commitproc_time_ms_count
(gauge)
[zookeeper version 3.6+ only] Total count of write_commitproc_time_ms
zookeeper.write_commitproc_time_ms_sum
(gauge)
[zookeeper version 3.6+ only] Sum of write_commitproc_time_ms
zookeeper.write_final_proc_time_ms
(gauge)
[zookeeper version 3.6+ only] Histogram of write_final_proc_time_ms
zookeeper.write_final_proc_time_ms_count
(gauge)
[zookeeper version 3.6+ only] Total count of write_final_proc_time_ms
zookeeper.write_final_proc_time_ms_sum
(gauge)
[zookeeper version 3.6+ only] Sum of write_final_proc_time_ms

非推奨メトリクス

次のメトリクスは引き続き送信されますが、今後削除される予定です。

  • zookeeper.bytes_received
  • zookeeper.bytes_sent

イベント

Zookeeper チェックには、イベントは含まれません。

サービスのチェック

zookeeper.ruok:
監視対象ノードに ruok を送信します。imok 応答には OK、別の応答には WARN、応答がない場合は CRITICAL を返します。

zookeeper.mode:
zk.yamlexpected_mode が構成されている場合、Agent はこのサービスチェックを送信します。Zookeeper の実際のモードが expected_mode と一致する場合は OK を返し、それ以外の場合は CRITICAL を返します。

トラブルシューティング

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