CockroachDB

Supported OS Linux Windows

Integrationv2.2.1

概要

CockroachDB チェックは、CockroachDB クラスターの全体的な健全性とパフォーマンスを監視します。

セットアップ

インストール

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

コンフィギュレーション

ホスト

ホストで実行中の Agent に対してこのチェックを構成するには:

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

    init_config:
    
    instances:
        ## @param openmetrics_endpoint - string - required
        ## The URL exposing metrics in the OpenMetrics format.
        #
      - openmetrics_endpoint: http://localhost:8080/_status/vars
    
  2. Agent を再起動します

: 現在のバージョンのチェック (1.9.0+) は、メトリクスの収集に OpenMetrics の新しい実装を使用しており、これは Python 3 を必要とします。Python 3 を使用できないホスト、またはこのチェックのレガシーバージョンを使用する場合は、次の構成を参照してください。

ログの収集

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

  1. Datadog Agent で、ログの収集はデフォルトで無効になっています。datadog.yaml で有効にします。

    logs_enabled: true
    
  2. CockroachDB のログの収集を開始するには、次のコンフィギュレーションブロックを cockroachdb.d/conf.yaml ファイルに追加します。

    logs:
     - type: file
       path: /var/lib/cockroach/logs/cockroach.log
       source: cockroachdb
       service: cockroachdb
       log_processing_rules:
       - type: multi_line
         name: new_log_start_with_status_and_date
         pattern: [A-Z]\d{6}\s\d+\:\d+\:\d+\.\d+
    

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

  3. Agent を再起動します

コンテナ化

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

パラメーター
<インテグレーション名>cockroachdb
<初期コンフィギュレーション>空白または {}
<インスタンスコンフィギュレーション>{"prometheus_url":"http://%%host%%:8080/_status/vars"}
ログの収集

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

次に、ログインテグレーションを Docker ラベルとして設定します。

LABEL "com.datadoghq.ad.logs"='[{"source": "cockroachdb", "service": "<SERVICE_NAME>"}]'

検証

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

収集データ

メトリクス

cockroachdb.addsstable.applications
(count)
[OpenMetrics v1] Number of SSTable ingestions applied (i.e. applied by Replicas)
Shown as operation
cockroachdb.addsstable.applications.count
(count)
[OpenMetrics v2] Number of SSTable ingestions applied (i.e. applied by Replicas)
Shown as operation
cockroachdb.addsstable.copies
(count)
[OpenMetrics v1] number of SSTable ingestions that required copying files during application
Shown as operation
cockroachdb.addsstable.copies.count
(count)
[OpenMetrics v2] number of SSTable ingestions that required copying files during application
Shown as operation
cockroachdb.addsstable.proposals
(count)
[OpenMetrics v1] Number of SSTable ingestions proposed (i.e. sent to Raft by lease holders)
Shown as operation
cockroachdb.addsstable.proposals.count
(count)
[OpenMetrics v2] Number of SSTable ingestions proposed (i.e. sent to Raft by lease holders)
Shown as operation
cockroachdb.build.timestamp
(gauge)
[OpenMetrics v1 & v2] Build information
Shown as time
cockroachdb.capacity.available
(gauge)
[OpenMetrics v1 & v2] Available storage capacity
Shown as byte
cockroachdb.capacity.reserved
(gauge)
[OpenMetrics v1 & v2] Capacity reserved for snapshots
Shown as byte
cockroachdb.capacity.total
(gauge)
[OpenMetrics v1 & v2] Total storage capacity
Shown as byte
cockroachdb.capacity.used
(gauge)
[OpenMetrics v1 & v2] Used storage capacity
Shown as byte
cockroachdb.clock.offset.meannanos
(gauge)
[OpenMetrics v1 & v2] Mean clock offset with other nodes in nanoseconds
Shown as nanosecond
cockroachdb.clock.offset.stddevnanos
(gauge)
[OpenMetrics v1 & v2] Stdddev clock offset with other nodes in nanoseconds
Shown as nanosecond
cockroachdb.compactor.compactingnanos
(count)
[OpenMetrics v1] Number of nanoseconds spent compacting ranges
Shown as nanosecond
cockroachdb.compactor.compactingnanos.count
(count)
[OpenMetrics v2] Number of nanoseconds spent compacting ranges
Shown as nanosecond
cockroachdb.compactor.compactions.failure
(count)
[OpenMetrics v1] Number of failed compaction requests sent to the storage engine
Shown as request
cockroachdb.compactor.compactions.failure.count
(count)
[OpenMetrics v2] Number of failed compaction requests sent to the storage engine
Shown as request
cockroachdb.compactor.compactions.success
(count)
[OpenMetrics v1] Number of successful compaction requests sent to the storage engine
Shown as request
cockroachdb.compactor.compactions.success.count
(count)
[OpenMetrics v2] Number of successful compaction requests sent to the storage engine
Shown as request
cockroachdb.compactor.suggestionbytes.compacted
(count)
[OpenMetrics v1] Number of logical bytes compacted from suggested compactions
Shown as byte
cockroachdb.compactor.suggestionbytes.compacted.count
(count)
[OpenMetrics v2] Number of logical bytes compacted from suggested compactions
Shown as byte
cockroachdb.compactor.suggestionbytes.queued
(gauge)
[OpenMetrics v1 & v2] Number of logical bytes in suggested compactions in the queue
Shown as byte
cockroachdb.compactor.suggestionbytes.skipped
(count)
[OpenMetrics v1] Number of logical bytes in suggested compactions which were not compacted
Shown as byte
cockroachdb.compactor.suggestionbytes.skipped.count
(count)
[OpenMetrics v2] Number of logical bytes in suggested compactions which were not compacted
Shown as byte
cockroachdb.distsender.batches.partial
(count)
[OpenMetrics v1] Number of partial batches processed
cockroachdb.distsender.batches.partial.count
(count)
[OpenMetrics v2] Number of partial batches processed
cockroachdb.distsender.batches.total
(count)
[OpenMetrics v1 & v2] Number of batches processed
cockroachdb.distsender.errors.notleaseholder
(count)
[OpenMetrics v1] Number of NotLeaseHolderErrors encountered
Shown as error
cockroachdb.distsender.errors.notleaseholder.count
(count)
[OpenMetrics v2] Number of NotLeaseHolderErrors encountered
Shown as error
cockroachdb.distsender.rpc.sent.local
(count)
[OpenMetrics v1] Number of local RPCs sent
cockroachdb.distsender.rpc.sent.local.count
(count)
[OpenMetrics v2] Number of local RPCs sent
cockroachdb.distsender.rpc.sent.nextreplicaerror
(count)
[OpenMetrics v1] Number of RPCs sent due to per-replica errors
Shown as error
cockroachdb.distsender.rpc.sent.nextreplicaerror.count
(count)
[OpenMetrics v2] Number of RPCs sent due to per-replica errors
Shown as error
cockroachdb.distsender.rpc.sent.total
(count)
[OpenMetrics v1 & v2] Number of RPCs sent
cockroachdb.exec.error
(count)
[OpenMetrics v1] Number of batch KV requests that failed to execute on this node
Shown as request
cockroachdb.exec.error.count
(count)
[OpenMetrics v2] Number of batch KV requests that failed to execute on this node
Shown as request
cockroachdb.exec.latency
(gauge)
[OpenMetrics v1] Latency in nanoseconds of batch KV requests executed on this node
Shown as nanosecond
cockroachdb.exec.latency.bucket
(count)
[OpenMetrics v2] Latency in nanoseconds of batch KV requests executed on this node
Shown as nanosecond
cockroachdb.exec.success
(count)
[OpenMetrics v1] Number of batch KV requests executed successfully on this node
Shown as request
cockroachdb.exec.success.count
(count)
[OpenMetrics v2] Number of batch KV requests executed successfully on this node
Shown as request
cockroachdb.gcbytesage
(gauge)
[OpenMetrics v1 & v2] Cumulative age of non-live data in seconds
Shown as second
cockroachdb.gossip.bytes.received
(count)
[OpenMetrics v1] Number of received gossip bytes
Shown as byte
cockroachdb.gossip.bytes.received.count
(count)
[OpenMetrics v2] Number of received gossip bytes
Shown as byte
cockroachdb.gossip.bytes.sent
(count)
[OpenMetrics v1] Number of sent gossip bytes
Shown as byte
cockroachdb.gossip.bytes.sent.count
(count)
[OpenMetrics v2] Number of sent gossip bytes
Shown as byte
cockroachdb.gossip.connections.incoming
(gauge)
[OpenMetrics v1 & v2] Number of active incoming gossip connections
Shown as connection
cockroachdb.gossip.connections.outgoing
(gauge)
[OpenMetrics v1 & v2] Number of active outgoing gossip connections
Shown as connection
cockroachdb.gossip.connections.refused
(count)
[OpenMetrics v1] Number of refused incoming gossip connections
Shown as connection
cockroachdb.gossip.connections.refused.count
(count)
[OpenMetrics v2] Number of refused incoming gossip connections
Shown as connection
cockroachdb.gossip.infos.received
(count)
[OpenMetrics v1] Number of received gossip Info objects
cockroachdb.gossip.infos.received.count
(count)
[OpenMetrics v2] Number of received gossip Info objects
cockroachdb.gossip.infos.sent
(count)
[OpenMetrics v1] Number of sent gossip Info objects
cockroachdb.gossip.infos.sent.count
(count)
[OpenMetrics v2] Number of sent gossip Info objects
cockroachdb.intentage
(gauge)
[OpenMetrics v1 & v2] Cumulative age of intents in seconds
Shown as second
cockroachdb.intentbytes
(gauge)
[OpenMetrics v1 & v2] Number of bytes in intent KV pairs
Shown as byte
cockroachdb.intentcount
(gauge)
[OpenMetrics v1 & v2] Count of intent keys
Shown as key
cockroachdb.keybytes
(gauge)
[OpenMetrics v1 & v2] Number of bytes taken up by keys
Shown as byte
cockroachdb.keycount
(gauge)
[OpenMetrics v1 & v2] Count of all keys
Shown as key
cockroachdb.lastupdatenanos
(gauge)
[OpenMetrics v1 & v2] Time in nanoseconds since Unix epoch at which bytes/keys/intents metrics were last updated
Shown as nanosecond
cockroachdb.leases.epoch
(gauge)
[OpenMetrics v1 & v2] Number of replica leaseholders using epoch-based leases
cockroachdb.leases.error
(count)
[OpenMetrics v1] Number of failed lease requests
Shown as request
cockroachdb.leases.error.count
(count)
[OpenMetrics v2] Number of failed lease requests
Shown as request
cockroachdb.leases.expiration
(gauge)
[OpenMetrics v1 & v2] Number of replica leaseholders using expiration-based leases
cockroachdb.leases.success
(count)
[OpenMetrics v1] Number of successful lease requests
Shown as request
cockroachdb.leases.success.count
(count)
[OpenMetrics v2] Number of successful lease requests
Shown as request
cockroachdb.leases.transfers.error
(count)
[OpenMetrics v1] Number of failed lease transfers
cockroachdb.leases.transfers.error.count
(count)
[OpenMetrics v2] Number of failed lease transfers
cockroachdb.leases.transfers.success
(count)
[OpenMetrics v1] Number of successful lease transfers
cockroachdb.leases.transfers.success.count
(count)
[OpenMetrics v2] Number of successful lease transfers
cockroachdb.livebytes
(gauge)
[OpenMetrics v1 & v2] Number of bytes of live data (keys plus values)
Shown as byte
cockroachdb.livecount
(gauge)
[OpenMetrics v1 & v2] Count of live keys
Shown as key
cockroachdb.liveness.epochincrements
(count)
[OpenMetrics v1] Number of times this node has incremented its liveness epoch
cockroachdb.liveness.epochincrements.count
(count)
[OpenMetrics v2] Number of times this node has incremented its liveness epoch
cockroachdb.liveness.heartbeatfailures
(count)
[OpenMetrics v1] Number of failed node liveness heartbeats from this node
cockroachdb.liveness.heartbeatfailures.count
(count)
[OpenMetrics v2] Number of failed node liveness heartbeats from this node
cockroachdb.liveness.heartbeatlatency
(gauge)
[OpenMetrics v1] Node liveness heartbeat latency in nanoseconds
Shown as nanosecond
cockroachdb.liveness.heartbeatlatency.bucket
(count)
[OpenMetrics v2] Node liveness heartbeat latency in nanoseconds
Shown as nanosecond
cockroachdb.liveness.heartbeatsuccesses
(count)
[OpenMetrics v1] Number of successful node liveness heartbeats from this node
cockroachdb.liveness.heartbeatsuccesses.count
(count)
[OpenMetrics v2] Number of successful node liveness heartbeats from this node
cockroachdb.liveness.livenodes
(gauge)
[OpenMetrics v1 & v2] Number of live nodes in the cluster (will be 0 if this node is not itself live)
cockroachdb.node_id
(gauge)
[OpenMetrics v1 & v2] node ID with labels for advertised RPC and HTTP addresses
cockroachdb.queue.consistency.pending
(gauge)
[OpenMetrics v1 & v2] Number of pending replicas in the consistency checker queue
cockroachdb.queue.consistency.process.failure
(count)
[OpenMetrics v1] Number of replicas which failed processing in the consistency checker queue
cockroachdb.queue.consistency.process.failure.count
(count)
[OpenMetrics v2] Number of replicas which failed processing in the consistency checker queue
cockroachdb.queue.consistency.process.success
(count)
[OpenMetrics v1] Number of replicas successfully processed by the consistency checker queue
cockroachdb.queue.consistency.process.success.count
(count)
[OpenMetrics v2] Number of replicas successfully processed by the consistency checker queue
cockroachdb.queue.consistency.processingnanos
(count)
[OpenMetrics v1] Nanoseconds spent processing replicas in the consistency checker queue
Shown as nanosecond
cockroachdb.queue.consistency.processingnanos.count
(count)
[OpenMetrics v2] Nanoseconds spent processing replicas in the consistency checker queue
Shown as nanosecond
cockroachdb.queue.gc.info.abortspanconsidered
(count)
[OpenMetrics v1] Number of AbortSpan entries old enough to be considered for removal
cockroachdb.queue.gc.info.abortspanconsidered.count
(count)
[OpenMetrics v2] Number of AbortSpan entries old enough to be considered for removal
cockroachdb.queue.gc.info.abortspangcnum
(count)
[OpenMetrics v1] Number of AbortSpan entries fit for removal
cockroachdb.queue.gc.info.abortspangcnum.count
(count)
[OpenMetrics v2] Number of AbortSpan entries fit for removal
cockroachdb.queue.gc.info.abortspanscanned
(count)
[OpenMetrics v1] Number of transactions present in the AbortSpan scanned from the engine
Shown as transaction
cockroachdb.queue.gc.info.abortspanscanned.count
(count)
[OpenMetrics v2] Number of transactions present in the AbortSpan scanned from the engine
Shown as transaction
cockroachdb.queue.gc.info.intentsconsidered
(count)
[OpenMetrics v1] Number of 'old' intents
cockroachdb.queue.gc.info.intentsconsidered.count
(count)
[OpenMetrics v2] Number of 'old' intents
cockroachdb.queue.gc.info.intenttxns
(count)
[OpenMetrics v1] Number of associated distinct transactions
Shown as transaction
cockroachdb.queue.gc.info.intenttxns.count
(count)
[OpenMetrics v2] Number of associated distinct transactions
Shown as transaction
cockroachdb.queue.gc.info.numkeysaffected
(count)
[OpenMetrics v1] Number of keys with GC'able data
Shown as key
cockroachdb.queue.gc.info.numkeysaffected.count
(count)
[OpenMetrics v2] Number of keys with GC'able data
Shown as key
cockroachdb.queue.gc.info.pushtxn
(count)
[OpenMetrics v1] Number of attempted pushes
cockroachdb.queue.gc.info.pushtxn.count
(count)
[OpenMetrics v2] Number of attempted pushes
cockroachdb.queue.gc.info.resolvesuccess
(count)
[OpenMetrics v1] Number of successful intent resolutions
cockroachdb.queue.gc.info.resolvesuccess.count
(count)
[OpenMetrics v2] Number of successful intent resolutions
cockroachdb.queue.gc.info.resolvetotal
(count)
[OpenMetrics v1] Number of attempted intent resolutions
cockroachdb.queue.gc.info.resolvetotal.count
(count)
[OpenMetrics v2] Number of attempted intent resolutions
cockroachdb.queue.gc.info.transactionspangcaborted
(count)
[OpenMetrics v1] Number of GC'able entries corresponding to aborted txns
cockroachdb.queue.gc.info.transactionspangcaborted.count
(count)
[OpenMetrics v2] Number of GC'able entries corresponding to aborted txns
cockroachdb.queue.gc.info.transactionspangccommitted
(count)
[OpenMetrics v1] Number of GC'able entries corresponding to committed txns
cockroachdb.queue.gc.info.transactionspangccommitted.count
(count)
[OpenMetrics v2] Number of GC'able entries corresponding to committed txns
cockroachdb.queue.gc.info.transactionspangcpending
(count)
[OpenMetrics v1] Number of GC'able entries corresponding to pending txns
cockroachdb.queue.gc.info.transactionspangcpending.count
(count)
[OpenMetrics v2] Number of GC'able entries corresponding to pending txns
cockroachdb.queue.gc.info.transactionspanscanned
(count)
[OpenMetrics v1] Number of entries in transaction spans scanned from the engine
cockroachdb.queue.gc.info.transactionspanscanned.count
(count)
[OpenMetrics v2] Number of entries in transaction spans scanned from the engine
cockroachdb.queue.gc.pending
(gauge)
[OpenMetrics v1 & v2] Number of pending replicas in the GC queue
cockroachdb.queue.gc.process.failure
(count)
[OpenMetrics v1] Number of replicas which failed processing in the GC queue
cockroachdb.queue.gc.process.failure.count
(count)
[OpenMetrics v2] Number of replicas which failed processing in the GC queue
cockroachdb.queue.gc.process.success
(count)
[OpenMetrics v1] Number of replicas successfully processed by the GC queue
cockroachdb.queue.gc.process.success.count
(count)
[OpenMetrics v2] Number of replicas successfully processed by the GC queue
cockroachdb.queue.gc.processingnanos
(count)
[OpenMetrics v1] Nanoseconds spent processing replicas in the GC queue
Shown as nanosecond
cockroachdb.queue.gc.processingnanos.count
(count)
[OpenMetrics v2] Nanoseconds spent processing replicas in the GC queue
Shown as nanosecond
cockroachdb.queue.raftlog.pending
(gauge)
[OpenMetrics v1 & v2] Number of pending replicas in the Raft log queue
cockroachdb.queue.raftlog.process.failure
(count)
[OpenMetrics v1] Number of replicas which failed processing in the Raft log queue
cockroachdb.queue.raftlog.process.failure.count
(count)
[OpenMetrics v2] Number of replicas which failed processing in the Raft log queue
cockroachdb.queue.raftlog.process.success
(count)
[OpenMetrics v1] Number of replicas successfully processed by the Raft log queue
cockroachdb.queue.raftlog.process.success.count
(count)
[OpenMetrics v2] Number of replicas successfully processed by the Raft log queue
cockroachdb.queue.raftlog.processingnanos
(count)
[OpenMetrics v1] Nanoseconds spent processing replicas in the Raft log queue
Shown as nanosecond
cockroachdb.queue.raftlog.processingnanos.count
(count)
[OpenMetrics v2] Nanoseconds spent processing replicas in the Raft log queue
Shown as nanosecond
cockroachdb.queue.raftsnapshot.pending
(gauge)
[OpenMetrics v1 & v2] Number of pending replicas in the Raft repair queue
cockroachdb.queue.raftsnapshot.process.failure
(count)
[OpenMetrics v1] Number of replicas which failed processing in the Raft repair queue
cockroachdb.queue.raftsnapshot.process.failure.count
(count)
[OpenMetrics v2] Number of replicas which failed processing in the Raft repair queue
cockroachdb.queue.raftsnapshot.process.success
(count)
[OpenMetrics v1] Number of replicas successfully processed by the Raft repair queue
cockroachdb.queue.raftsnapshot.process.success.count
(count)
[OpenMetrics v2] Number of replicas successfully processed by the Raft repair queue
cockroachdb.queue.raftsnapshot.processingnanos
(count)
[OpenMetrics v1] Nanoseconds spent processing replicas in the Raft repair queue
Shown as nanosecond
cockroachdb.queue.raftsnapshot.processingnanos.count
(count)
[OpenMetrics v2] Nanoseconds spent processing replicas in the Raft repair queue
Shown as nanosecond
cockroachdb.queue.replicagc.pending
(gauge)
[OpenMetrics v1 & v2] Number of pending replicas in the replica GC queue
cockroachdb.queue.replicagc.process.failure
(count)
[OpenMetrics v1] Number of replicas which failed processing in the replica GC queue
cockroachdb.queue.replicagc.process.failure.count
(count)
[OpenMetrics v2] Number of replicas which failed processing in the replica GC queue
cockroachdb.queue.replicagc.process.success
(count)
[OpenMetrics v1] Number of replicas successfully processed by the replica GC queue
cockroachdb.queue.replicagc.process.success.count
(count)
[OpenMetrics v2] Number of replicas successfully processed by the replica GC queue
cockroachdb.queue.replicagc.processingnanos
(count)
[OpenMetrics v1] Nanoseconds spent processing replicas in the replica GC queue
Shown as nanosecond
cockroachdb.queue.replicagc.processingnanos.count
(count)
[OpenMetrics v2] Nanoseconds spent processing replicas in the replica GC queue
Shown as nanosecond
cockroachdb.queue.replicagc.removereplica
(count)
[OpenMetrics v1] Number of replica removals attempted by the replica gc queue
cockroachdb.queue.replicagc.removereplica.count
(count)
[OpenMetrics v2] Number of replica removals attempted by the replica gc queue
cockroachdb.queue.replicate.addreplica
(count)
[OpenMetrics v1] Number of replica additions attempted by the replicate queue
cockroachdb.queue.replicate.addreplica.count
(count)
[OpenMetrics v2] Number of replica additions attempted by the replicate queue
cockroachdb.queue.replicate.pending
(gauge)
[OpenMetrics v1 & v2] Number of pending replicas in the replicate queue
cockroachdb.queue.replicate.process.failure
(count)
[OpenMetrics v1] Number of replicas which failed processing in the replicate queue
cockroachdb.queue.replicate.process.failure.count
(count)
[OpenMetrics v2] Number of replicas which failed processing in the replicate queue
cockroachdb.queue.replicate.process.success
(count)
[OpenMetrics v1] Number of replicas successfully processed by the replicate queue
cockroachdb.queue.replicate.process.success.count
(count)
[OpenMetrics v2] Number of replicas successfully processed by the replicate queue
cockroachdb.queue.replicate.processingnanos
(count)
[OpenMetrics v1] Nanoseconds spent processing replicas in the replicate queue
Shown as nanosecond
cockroachdb.queue.replicate.processingnanos.count
(count)
[OpenMetrics v2] Nanoseconds spent processing replicas in the replicate queue
Shown as nanosecond
cockroachdb.queue.replicate.purgatory
(gauge)
[OpenMetrics v1 & v2] Number of replicas in the replicate queue's purgatory, awaiting allocation options
cockroachdb.queue.replicate.rebalancereplica
(count)
[OpenMetrics v1] Number of replica rebalancer-initiated additions attempted by the replicate queue
cockroachdb.queue.replicate.rebalancereplica.count
(count)
[OpenMetrics v2] Number of replica rebalancer-initiated additions attempted by the replicate queue
cockroachdb.queue.replicate.removedeadreplica
(count)
[OpenMetrics v1] Number of dead replica removals attempted by the replicate queue (typically in response to a node outage)
cockroachdb.queue.replicate.removedeadreplica.count
(count)
[OpenMetrics v2] Number of dead replica removals attempted by the replicate queue (typically in response to a node outage)
cockroachdb.queue.replicate.removereplica
(count)
[OpenMetrics v1] Number of replica removals attempted by the replicate queue (typically in response to a rebalancer-initiated addition)
cockroachdb.queue.replicate.removereplica.count
(count)
[OpenMetrics v2] Number of replica removals attempted by the replicate queue (typically in response to a rebalancer-initiated addition)
cockroachdb.queue.replicate.transferlease
(count)
[OpenMetrics v1] Number of range lease transfers attempted by the replicate queue
cockroachdb.queue.replicate.transferlease.count
(count)
[OpenMetrics v2] Number of range lease transfers attempted by the replicate queue
cockroachdb.queue.split.pending
(gauge)
[OpenMetrics v1 & v2] Number of pending replicas in the split queue
cockroachdb.queue.split.process.failure
(count)
[OpenMetrics v1] Number of replicas which failed processing in the split queue
cockroachdb.queue.split.process.failure.count
(count)
[OpenMetrics v2] Number of replicas which failed processing in the split queue
cockroachdb.queue.split.process.success
(count)
[OpenMetrics v1] Number of replicas successfully processed by the split queue
cockroachdb.queue.split.process.success.count
(count)
[OpenMetrics v2] Number of replicas successfully processed by the split queue
cockroachdb.queue.split.processingnanos
(count)
[OpenMetrics v1] Nanoseconds spent processing replicas in the split queue
Shown as nanosecond
cockroachdb.queue.split.processingnanos.count
(count)
[OpenMetrics v2] Nanoseconds spent processing replicas in the split queue
Shown as nanosecond
cockroachdb.queue.tsmaintenance.pending
(gauge)
[OpenMetrics v1 & v2] Number of pending replicas in the time series maintenance queue
cockroachdb.queue.tsmaintenance.process.failure
(count)
[OpenMetrics v1] Number of replicas which failed processing in the time series maintenance queue
cockroachdb.queue.tsmaintenance.process.failure.count
(count)
[OpenMetrics v2] Number of replicas which failed processing in the time series maintenance queue
cockroachdb.queue.tsmaintenance.process.success
(count)
[OpenMetrics v1] Number of replicas successfully processed by the time series maintenance queue
cockroachdb.queue.tsmaintenance.process.success.count
(count)
[OpenMetrics v2] Number of replicas successfully processed by the time series maintenance queue
cockroachdb.queue.tsmaintenance.processingnanos
(count)
[OpenMetrics v1] Nanoseconds spent processing replicas in the time series maintenance queue
Shown as nanosecond
cockroachdb.queue.tsmaintenance.processingnanos.count
(count)
[OpenMetrics v2] Nanoseconds spent processing replicas in the time series maintenance queue
Shown as nanosecond
cockroachdb.raft.commandsapplied
(count)
[OpenMetrics v1] Count of Raft commands applied
Shown as command
cockroachdb.raft.commandsapplied.count
(count)
[OpenMetrics v2] Count of Raft commands applied
Shown as command
cockroachdb.raft.enqueued.pending
(gauge)
[OpenMetrics v1 & v2] Number of pending outgoing messages in the Raft Transport queue
cockroachdb.raft.heartbeats.pending
(gauge)
[OpenMetrics v1 & v2] Number of pending heartbeats and responses waiting to be coalesced
cockroachdb.raft.process.commandcommit.latency
(gauge)
[OpenMetrics v1] Latency histogram in nanoseconds for committing Raft commands
Shown as nanosecond
cockroachdb.raft.process.commandcommit.latency.bucket
(count)
[OpenMetrics v2] Latency histogram in nanoseconds for committing Raft commands
Shown as nanosecond
cockroachdb.raft.process.logcommit.latency
(gauge)
[OpenMetrics v1] Latency histogram in nanoseconds for committing Raft log entries
Shown as nanosecond
cockroachdb.raft.process.logcommit.latency.bucket
(count)
[OpenMetrics v2] Latency histogram in nanoseconds for committing Raft log entries
Shown as nanosecond
cockroachdb.raft.process.tickingnanos
(count)
[OpenMetrics v1] Nanoseconds spent in store.processRaft() processing replica.Tick()
Shown as nanosecond
cockroachdb.raft.process.tickingnanos.count
(count)
[OpenMetrics v2] Nanoseconds spent in store.processRaft() processing replica.Tick()
Shown as nanosecond
cockroachdb.raft.process.workingnanos
(count)
[OpenMetrics v1] Nanoseconds spent in store.processRaft() working
Shown as nanosecond
cockroachdb.raft.process.workingnanos.count
(count)
[OpenMetrics v2] Nanoseconds spent in store.processRaft() working
Shown as nanosecond
cockroachdb.raft.rcvd.app
(count)
[OpenMetrics v1] Number of MsgApp messages received by this store
cockroachdb.raft.rcvd.app.count
(count)
[OpenMetrics v2] Number of MsgApp messages received by this store
cockroachdb.raft.rcvd.appresp
(count)
[OpenMetrics v1] Number of MsgAppResp messages received by this store
cockroachdb.raft.rcvd.appresp.count
(count)
[OpenMetrics v2] Number of MsgAppResp messages received by this store
cockroachdb.raft.rcvd.dropped
(count)
[OpenMetrics v1] Number of dropped incoming Raft messages
cockroachdb.raft.rcvd.dropped.count
(count)
[OpenMetrics v2] Number of dropped incoming Raft messages
cockroachdb.raft.rcvd.heartbeat
(count)
[OpenMetrics v1] Number of (coalesced, if enabled) MsgHeartbeat messages received by this store
cockroachdb.raft.rcvd.heartbeat.count
(count)
[OpenMetrics v2] Number of (coalesced, if enabled) MsgHeartbeat messages received by this store
cockroachdb.raft.rcvd.heartbeatresp
(count)
[OpenMetrics v1] Number of (coalesced, if enabled) MsgHeartbeatResp messages received by this store
cockroachdb.raft.rcvd.heartbeatresp.count
(count)
[OpenMetrics v2] Number of (coalesced, if enabled) MsgHeartbeatResp messages received by this store
cockroachdb.raft.rcvd.prevote
(count)
[OpenMetrics v1] Number of MsgPreVote messages received by this store
cockroachdb.raft.rcvd.prevote.count
(count)
[OpenMetrics v2] Number of MsgPreVote messages received by this store
cockroachdb.raft.rcvd.prevoteresp
(count)
[OpenMetrics v1] Number of MsgPreVoteResp messages received by this store
cockroachdb.raft.rcvd.prevoteresp.count
(count)
[OpenMetrics v2] Number of MsgPreVoteResp messages received by this store
cockroachdb.raft.rcvd.prop
(count)
[OpenMetrics v1] Number of MsgProp messages received by this store
cockroachdb.raft.rcvd.prop.count
(count)
[OpenMetrics v2] Number of MsgProp messages received by this store
cockroachdb.raft.rcvd.snap
(count)
[OpenMetrics v1] Number of MsgSnap messages received by this store
cockroachdb.raft.rcvd.snap.count
(count)
[OpenMetrics v2] Number of MsgSnap messages received by this store
cockroachdb.raft.rcvd.timeoutnow
(count)
[OpenMetrics v1] Number of MsgTimeoutNow messages received by this store
cockroachdb.raft.rcvd.timeoutnow.count
(count)
[OpenMetrics v2] Number of MsgTimeoutNow messages received by this store
cockroachdb.raft.rcvd.transferleader
(count)
[OpenMetrics v1] Number of MsgTransferLeader messages received by this store
cockroachdb.raft.rcvd.transferleader.count
(count)
[OpenMetrics v2] Number of MsgTransferLeader messages received by this store
cockroachdb.raft.rcvd.vote
(count)
[OpenMetrics v1] Number of MsgVote messages received by this store
cockroachdb.raft.rcvd.vote.count
(count)
[OpenMetrics v2] Number of MsgVote messages received by this store
cockroachdb.raft.rcvd.voteresp
(count)
[OpenMetrics v1] Number of MsgVoteResp messages received by this store
cockroachdb.raft.rcvd.voteresp.count
(count)
[OpenMetrics v2] Number of MsgVoteResp messages received by this store
cockroachdb.raft.ticks
(count)
[OpenMetrics v1] Number of Raft ticks queued
cockroachdb.raft.ticks.count
(count)
[OpenMetrics v2] Number of Raft ticks queued
cockroachdb.raftlog.behind
(gauge)
[OpenMetrics v1 & v2] Number of Raft log entries followers on other stores are behind
Shown as entry
cockroachdb.raftlog.truncated
(count)
[OpenMetrics v1] Number of Raft log entries truncated
Shown as entry
cockroachdb.raftlog.truncated.count
(count)
[OpenMetrics v2] Number of Raft log entries truncated
Shown as entry
cockroachdb.range.adds
(count)
[OpenMetrics v1] Number of range additions
cockroachdb.range.adds.count
(count)
[OpenMetrics v2] Number of range additions
cockroachdb.range.raftleadertransfers
(count)
[OpenMetrics v1] Number of raft leader transfers
cockroachdb.range.raftleadertransfers.count
(count)
[OpenMetrics v2] Number of raft leader transfers
cockroachdb.range.removes
(count)
[OpenMetrics v1] Number of range removals
cockroachdb.range.removes.count
(count)
[OpenMetrics v2] Number of range removals
cockroachdb.range.snapshots.generated
(count)
[OpenMetrics v1] Number of generated snapshots
cockroachdb.range.snapshots.generated.count
(count)
[OpenMetrics v2] Number of generated snapshots
cockroachdb.range.snapshots.normal_applied
(count)
[OpenMetrics v1] Number of applied snapshots
cockroachdb.range.snapshots.normal_applied.count
(count)
[OpenMetrics v2] Number of applied snapshots
cockroachdb.range.snapshots.preemptive_applied
(count)
[OpenMetrics v1] Number of applied pre-emptive snapshots
cockroachdb.range.snapshots.preemptive_applied.count
(count)
[OpenMetrics v2] Number of applied pre-emptive snapshots
cockroachdb.range.splits.total
(count)
[OpenMetrics v1 & v2] Number of range splits
cockroachdb.ranges
(gauge)
[OpenMetrics v1 & v2] Number of ranges
cockroachdb.ranges.unavailable
(gauge)
[OpenMetrics v1 & v2] Number of ranges with fewer live replicas than needed for quorum
cockroachdb.ranges.underreplicated
(gauge)
[OpenMetrics v1 & v2] Number of ranges with fewer live replicas than the replication target
cockroachdb.rebalancing.writespersecond
(gauge)
[OpenMetrics v1 & v2] Number of keys written (i.e. applied by raft) per second to the store, averaged over a large time period as used in rebalancing decisions
Shown as key
cockroachdb.replicas.commandqueue.combinedqueuesize
(gauge)
[OpenMetrics v1 & v2] Number of commands in all CommandQueues combined
Shown as command
cockroachdb.replicas.commandqueue.combinedreadcount
(gauge)
[OpenMetrics v1 & v2] Number of read-only commands in all CommandQueues combined
Shown as command
cockroachdb.replicas.commandqueue.combinedwritecount
(gauge)
[OpenMetrics v1 & v2] Number of read-write commands in all CommandQueues combined
Shown as command
cockroachdb.replicas.commandqueue.maxoverlaps
(gauge)
[OpenMetrics v1 & v2] Largest number of overlapping commands seen when adding to any CommandQueue
Shown as command
cockroachdb.replicas.commandqueue.maxreadcount
(gauge)
[OpenMetrics v1 & v2] Largest number of read-only commands in any CommandQueue
Shown as command
cockroachdb.replicas.commandqueue.maxsize
(gauge)
[OpenMetrics v1 & v2] Largest number of commands in any CommandQueue
Shown as command
cockroachdb.replicas.commandqueue.maxtreesize
(gauge)
[OpenMetrics v1 & v2] Largest number of intervals in any CommandQueue's interval tree
cockroachdb.replicas.commandqueue.maxwritecount
(gauge)
[OpenMetrics v1 & v2] Largest number of read-write commands in any CommandQueue
Shown as command
cockroachdb.replicas.leaders
(gauge)
[OpenMetrics v1 & v2] Number of raft leaders
cockroachdb.replicas.leaders.not_leaseholders
(gauge)
[OpenMetrics v1 & v2] Number of replicas that are Raft leaders whose range lease is held by another store
cockroachdb.replicas.leaseholders
(gauge)
[OpenMetrics v1 & v2] Number of lease holders
cockroachdb.replicas.quiescent
(gauge)
[OpenMetrics v1 & v2] Number of quiesced replicas
cockroachdb.replicas.reserved
(gauge)
[OpenMetrics v1 & v2] Number of replicas reserved for snapshots
cockroachdb.replicas.total
(gauge)
[OpenMetrics v1 & v2] Number of replicas
cockroachdb.requests.backpressure.split
(gauge)
[OpenMetrics v1 & v2] Number of backpressured writes waiting on a Range split
cockroachdb.requests.slow.commandqueue
(gauge)
[OpenMetrics v1 & v2] Number of requests that have been stuck for a long time in the command queue
Shown as request
cockroachdb.requests.slow.distsender
(gauge)
[OpenMetrics v1 & v2] Number of requests that have been stuck for a long time in the dist sender
Shown as request
cockroachdb.requests.slow.lease
(gauge)
[OpenMetrics v1 & v2] Number of requests that have been stuck for a long time acquiring a lease
Shown as request
cockroachdb.requests.slow.raft
(gauge)
[OpenMetrics v1 & v2] Number of requests that have been stuck for a long time in raft
Shown as request
cockroachdb.rocksdb.block.cache.hits
(gauge)
[OpenMetrics v1 & v2] Count of block cache hits
cockroachdb.rocksdb.block.cache.misses
(gauge)
[OpenMetrics v1 & v2] Count of block cache misses
cockroachdb.rocksdb.block.cache.pinned.usage
(gauge)
[OpenMetrics v1 & v2] Bytes pinned by the block cache
Shown as byte
cockroachdb.rocksdb.block.cache.usage
(gauge)
[OpenMetrics v1 & v2] Bytes used by the block cache
Shown as byte
cockroachdb.rocksdb.bloom_filter.prefix.checked
(gauge)
[OpenMetrics v1 & v2] Number of times the bloom filter was checked
cockroachdb.rocksdb.bloom_filter.prefix.useful
(gauge)
[OpenMetrics v1 & v2] Number of times the bloom filter helped avoid iterator creation
cockroachdb.rocksdb.compactions.total
(gauge)
[OpenMetrics v1 & v2] Number of table compactions
cockroachdb.rocksdb.flushes.total
(gauge)
[OpenMetrics v1 & v2] Number of table flushes
cockroachdb.rocksdb.memtable.total.size
(gauge)
[OpenMetrics v1 & v2] Current size of memtable in bytes
Shown as byte
cockroachdb.rocksdb.num_sstables
(gauge)
[OpenMetrics v1 & v2] Number of rocksdb SSTables
Shown as table
cockroachdb.rocksdb.read.amplification
(gauge)
[OpenMetrics v1 & v2] Number of disk reads per query
Shown as read
cockroachdb.rocksdb.table.readers.mem.estimate
(gauge)
[OpenMetrics v1 & v2] Memory used by index and filter blocks
cockroachdb.round_trip.latency
(gauge)
[OpenMetrics v1] Distribution of round-trip latencies with other nodes in nanoseconds
Shown as nanosecond
cockroachdb.round_trip.latency.bucket
(count)
[OpenMetrics v2] Distribution of round-trip latencies with other nodes in nanoseconds
Shown as nanosecond
cockroachdb.schedules.backup.failed
(count)
[OpenMetrics v1] Number of BACKUP jobs failed
cockroachdb.schedules.backup.started
(count)
[OpenMetrics v1] Number of BACKUP jobs started
cockroachdb.schedules.backup.succeeded
(count)
[OpenMetrics v1] Number of BACKUP jobs succeeded
cockroachdb.sql.bytesin
(count)
[OpenMetrics v1] Number of sql bytes received
Shown as byte
cockroachdb.sql.bytesin.count
(count)
[OpenMetrics v2] Number of sql bytes received
Shown as byte
cockroachdb.sql.bytesout
(count)
[OpenMetrics v1] Number of sql bytes sent
Shown as byte
cockroachdb.sql.bytesout.count
(count)
[OpenMetrics v2] Number of sql bytes sent
Shown as byte
cockroachdb.sql.conns
(gauge)
[OpenMetrics v1 & v2] Number of active sql connections
Shown as connection
cockroachdb.sql.ddl.count
(count)
[OpenMetrics v1 & v2] Number of SQL DDL statements
cockroachdb.sql.delete.count
(count)
[OpenMetrics v1 & v2] Number of SQL DELETE statements
cockroachdb.sql.distsql.exec.latency
(gauge)
[OpenMetrics v1] Latency in nanoseconds of DistSQL statement execution
Shown as nanosecond
cockroachdb.sql.distsql.exec.latency.bucket
(count)
[OpenMetrics v2] Latency in nanoseconds of DistSQL statement execution
Shown as nanosecond
cockroachdb.sql.distsql.flows.active
(gauge)
[OpenMetrics v1 & v2] Number of distributed SQL flows currently active
cockroachdb.sql.distsql.flows.total
(count)
[OpenMetrics v1] Number of distributed SQL flows executed
cockroachdb.sql.distsql.flows.total.count
(count)
[OpenMetrics v2] Number of distributed SQL flows executed
cockroachdb.sql.distsql.queries.active
(gauge)
[OpenMetrics v1 & v2] Number of distributed SQL queries currently active
cockroachdb.sql.distsql.queries.total
(count)
[OpenMetrics v1] Number of distributed SQL queries executed
cockroachdb.sql.distsql.queries.total.count
(count)
[OpenMetrics v2] Number of distributed SQL queries executed
cockroachdb.sql.distsql.select.count
(count)
[OpenMetrics v1 & v2] Number of DistSQL SELECT statements
cockroachdb.sql.distsql.service.latency
(gauge)
[OpenMetrics v1] Latency in nanoseconds of DistSQL request execution
Shown as nanosecond
cockroachdb.sql.distsql.service.latency.bucket
(count)
[OpenMetrics v2] Latency in nanoseconds of DistSQL request execution
Shown as nanosecond
cockroachdb.sql.exec.latency
(gauge)
[OpenMetrics v1] Latency in nanoseconds of SQL statement execution
Shown as nanosecond
cockroachdb.sql.exec.latency.bucket
(count)
[OpenMetrics v2] Latency in nanoseconds of SQL statement execution
Shown as nanosecond
cockroachdb.sql.insert.count
(count)
[OpenMetrics v1 & v2] Number of SQL INSERT statements
cockroachdb.sql.mem.admin.current
(gauge)
[OpenMetrics v1 & v2] Current sql statement memory usage for admin
cockroachdb.sql.mem.admin.max
(gauge)
[OpenMetrics v1] Memory usage per sql statement for admin
cockroachdb.sql.mem.admin.max.bucket
(count)
[OpenMetrics v2] Memory usage per sql statement for admin
cockroachdb.sql.mem.admin.session.current
(gauge)
[OpenMetrics v1 & v2] Current sql session memory usage for admin
cockroachdb.sql.mem.admin.session.max
(gauge)
[OpenMetrics v1] Memory usage per sql session for admin
cockroachdb.sql.mem.admin.session.max.bucket
(count)
[OpenMetrics v2] Memory usage per sql session for admin
cockroachdb.sql.mem.admin.txn.current
(gauge)
[OpenMetrics v1 & v2] Current sql transaction memory usage for admin
cockroachdb.sql.mem.admin.txn.max
(gauge)
[OpenMetrics v1] Memory usage per sql transaction for admin
cockroachdb.sql.mem.admin.txn.max.bucket
(count)
[OpenMetrics v2] Memory usage per sql transaction for admin
cockroachdb.sql.mem.client.current
(gauge)
[OpenMetrics v1 & v2] Current sql statement memory usage for client
cockroachdb.sql.mem.client.max
(gauge)
[OpenMetrics v1] Memory usage per sql statement for client
cockroachdb.sql.mem.client.max.bucket
(count)
[OpenMetrics v2] Memory usage per sql statement for client
cockroachdb.sql.mem.client.session.current
(gauge)
[OpenMetrics v1 & v2] Current sql session memory usage for client
cockroachdb.sql.mem.client.session.max
(gauge)
[OpenMetrics v1] Memory usage per sql session for client
cockroachdb.sql.mem.client.session.max.bucket
(count)
[OpenMetrics v2] Memory usage per sql session for client
cockroachdb.sql.mem.client.txn.current
(gauge)
[OpenMetrics v1 & v2] Current sql transaction memory usage for client
cockroachdb.sql.mem.client.txn.max
(gauge)
[OpenMetrics v1] Memory usage per sql transaction for client
cockroachdb.sql.mem.client.txn.max.bucket
(count)
[OpenMetrics v2] Memory usage per sql transaction for client
cockroachdb.sql.mem.conns.current
(gauge)
[OpenMetrics v1 & v2] Current sql statement memory usage for conns
cockroachdb.sql.mem.conns.max
(gauge)
[OpenMetrics v1] Memory usage per sql statement for conns
cockroachdb.sql.mem.conns.max.bucket
(count)
[OpenMetrics v2] Memory usage per sql statement for conns
cockroachdb.sql.mem.conns.session.current
(gauge)
[OpenMetrics v1 & v2] Current sql session memory usage for conns
cockroachdb.sql.mem.conns.session.max
(gauge)
[OpenMetrics v1] Memory usage per sql session for conns
cockroachdb.sql.mem.conns.session.max.bucket
(count)
[OpenMetrics v2] Memory usage per sql session for conns
cockroachdb.sql.mem.conns.txn.current
(gauge)
[OpenMetrics v1 & v2] Current sql transaction memory usage for conns
cockroachdb.sql.mem.conns.txn.max
(gauge)
[OpenMetrics v1] Memory usage per sql transaction for conns
cockroachdb.sql.mem.conns.txn.max.bucket
(count)
[OpenMetrics v2] Memory usage per sql transaction for conns
cockroachdb.sql.mem.distsql.current
(gauge)
[OpenMetrics v1 & v2] Current sql statement memory usage for distsql
cockroachdb.sql.mem.distsql.max
(gauge)
[OpenMetrics v1] Memory usage per sql statement for distsql
cockroachdb.sql.mem.distsql.max.bucket
(count)
[OpenMetrics v2] Memory usage per sql statement for distsql
cockroachdb.sql.mem.internal.current
(gauge)
[OpenMetrics v1 & v2] Current sql statement memory usage for internal
cockroachdb.sql.mem.internal.max
(gauge)
[OpenMetrics v1] Memory usage per sql statement for internal
cockroachdb.sql.mem.internal.max.bucket
(count)
[OpenMetrics v2] Memory usage per sql statement for internal
cockroachdb.sql.mem.internal.session.current
(gauge)
[OpenMetrics v1 & v2] Current sql session memory usage for internal
cockroachdb.sql.mem.internal.session.max
(gauge)
[OpenMetrics v1] Memory usage per sql session for internal
cockroachdb.sql.mem.internal.session.max.bucket
(count)
[OpenMetrics v2] Memory usage per sql session for internal
cockroachdb.sql.mem.internal.txn.current
(gauge)
[OpenMetrics v1 & v2] Current sql transaction memory usage for internal
cockroachdb.sql.mem.internal.txn.max
(gauge)
[OpenMetrics v1] Memory usage per sql transaction for internal
cockroachdb.sql.mem.internal.txn.max.bucket
(count)
[OpenMetrics v2] Memory usage per sql transaction for internal
cockroachdb.sql.misc.count
(count)
[OpenMetrics v1 & v2] Number of other SQL statements
cockroachdb.sql.query.count
(count)
[OpenMetrics v1 & v2] Number of SQL queries
cockroachdb.sql.select.count
(count)
[OpenMetrics v1 & v2] Number of SQL SELECT statements
cockroachdb.sql.service.latency
(gauge)
[OpenMetrics v1] Latency in nanoseconds of SQL request execution
Shown as nanosecond
cockroachdb.sql.service.latency.bucket
(count)
[OpenMetrics v2] Latency in nanoseconds of SQL request execution
Shown as nanosecond
cockroachdb.sql.txn.abort.count
(count)
[OpenMetrics v1 & v2] Number of SQL transaction ABORT statements
cockroachdb.sql.txn.begin.count
(count)
[OpenMetrics v1 & v2] Number of SQL transaction BEGIN statements
cockroachdb.sql.txn.commit.count
(count)
[OpenMetrics v1 & v2] Number of SQL transaction COMMIT statements
cockroachdb.sql.txn.rollback.count
(count)
[OpenMetrics v1 & v2] Number of SQL transaction ROLLBACK statements
cockroachdb.sql.update.count
(count)
[OpenMetrics v1 & v2] Number of SQL UPDATE statements
cockroachdb.sys.cgo.allocbytes
(gauge)
[OpenMetrics v1 & v2] Current bytes of memory allocated by cgo
Shown as byte
cockroachdb.sys.cgo.totalbytes
(gauge)
[OpenMetrics v1 & v2] Total bytes of memory allocated by cgo, but not released
Shown as byte
cockroachdb.sys.cgocalls
(gauge)
[OpenMetrics v1 & v2] Total number of cgo calls
cockroachdb.sys.cpu.sys.ns
(gauge)
[OpenMetrics v1 & v2] Total system cpu time in nanoseconds
Shown as nanosecond
cockroachdb.sys.cpu.sys.percent
(gauge)
[OpenMetrics v1 & v2] Current system cpu percentage
cockroachdb.sys.cpu.user.ns
(gauge)
[OpenMetrics v1 & v2] Total user cpu time in nanoseconds
Shown as nanosecond
cockroachdb.sys.cpu.user.percent
(gauge)
[OpenMetrics v1 & v2] Current user cpu percentage
Shown as percent
cockroachdb.sys.fd.open
(gauge)
[OpenMetrics v1 & v2] Process open file descriptors
cockroachdb.sys.fd.softlimit
(gauge)
[OpenMetrics v1 & v2] Process open FD soft limit
cockroachdb.sys.gc.count
(gauge)
[OpenMetrics v1 & v2] Total number of GC runs
cockroachdb.sys.gc.pause.ns
(gauge)
[OpenMetrics v1 & v2] Total GC pause in nanoseconds
Shown as nanosecond
cockroachdb.sys.gc.pause.percent
(gauge)
[OpenMetrics v1 & v2] Current GC pause percentage
Shown as percent
cockroachdb.sys.go.allocbytes
(gauge)
[OpenMetrics v1 & v2] Current bytes of memory allocated by go
Shown as byte
cockroachdb.sys.go.totalbytes
(gauge)
[OpenMetrics v1 & v2] Total bytes of memory allocated by go, but not released
Shown as byte
cockroachdb.sys.goroutines
(gauge)
[OpenMetrics v1 & v2] Current number of goroutines
cockroachdb.sys.rss
(gauge)
[OpenMetrics v1 & v2] Current process RSS
cockroachdb.sys.uptime
(gauge)
[OpenMetrics v1 & v2] Process uptime in seconds
Shown as second
cockroachdb.sysbytes
(gauge)
[OpenMetrics v1 & v2] Number of bytes in system KV pairs
Shown as byte
cockroachdb.syscount
(gauge)
[OpenMetrics v1 & v2] Count of system KV pairs
cockroachdb.timeseries.write.bytes
(count)
[OpenMetrics v1] Total size in bytes of metric samples written to disk
Shown as byte
cockroachdb.timeseries.write.bytes.count
(count)
[OpenMetrics v2] Total size in bytes of metric samples written to disk
Shown as byte
cockroachdb.timeseries.write.errors
(count)
[OpenMetrics v1] Total errors encountered while attempting to write metrics to disk
Shown as error
cockroachdb.timeseries.write.errors.count
(count)
[OpenMetrics v2] Total errors encountered while attempting to write metrics to disk
Shown as error
cockroachdb.timeseries.write.samples
(count)
[OpenMetrics v1] Total number of metric samples written to disk
cockroachdb.timeseries.write.samples.count
(count)
[OpenMetrics v2] Total number of metric samples written to disk
cockroachdb.totalbytes
(gauge)
[OpenMetrics v1 & v2] Total number of bytes taken up by keys and values including non-live data
Shown as byte
cockroachdb.tscache.skl.read.pages
(gauge)
[OpenMetrics v1 & v2] Number of pages in the read timestamp cache
cockroachdb.tscache.skl.read.rotations
(count)
[OpenMetrics v1] Number of page rotations in the read timestamp cache
cockroachdb.tscache.skl.read.rotations.count
(count)
[OpenMetrics v2] Number of page rotations in the read timestamp cache
cockroachdb.tscache.skl.write.pages
(gauge)
[OpenMetrics v1 & v2] Number of pages in the write timestamp cache
cockroachdb.tscache.skl.write.rotations
(count)
[OpenMetrics v1] Number of page rotations in the write timestamp cache
cockroachdb.tscache.skl.write.rotations.count
(count)
[OpenMetrics v2] Number of page rotations in the write timestamp cache
cockroachdb.txn.abandons
(count)
[OpenMetrics v1] Number of abandoned KV transactions
cockroachdb.txn.abandons.count
(count)
[OpenMetrics v2] Number of abandoned KV transactions
cockroachdb.txn.aborts
(count)
[OpenMetrics v1] Number of aborted KV transactions
cockroachdb.txn.aborts.count
(count)
[OpenMetrics v2] Number of aborted KV transactions
cockroachdb.txn.autoretries
(count)
[OpenMetrics v1] Number of automatic retries to avoid serializable restarts
cockroachdb.txn.autoretries.count
(count)
[OpenMetrics v2] Number of automatic retries to avoid serializable restarts
cockroachdb.txn.commits
(count)
[OpenMetrics v1] Number of committed KV transactions (including 1PC)
cockroachdb.txn.commits.count
(count)
[OpenMetrics v2] Number of committed KV transactions (including 1PC)
cockroachdb.txn.commits1PC
(count)
[OpenMetrics v1] Number of committed one-phase KV transactions
cockroachdb.txn.commits1PC.count
(count)
[OpenMetrics v2] Number of committed one-phase KV transactions
cockroachdb.txn.durations
(gauge)
[OpenMetrics v1] KV transaction durations in nanoseconds
cockroachdb.txn.durations.bucket
(count)
[OpenMetrics v2] KV transaction durations in nanoseconds
cockroachdb.txn.restarts
(gauge)
[OpenMetrics v1] Number of restarted KV transactions
cockroachdb.txn.restarts.bucket
(count)
[OpenMetrics v2] Number of restarted KV transactions
cockroachdb.txn.restarts.deleterange
(count)
[OpenMetrics v1] Number of restarts due to a forwarded commit timestamp and a DeleteRange command
cockroachdb.txn.restarts.deleterange.count
(count)
[OpenMetrics v2] Number of restarts due to a forwarded commit timestamp and a DeleteRange command
cockroachdb.txn.restarts.possiblereplay
(count)
[OpenMetrics v1] Number of restarts due to possible replays of command batches at the storage layer
cockroachdb.txn.restarts.possiblereplay.count
(count)
[OpenMetrics v2] Number of restarts due to possible replays of command batches at the storage layer
cockroachdb.txn.restarts.serializable
(count)
[OpenMetrics v1] Number of restarts due to a forwarded commit timestamp and isolation=SERIALIZABLE
cockroachdb.txn.restarts.serializable.count
(count)
[OpenMetrics v2] Number of restarts due to a forwarded commit timestamp and isolation=SERIALIZABLE
cockroachdb.txn.restarts.writetooold
(count)
[OpenMetrics v1] Number of restarts due to a concurrent writer committing first
cockroachdb.txn.restarts.writetooold.count
(count)
[OpenMetrics v2] Number of restarts due to a concurrent writer committing first
cockroachdb.valbytes
(gauge)
[OpenMetrics v1 & v2] Number of bytes taken up by values
Shown as byte
cockroachdb.valcount
(gauge)
[OpenMetrics v1 & v2] Count of all values

サービスのチェック

CockroachDB チェックには、サービスのチェック機能は含まれません。

イベント

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

トラブルシューティング

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

その他の参考資料

お役に立つドキュメント、リンクや記事: