ElasticSearch

Supported OS Linux Windows Mac OS

통합 버전6.3.1

Elastic search dashboard

개요

Elasticsearch 클러스터의 전반적인 상태부터 JVM 힙 사용량 및 그 사이의 모든 것에 이르기까지 최신 상태를 유지하세요. 복제본을 재생하거나, 클러스터에 용량을 추가하거나, 설정을 조정해야 할 때 알림을 받고 클러스터 메트릭이 어떻게 반응하는지 추적할 수 있습니다.

Datadog Agent의 Elasticsearch 검사는 검색 및 인덱싱 성능, 메모리 사용량 및 가비지 수집, 노드 가용성, 샤드 통계, 디스크 공간 및 성능, 보류 중인 작업 등에 대한 메트릭을 수집합니다. 또한 Agent는 클러스터의 전반적인 상태에 대한 이벤트 및 서비스 점검을 보냅니다.

설정

설치

Elasticsearch 검사는 Datadog Agent 패키지에 포함되어 있어 추가 설치가 필요하지 않습니다.

구성

호스트

호스트에서 실행 중인 에이전트에 대해 이 점검을 구성하려면:

메트릭 수집
  1. Agent 구성 디렉터리의 루트에 있는 conf.d/ 폴더에서 elastic.d/conf.yaml 파일을 편집하여 Elasticsearch 메트릭 수집을 시작합니다. 사용 가능한 모든 구성 옵션은 샘플 elastic.d/conf.yaml을 참조하세요.

    init_config:
    
    instances:
      ## @param url - string - required
      ## The URL where Elasticsearch accepts HTTP requests. This is used to
      ## fetch statistics from the nodes and information about the cluster health.
      #
      - url: http://localhost:9200
    

    참고:

    • 호스팅된 Elasticsearch를 사용하는 등 클러스터 외부에서 실행되는 하나의 Datadog Agent에서만 Elasticsearch 메트릭을 수집하는 경우 cluster_statstrue로 설정합니다.

    • Agent 수준 태그는 Agent를 실행하지 않는 클러스터의 호스트에는 적용되지 않습니다. 모든 메트릭에 일관된 태그가 있는지 확인하려면 <integration>.d/conf.yaml에서 통합 수준 태그를 사용하세요. 예를 들어:

      init_config:
      instances:
        - url: "%%env_MONITOR_ES_HOST%%"
          username: "%%env_MONITOR_ES_USER%%"
          password: *********
          auth_type: basic
          cluster_stats: true
          tags:
          - service.name:elasticsearch
          - env:%%env_DD_ENV%%
      
    • AWS Elasticsearch 서비스에 대한 Agent의 Elasticsearch 통합을 사용하려면 AWS Elasticsearch 통계 URL을 가리키도록 url 파라미터를 설정합니다.

    • Amazon ES 구성 API에 대한 모든 요청은 서명해야 합니다. 자세한 내용은 OpenSearch 서비스 요청 만들기 및 서명을 참조하세요.

    • aws 인증 유형은 boto3를 사용하여 .aws/credentials에서 AWS 크리덴셜을 자동으로 수집합니다. conf.yaml에서 auth_type: basic를 사용하고 username: <USERNAME>password: <PASSWORD>으로 크리덴셜을 정의합니다.

    • Elasticsearch에서 모니터링할 적절한 권한이 있는 사용자와 역할(아직 없는 경우)을 생성해야 합니다. 이는 Elasticsearch에서 제공하는 REST API 또는 Kibana UI를 통해 수행할 수 있습니다.

    • Elastic Search에서 보안 기능을 사용하도록 설정한 경우, API를 사용하는 동안 monitor 또는 manage 권한을 부여하여 Elastic Search 인덱스를 호출할 수 있습니다.

    • 생성된 역할에 다음 속성을 포함합니다.

      name = "datadog"
      indices {
        names = [".monitoring-*", "metricbeat-*"]
        privileges = ["read", "read_cross_cluster", "monitor"]
      }
      cluster = ["monitor"]
      

      사용자에게 역할을 추가합니다.

      roles = [<created role>, "monitoring_user"]
      

      자세한 내용은 역할 생성 또는 업데이트사용자 생성 또는 업데이트를 참조하세요.

  2. Agent를 재시작합니다.

커스텀 쿼리

ElasticSearch 통합을 사용하면 custom_queries 구성 옵션을 사용하여 커스텀 쿼리를 통해 커스텀 메트릭을 수집할 수 있습니다.

참고: 커스텀 쿼리를 실행할 때 읽기 전용 계정을 사용하여 ElasticSearch 인스턴스가 변경되지 않도록 하세요.

custom_queries:
 - endpoint: /_search
   data_path: aggregations.genres.buckets
   payload:
     aggs:
       genres:
         terms:
           field: "id"
   columns:
   - value_path: key
     name: id
     type: tag
   - value_path: doc_count
     name: elasticsearch.doc_count
   tags:
   - custom_tag:1

커스텀 쿼리는 GET 요청으로 전송됩니다. 선택적 payload 파라미터를 사용하면 요청이 POST 요청으로 전송됩니다.

value_path는 문자열 키일 수도 있고 목록 인덱스일 수도 있습니다. 예:

{
  "foo": {
    "bar": [
      "result0",
      "result1"
    ]
  }
}

value_path: foo.bar.1result1 값을 반환합니다.

트레이스 수집

Datadog APM은 Elasticsearch와 통합되어 분산 시스템 전체의 트레이스를 확인합니다. Datadog Agent v6+에서는 트레이스 수집이 기본적으로 활성화되어 있습니다. 트레이스 수집을 시작하려면 다음 안내를 따르세요.

  1. Datadog에서 트레이스 수집을 활성화합니다.
  2. ElasticSearch에 요청하는 애플리케이션을 계측합니다.
로그 수집

Agent 버전 6.0 이상에서 사용 가능

  1. 로그 수집은 Datadog Agent에서 기본적으로 비활성화되어 있습니다. 다음을 사용하여 datadog.yaml 파일에서 활성화합니다.

    logs_enabled: true
    
  2. 검색 느린 로그를 수집하고 느린 로그를 인덱싱하려면 Elasticsearch 설정을 구성하세요. 기본적으로 느린 로그는 활성화되어 있지 않습니다.

    • 특정 인덱스 <INDEX>에 대한 인덱스 느린 로그를 구성하려면 다음을 수행합니다.

      curl -X PUT "localhost:9200/<INDEX>/_settings?pretty" -H 'Content-Type: application/json' -d' {
        "index.indexing.slowlog.threshold.index.warn": "0ms",
        "index.indexing.slowlog.threshold.index.info": "0ms",
        "index.indexing.slowlog.threshold.index.debug": "0ms",
        "index.indexing.slowlog.threshold.index.trace": "0ms",
        "index.indexing.slowlog.level": "trace",
        "index.indexing.slowlog.source": "1000"
      }'
      
    • 특정 인덱스 <INDEX>에 대한 검색 느린 로그를 구성하려면 다음을 수행합니다.

      curl -X PUT "localhost:9200/<INDEX>/_settings?pretty" -H 'Content-Type: application/json' -d' {
        "index.search.slowlog.threshold.query.warn": "0ms",
        "index.search.slowlog.threshold.query.info": "0ms",
        "index.search.slowlog.threshold.query.debug": "0ms",
        "index.search.slowlog.threshold.query.trace": "0ms",
        "index.search.slowlog.threshold.fetch.warn": "0ms",
        "index.search.slowlog.threshold.fetch.info": "0ms",
        "index.search.slowlog.threshold.fetch.debug": "0ms",
        "index.search.slowlog.threshold.fetch.trace": "0ms"
      }'
      
  3. Elasticsearch 로그 수집을 시작하려면 elastic.d/conf.yaml 파일에 다음 구성 블록을 추가하세요.

    logs:
      - type: file
        path: /var/log/elasticsearch/*.log
        source: elasticsearch
        service: "<SERVICE_NAME>"
    
    • 느린 로그 수집을 시작하려면 추가 인스턴스를 추가하세요.

      - type: file
        path: "/var/log/elasticsearch/\
              <CLUSTER_NAME>_index_indexing_slowlog.log"
        source: elasticsearch
        service: "<SERVICE_NAME>"
      
      - type: file
        path: "/var/log/elasticsearch/\
              <CLUSTER_NAME>_index_search_slowlog.log"
        source: elasticsearch
        service: "<SERVICE_NAME>"
      

      pathservice 파라미터 값을 변경하고 환경에 맞게 구성합니다.

  4. Agent를 재시작합니다.

Docker

컨테이너에서 실행 중인 에이전트에 이 점검을 구성하는 방법:

메트릭 수집

애플리케이션 컨테이너에 자동탐지 통합 템플릿을 Docker 레이블로 설정하세요.

LABEL "com.datadoghq.ad.check_names"='["elastic"]'
LABEL "com.datadoghq.ad.init_configs"='[{}]'
LABEL "com.datadoghq.ad.instances"='[{"url": "http://%%host%%:9200"}]'
로그 수집

기본적으로 로그 수집은 Datadog 에이전트에서 비활성화되어 있습니다. 활성화하려면 Docker 로그 수집을 참고하세요.

그런 다음 Docker 레이블로 로그 통합을 설정하세요.

LABEL "com.datadoghq.ad.logs"='[{"source":"elasticsearch","service":"<SERVICE_NAME>"}]'
트레이스 수집

컨테이너화된 앱용 APM은 Agent v6+에서 지원되지만 트레이스 수집을 시작하려면 추가 구성이 필요합니다.

Agent 컨테이너의 필수 환경 변수:

파라미터
<DD_API_KEY>api_key
<DD_APM_ENABLED>true
<DD_APM_NON_LOCAL_TRAFFIC>true

사용 가능한 환경 변수 및 구성의 전체 목록은 Kubernetes 애플리케이션 추적Kubernetes 데몬 설정을 참조하세요.

그런 다음 애플리케이션 컨테이너를 계측하고 DD_AGENT_HOST를 Agent 컨테이너의 이름으로 설정합니다.

쿠버네티스(Kubernetes)

쿠버네티스에서 실행 중인 에이전트에 이 점검을 구성하는 방법:

메트릭 수집

자동탐지 통합 템플릿을 애플리케이션 컨테이너의 포드 주석으로 설정합니다. 이외 템플릿은 또한 파일, configmap, key-value store로 설정할 수 있습니다.

주석 v1(Datadog 에이전트 v7.36 이하용)

apiVersion: v1
kind: Pod
metadata:
  name: elasticsearch
  annotations:
    ad.datadoghq.com/elasticsearch.check_names: '["elastic"]'
    ad.datadoghq.com/elasticsearch.init_configs: '[{}]'
    ad.datadoghq.com/elasticsearch.instances: |
      [
        {
          "url": "http://%%host%%:9200"
        }
      ]      
spec:
  containers:
    - name: elasticsearch

주석 v2(Datadog 에이전트 v7.36 이상용)

apiVersion: v1
kind: Pod
metadata:
  name: elasticsearch
  annotations:
    ad.datadoghq.com/elasticsearch.checks: |
      {
        "elastic": {
          "init_config": {},
          "instances": [
            {
              "url": "http://%%host%%:9200"
            }
          ]
        }
      }      
spec:
  containers:
    - name: elasticsearch
로그 수집

Datadog Agent에서는 로그 수집이 기본적으로 비활성화되어 있습니다. 활성화하려면 Kubernetes 로그 수집을 참조하세요.

그런 다음 로그 통합을 포드 주석으로 설정합니다. 또한 파일, configmap, 또는 key-value store로 설정할 수 있습니다.

주석 v1/v2

apiVersion: v1
kind: Pod
metadata:
  name: elasticsearch
  annotations:
    ad.datadoghq.com/elasticsearch.logs: '[{"source":"elasticsearch","service":"<SERVICE_NAME>"}]'
spec:
  containers:
    - name: elasticsearch
트레이스 수집

컨테이너화된 앱용 APM은 Agent v6+를 실행하는 호스트에서 지원되지만 트레이스 수집을 시작하려면 추가 구성이 필요합니다.

Agent 컨테이너의 필수 환경 변수:

파라미터
<DD_API_KEY>api_key
<DD_APM_ENABLED>true
<DD_APM_NON_LOCAL_TRAFFIC>true

사용 가능한 환경 변수 및 구성의 전체 목록은 Kubernetes 애플리케이션 추적Kubernetes 데몬 설정을 참조하세요.

그런 다음 애플리케이션 컨테이너를 계측하고 DD_AGENT_HOST를 Agent 컨테이너의 이름으로 설정합니다.

ECS

ECS에서 실행 중인 에이전트에 이 점검을 구성하는 방법:

메트릭 수집

애플리케이션 컨테이너에 자동탐지 통합 템플릿을 Docker 레이블로 설정하세요.

{
  "containerDefinitions": [{
    "name": "elasticsearch",
    "image": "elasticsearch:latest",
    "dockerLabels": {
      "com.datadoghq.ad.check_names": "[\"elastic\"]",
      "com.datadoghq.ad.init_configs": "[{}]",
      "com.datadoghq.ad.instances": "[{\"url\": \"http://%%host%%:9200\"}]"
    }
  }]
}
로그 수집

기본적으로 로그 수집은 Datadog 에이전트에서 비활성화되어 있습니다. 활성화하려면 ECS 로그 수집을 참조하세요.

그런 다음 Docker 레이블로 로그 통합을 설정하세요.

{
  "containerDefinitions": [{
    "name": "elasticsearch",
    "image": "elasticsearch:latest",
    "dockerLabels": {
      "com.datadoghq.ad.logs": "[{\"source\":\"elasticsearch\",\"service\":\"<SERVICE_NAME>\"}]"
    }
  }]
}
트레이스 수집

컨테이너화된 앱용 APM은 Agent v6+에서 지원되지만 트레이스 수집을 시작하려면 추가 구성이 필요합니다.

Agent 컨테이너의 필수 환경 변수:

파라미터
<DD_API_KEY>api_key
<DD_APM_ENABLED>true
<DD_APM_NON_LOCAL_TRAFFIC>true

사용 가능한 환경 변수 및 구성의 전체 목록은 Kubernetes 애플리케이션 추적Kubernetes 데몬 설정을 참조하세요.

그런 다음 애플리케이션 컨테이너를 계측하고 DD_AGENT_HOSTEC2 개인 IP 주소로 설정합니다.

검증

Agent 상태 하위 명령을 실행하고 Checks 섹션에서 elastic을 찾으세요.

수집한 데이터

기본적으로 Agent는 다음 메트릭 중 일부를 전송하지 않습니다. 모든 메트릭을 보내려면 elastic.yaml에서 위와 같이 플래그를 구성하세요.

  • pshard_statselasticsearch.primaries.*elasticsearch.indices.count 메트릭을 전송합니다.
  • index_statselasticsearch.index.* 메트릭을 전송합니다.
  • pending_task_statselasticsearch.pending_* 메트릭을 전송합니다.
  • slm_statselasticsearch.slm.* 메트릭을 전송합니다.

메트릭

elasticsearch.active_primary_shards
(gauge)
The number of active primary shards in the cluster.
Shown as shard
elasticsearch.active_shards
(gauge)
The number of active shards in the cluster.
Shown as shard
elasticsearch.breakers.fielddata.estimated_size_in_bytes
(gauge)
The estimated size in bytes of the field data circuit breaker [v1.4.0+].
Shown as byte
elasticsearch.breakers.fielddata.overhead
(gauge)
The constant multiplier for byte estimations of the field data circuit breaker [v1.4.0+].
elasticsearch.breakers.fielddata.tripped
(gauge)
The number of times the field data circuit breaker has tripped [v1.4.0+].
elasticsearch.breakers.inflight_requests.estimated_size_in_bytes
(gauge)
The estimated size in bytes of the inflight circuit breaker [v5+].
Shown as byte
elasticsearch.breakers.inflight_requests.overhead
(gauge)
The constant multiplier for byte estimations of the inflight circuit breaker [v5+].
elasticsearch.breakers.inflight_requests.tripped
(gauge)
The number of times the inflight circuit breaker has tripped [v5+].
elasticsearch.breakers.parent.estimated_size_in_bytes
(gauge)
The estimated size in bytes of the parent circuit breaker [v1.4.0+].
Shown as byte
elasticsearch.breakers.parent.overhead
(gauge)
The constant multiplier for byte estimations of the parent circuit breaker [v1.4.0+].
elasticsearch.breakers.parent.tripped
(gauge)
The number of times the parent circuit breaker has tripped [v1.4.0+].
elasticsearch.breakers.request.estimated_size_in_bytes
(gauge)
The estimated size in bytes of the request circuit breaker [v1.4.0+].
Shown as byte
elasticsearch.breakers.request.overhead
(gauge)
The constant multiplier for byte estimations of the request circuit breaker [v1.4.0+].
elasticsearch.breakers.request.tripped
(gauge)
The number of times the request circuit breaker has tripped [v1.4.0+].
elasticsearch.cache.field.evictions
(gauge)
The total number of evictions from the field data cache [pre v0.90.5].
Shown as eviction
elasticsearch.cache.field.size
(gauge)
The size of the field cache [pre v0.90.5].
Shown as byte
elasticsearch.cache.filter.count
(gauge)
The number of items in the filter cache [pre v0.90.5].
Shown as item
elasticsearch.cache.filter.evictions
(gauge)
The total number of evictions from the filter cache [pre 2.0].
Shown as eviction
elasticsearch.cache.filter.evictions.count
(count)
The total number of evictions from the filter cache submitted as a count [v0.90.5 pre 2.0].
Shown as eviction
elasticsearch.cache.filter.size
(gauge)
The size of the filter cache [pre 2.0].
Shown as byte
elasticsearch.cgroup.cpu.stat.number_of_elapsed_periods
(gauge)
The number of reporting periods that have elapsed [v5+]
elasticsearch.cgroup.cpu.stat.number_of_times_throttled
(gauge)
The number of times all tasks in the same cgroup as the Elasticsearch process have been throttled [v5+]
elasticsearch.cluster_status
(gauge)
The elasticsearch cluster health as a number: red = 0, yellow = 1, green = 2
elasticsearch.delayed_unassigned_shards
(gauge)
The number of shards whose allocation has been delayed [v2.4+].
Shown as shard
elasticsearch.disk.avail
(gauge)
The free disk space available to Elasticsearch.
Shown as byte
elasticsearch.disk.indices
(gauge)
The disk space used by the node's shards.
Shown as byte
elasticsearch.disk.percent
(gauge)
The total percentage of disk space in use. Calculated as disk.used / disk.total.
Shown as percent
elasticsearch.disk.total
(gauge)
The total disk space for the node including in-use and available space.
Shown as byte
elasticsearch.disk.used
(gauge)
The total disk space in use.
Shown as byte
elasticsearch.docs.count
(gauge)
The total number of documents in the cluster across all shards.
Shown as document
elasticsearch.docs.deleted
(gauge)
The total number of documents deleted from the cluster across all shards.
Shown as document
elasticsearch.fielddata.evictions
(gauge)
The total number of evictions from the fielddata cache [v0.90.5+].
Shown as eviction
elasticsearch.fielddata.evictions.count
(count)
The total number of evictions from the fielddata cache submitted as a count [v0.90.5+].
Shown as eviction
elasticsearch.fielddata.size
(gauge)
The size of the fielddata cache [v0.90.5+].
Shown as byte
elasticsearch.flush.total
(gauge)
The total number of index flushes to disk since start.
Shown as flush
elasticsearch.flush.total.count
(count)
The total number of index flushes to disk since start submitted as a count.
Shown as flush
elasticsearch.flush.total.time
(gauge)
The total time spent flushing the index to disk.
Shown as second
elasticsearch.flush.total.time.count
(count)
The total time spent flushing the index to disk submitted as a count.
Shown as second
elasticsearch.fs.total.available_in_bytes
(gauge)
The total number of bytes available to this Java virtual machine on this file store.
Shown as byte
elasticsearch.fs.total.disk_io_op
(gauge)
The total I/O operations on the file store [v1.0+].
Shown as operation
elasticsearch.fs.total.disk_io_size_in_bytes
(gauge)
Total bytes used for all I/O operations on the file store [v1.0+].
Shown as byte
elasticsearch.fs.total.disk_read_size_in_bytes
(gauge)
The total bytes read from the file store [v1.0+].
Shown as byte
elasticsearch.fs.total.disk_reads
(gauge)
The total number of reads from the file store [v1.0+].
Shown as read
elasticsearch.fs.total.disk_write_size_in_bytes
(gauge)
The total bytes written to the file store [v1.0+].
Shown as byte
elasticsearch.fs.total.disk_writes
(gauge)
The total number of writes to the file store [v1.0+].
Shown as write
elasticsearch.fs.total.free_in_bytes
(gauge)
The total number of unallocated bytes in the file store.
Shown as byte
elasticsearch.fs.total.total_in_bytes
(gauge)
The total size in bytes of the file store.
Shown as byte
elasticsearch.get.current
(gauge)
The number of get requests currently running.
Shown as request
elasticsearch.get.exists.time
(gauge)
The total time spent on get requests where the document existed.
Shown as second
elasticsearch.get.exists.time.count
(count)
The total time spent on get requests where the document existed submitted as a count.
Shown as second
elasticsearch.get.exists.total
(gauge)
The total number of get requests where the document existed.
Shown as request
elasticsearch.get.exists.total.count
(count)
The total number of get requests where the document existed submitted as a count.
Shown as request
elasticsearch.get.missing.time
(gauge)
The total time spent on get requests where the document was missing.
Shown as second
elasticsearch.get.missing.time.count
(count)
The total time spent on get requests where the document was missing submitted as a count.
Shown as second
elasticsearch.get.missing.total
(gauge)
The total number of get requests where the document was missing.
Shown as request
elasticsearch.get.missing.total.count
(count)
The total number of get requests where the document was missing submitted as a count.
Shown as request
elasticsearch.get.time
(gauge)
The total time spent on get requests.
Shown as second
elasticsearch.get.time.count
(count)
The total time spent on get requests submitted as a count.
Shown as second
elasticsearch.get.total
(gauge)
The total number of get requests.
Shown as request
elasticsearch.get.total.count
(count)
The total number of get requests submitted as a count.
Shown as request
elasticsearch.http.current_open
(gauge)
The number of current open HTTP connections.
Shown as connection
elasticsearch.http.total_opened
(gauge)
The total number of opened HTTP connections.
Shown as connection
elasticsearch.http.total_opened.count
(count)
The total number of opened HTTP connections submitted as a count.
Shown as connection
elasticsearch.id_cache.size
(gauge)
The size of the id cache [v0.90.5 pre 2.0].
Shown as byte
elasticsearch.index.docs.count
(gauge)
The number of documents in the index
Shown as document
elasticsearch.index.docs.deleted
(gauge)
The number of deleted documents in the index
Shown as document
elasticsearch.index.health
(gauge)
The status of the index as a number: green = 0, yellow = 1, red = 2
elasticsearch.index.health.reverse
(gauge)
The status of the index as a number: red = 0, yellow = 1, green = 2
elasticsearch.index.primary_shards
(gauge)
The number of primary shards in the index
Shown as shard
elasticsearch.index.primary_store_size
(gauge)
The store size of primary shards in the index
Shown as byte
elasticsearch.index.replica_shards
(gauge)
The number of replica shards in the index
Shown as shard
elasticsearch.index.search.query.time
(gauge)
Time in milliseconds spent performing query operations
Shown as millisecond
elasticsearch.index.search.query.total
(gauge)
Total number of query operations
elasticsearch.index.store_size
(gauge)
The store size of primary and replica shards in the index
Shown as byte
elasticsearch.indexing.delete.current
(gauge)
The number of documents currently being deleted from an index.
Shown as document
elasticsearch.indexing.delete.time
(gauge)
The total time spent deleting documents from an index.
Shown as second
elasticsearch.indexing.delete.time.count
(count)
The total time spent deleting documents from an index submitted as a count.
Shown as second
elasticsearch.indexing.delete.total
(gauge)
The total number of documents deleted from an index.
Shown as document
elasticsearch.indexing.delete.total.count
(count)
The total number of documents deleted from an index submitted as a count.
Shown as document
elasticsearch.indexing.index.current
(gauge)
The number of documents currently being indexed to an index.
Shown as document
elasticsearch.indexing.index.time
(gauge)
The total time spent indexing documents to an index.
Shown as second
elasticsearch.indexing.index.time.count
(count)
The total time spent indexing documents to an index submitted as a count.
Shown as second
elasticsearch.indexing.index.total
(gauge)
The total number of documents indexed to an index.
Shown as document
elasticsearch.indexing.index.total.count
(count)
The total number of documents indexed to an index submitted as a count.
Shown as document
elasticsearch.indexing_pressure.memory.current.all_in_bytes
(gauge)
Memory consumed, in bytes, by indexing requests in the coordinating, primary, or replica stage [v7.9+].
Shown as byte
elasticsearch.indexing_pressure.memory.current.combined_coordinating_and_primary_in_bytes
(gauge)
Memory consumed, in bytes, by indexing requests in the coordinating or primary stage. This value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally [v7.9+].
Shown as byte
elasticsearch.indexing_pressure.memory.current.coordinating_in_bytes
(gauge)
Memory consumed by indexing requests in the coordinating stage [v7.9+].
Shown as byte
elasticsearch.indexing_pressure.memory.current.primary_in_bytes
(gauge)
Memory consumed by indexing requests in the primary stage [v7.9+].
Shown as byte
elasticsearch.indexing_pressure.memory.current.replica_in_bytes
(gauge)
Memory consumed by indexing requests in the replica stage [v7.9+].
Shown as byte
elasticsearch.indexing_pressure.memory.limit_in_bytes
(gauge)
Configured memory limit, in bytes, for the indexing requests. Replica requests have an automatic limit that is 1.5x this value [v7.10+].
Shown as byte
elasticsearch.indexing_pressure.memory.total.all_in_bytes
(gauge)
Memory consumed, in bytes, by indexing requests in the coordinating, primary, or replica stage [v7.9+].
Shown as byte
elasticsearch.indexing_pressure.memory.total.combined_coordinating_and_primary_in_bytes
(gauge)
Memory consumed, in bytes, by indexing requests in the coordinating or primary stage. This value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally [v7.9+].
Shown as byte
elasticsearch.indexing_pressure.memory.total.coordinating_in_bytes
(gauge)
Memory consumed by indexing requests in the coordinating stage [v7.9+].
Shown as byte
elasticsearch.indexing_pressure.memory.total.coordinating_rejections
(gauge)
Number of indexing requests rejected in the coordinating stage [v7.9+].
Shown as request
elasticsearch.indexing_pressure.memory.total.primary_in_bytes
(gauge)
Memory consumed by indexing requests in the primary stage [v7.9+].
Shown as byte
elasticsearch.indexing_pressure.memory.total.primary_rejections
(gauge)
Number of indexing requests rejected in the primary stage [v7.9+].
Shown as request
elasticsearch.indexing_pressure.memory.total.replica_in_bytes
(gauge)
Memory consumed by indexing requests in the replica stage [v7.9+].
Shown as byte
elasticsearch.indexing_pressure.memory.total.replica_rejections
(gauge)
Number of indexing requests rejected in the replica stage [v7.9+].
Shown as request
elasticsearch.indices.count
(gauge)
The number of indices in the cluster.
Shown as index
elasticsearch.indices.indexing.index_failed
(gauge)
The number of failed indexing operations [v2.1+].
elasticsearch.indices.indexing.index_failed.count
(count)
The number of failed indexing operations submitted as a count [v2.1+].
elasticsearch.indices.indexing.throttle_time
(gauge)
The total time indexing waited due to throttling [v1.4.0+].
Shown as millisecond
elasticsearch.indices.indexing.throttle_time.count
(count)
The total time indexing waited due to throttling submitted as a count [v1.4.0+].
Shown as millisecond
elasticsearch.indices.query_cache.cache_count
(count)
[v2.0+].
elasticsearch.indices.query_cache.cache_size
(gauge)
[v2.0+].
elasticsearch.indices.query_cache.evictions
(gauge)
The number of query cache evictions [v1.4.0+].
Shown as eviction
elasticsearch.indices.query_cache.evictions.count
(count)
The number of query cache evictions submitted as a count [v1.4.0+].
Shown as eviction
elasticsearch.indices.query_cache.hit_count
(gauge)
The number of query cache hits [v1.4.0+].
Shown as hit
elasticsearch.indices.query_cache.hit_count.count
(count)
The number of query cache hits submitted as a count [v1.4.0+].
Shown as hit
elasticsearch.indices.query_cache.memory_size_in_bytes
(gauge)
The memory used by the query cache [v1.4.0+].
Shown as byte
elasticsearch.indices.query_cache.miss_count
(gauge)
The number of query cache misses [v1.4.0+].
Shown as miss
elasticsearch.indices.query_cache.miss_count.total
(count)
The number of query cache misses [v1.4.0+].
Shown as miss
elasticsearch.indices.query_cache.total_count
(count)
[v2.0+].
elasticsearch.indices.recovery.current_as_source
(gauge)
The number of ongoing recoveries for which a shard serves as a source [v1.5.0+].
elasticsearch.indices.recovery.current_as_target
(gauge)
The number of ongoing recoveries for which a shard serves as a target [v1.5.0+].
elasticsearch.indices.recovery.throttle_time
(gauge)
The total time recoveries waited due to throttling [v1.5.0+].
Shown as millisecond
elasticsearch.indices.recovery.throttle_time.count
(count)
The total time recoveries waited due to throttling submitted as a count [v1.5.0+].
Shown as millisecond
elasticsearch.indices.request_cache.evictions
(gauge)
The number of request cache evictions [v2.0+].
Shown as eviction
elasticsearch.indices.request_cache.evictions.count
(count)
The number of request cache evictions submitted as a count [v2.0+].
Shown as eviction
elasticsearch.indices.request_cache.hit_count
(gauge)
The number of request cache hits [v2.0+].
Shown as hit
elasticsearch.indices.request_cache.hit_count.count
(count)
The number of request cache hits submitted as a count [v2.0+].
Shown as hit
elasticsearch.indices.request_cache.memory_size_in_bytes
(gauge)
The memory used by the request cache [v2.0+].
Shown as byte
elasticsearch.indices.request_cache.miss_count
(gauge)
The number of request cache misses [v2.0+].
Shown as miss
elasticsearch.indices.request_cache.miss_count.count
(count)
The number of request cache misses submitted as a count [v2.0+].
Shown as miss
elasticsearch.indices.segments.count
(gauge)
The number of segments in an index shard.
Shown as segment
elasticsearch.indices.segments.doc_values_memory_in_bytes
(gauge)
The memory used by doc values.
Shown as byte
elasticsearch.indices.segments.fixed_bit_set_memory_in_bytes
(gauge)
The memory used by fixed bit set [v1.4.0+].
Shown as byte
elasticsearch.indices.segments.index_writer_max_memory_in_bytes
(gauge)
The maximum memory used by the index writer [v1.4.0+].
Shown as byte
elasticsearch.indices.segments.index_writer_memory_in_bytes
(gauge)
The memory used by the index writer [v1.3.0+].
Shown as byte
elasticsearch.indices.segments.memory_in_bytes
(gauge)
The memory used by index segments.
Shown as byte
elasticsearch.indices.segments.norms_memory_in_bytes
(gauge)
The memory used by norms [v2.0+].
Shown as byte
elasticsearch.indices.segments.stored_fields_memory_in_bytes
(gauge)
The memory used by stored fields [v2.0+].
Shown as byte
elasticsearch.indices.segments.term_vectors_memory_in_bytes
(gauge)
The memory used by term vectors.
Shown as byte
elasticsearch.indices.segments.terms_memory_in_bytes
(gauge)
The memory used by terms [v2.0+].
Shown as byte
elasticsearch.indices.segments.version_map_memory_in_bytes
(gauge)
The memory used by the segment version map [v1.3.0+].
Shown as byte
elasticsearch.indices.translog.operations
(gauge)
The number of operations in the transaction log.
Shown as operation
elasticsearch.indices.translog.size_in_bytes
(gauge)
The size of the transaction log.
Shown as byte
elasticsearch.initializing_shards
(gauge)
The number of shards that are currently initializing.
Shown as shard
elasticsearch.merges.current
(gauge)
The number of currently active segment merges.
Shown as merge
elasticsearch.merges.current.docs
(gauge)
The number of documents across segments currently being merged.
Shown as document
elasticsearch.merges.current.size
(gauge)
The size of the segments currently being merged.
Shown as byte
elasticsearch.merges.total
(gauge)
The total number of segment merges.
Shown as merge
elasticsearch.merges.total.count
(count)
The total number of segment merges submitted as a count.
Shown as merge
elasticsearch.merges.total.docs
(gauge)
The total number of documents across all merged segments.
Shown as document
elasticsearch.merges.total.docs.count
(count)
The total number of documents across all merged segments submitted as a count.
Shown as document
elasticsearch.merges.total.size
(gauge)
The total size of all merged segments.
Shown as byte
elasticsearch.merges.total.size.count
(count)
The total size of all merged segments submitted as a count.
Shown as byte
elasticsearch.merges.total.time
(gauge)
The total time spent on segment merging.
Shown as second
elasticsearch.merges.total.time.count
(count)
The total time spent on segment merging submitted as a count.
Shown as second
elasticsearch.number_of_data_nodes
(gauge)
The number of data nodes in the cluster.
Shown as node
elasticsearch.number_of_nodes
(gauge)
The total number of nodes in the cluster.
Shown as node
elasticsearch.pending_tasks_priority_high
(gauge)
The number of high priority pending tasks.
Shown as task
elasticsearch.pending_tasks_priority_urgent
(gauge)
The number of urgent priority pending tasks.
Shown as task
elasticsearch.pending_tasks_time_in_queue
(gauge)
The average time spent by tasks in the queue.
Shown as millisecond
elasticsearch.pending_tasks_total
(gauge)
The total number of pending tasks.
Shown as task
elasticsearch.primaries.docs.count
(gauge)
The total number of documents in the primary shards.
Shown as document
elasticsearch.primaries.docs.deleted
(gauge)
The total number of documents deleted from the primary shards.
Shown as document
elasticsearch.primaries.flush.total
(gauge)
The total number of index flushes to disk from the primary shards since start.
Shown as flush
elasticsearch.primaries.flush.total.time
(gauge)
The total time spent flushing the index to disk from the primary shards.
Shown as second
elasticsearch.primaries.get.current
(gauge)
The number of get requests currently running on the primary shards.
Shown as request
elasticsearch.primaries.get.exists.time
(gauge)
The total time spent on get requests from the primary shards where the document existed.
Shown as request
elasticsearch.primaries.get.exists.total
(gauge)
The total number of get requests on primary shards where the document existed.
Shown as request
elasticsearch.primaries.get.missing.time
(gauge)
The total time spent on get requests from the primary shards where the document was missing.
Shown as second
elasticsearch.primaries.get.missing.total
(gauge)
The total number of get requests from the primary shards where the document was missing.
Shown as request
elasticsearch.primaries.get.time
(gauge)
The total time spent on get requests from the primary shards.
Shown as second
elasticsearch.primaries.get.total
(gauge)
The total number of get requests from the primary shards.
Shown as request
elasticsearch.primaries.indexing.delete.current
(gauge)
The number of documents currently being deleted from an index on the primary shards.
Shown as document
elasticsearch.primaries.indexing.delete.time
(gauge)
The total time spent deleting documents from an index on the primary shards.
Shown as second
elasticsearch.primaries.indexing.delete.total
(gauge)
The total number of documents deleted from an index on the primary shards.
Shown as document
elasticsearch.primaries.indexing.index.current
(gauge)
The number of documents currently being indexed to an index on the primary shards.
Shown as document
elasticsearch.primaries.indexing.index.time
(gauge)
The total time spent indexing documents to an index on the primary shards.
Shown as second
elasticsearch.primaries.indexing.index.total
(gauge)
The total number of documents indexed to an index on the primary shards.
Shown as document
elasticsearch.primaries.merges.current
(gauge)
The number of currently active segment merges on the primary shards.
Shown as merge
elasticsearch.primaries.merges.current.docs
(gauge)
The number of documents across segments currently being merged on the primary shards.
Shown as document
elasticsearch.primaries.merges.current.size
(gauge)
The size of the segments currently being merged on the primary shards.
Shown as byte
elasticsearch.primaries.merges.total
(gauge)
The total number of segment merges on the primary shards.
Shown as merge
elasticsearch.primaries.merges.total.docs
(gauge)
The total number of documents across all merged segments on the primary shards.
Shown as document
elasticsearch.primaries.merges.total.size
(gauge)
The total size of all merged segments on the primary shards.
Shown as byte
elasticsearch.primaries.merges.total.time
(gauge)
The total time spent on segment merging on the primary shards.
Shown as second
elasticsearch.primaries.refresh.external.total
(gauge)
The total number of external index refreshes on the primary shards.
Shown as refresh
elasticsearch.primaries.refresh.external.total.time
(gauge)
The total time spent on external index refreshes on the primary shards.
Shown as second
elasticsearch.primaries.refresh.total
(gauge)
The total number of index refreshes on the primary shards.
Shown as refresh
elasticsearch.primaries.refresh.total.time
(gauge)
The total time spent on index refreshes on the primary shards.
Shown as second
elasticsearch.primaries.search.fetch.current
(gauge)
The number of query fetches currently running on the primary shards.
Shown as fetch
elasticsearch.primaries.search.fetch.time
(gauge)
The total time spent on query fetches on the primary shards.
Shown as second
elasticsearch.primaries.search.fetch.total
(gauge)
The total number of query fetches on the primary shards.
Shown as fetch
elasticsearch.primaries.search.query.current
(gauge)
The number of currently active queries on the primary shards.
Shown as query
elasticsearch.primaries.search.query.time
(gauge)
The total time spent querying on the primary shards.
Shown as second
elasticsearch.primaries.search.query.total
(gauge)
The total number of queries to the primary shards.
Shown as query
elasticsearch.primaries.store.size
(gauge)
The total size of all the primary shards.
Shown as byte
elasticsearch.process.cpu.percent
(gauge)
CPU usage in percent or -1 if not known at the time the stats are computed [v5+]
Shown as percent
elasticsearch.process.open_fd
(gauge)
The number of opened file descriptors associated with the current process, or -1 if not supported.
Shown as file
elasticsearch.refresh.external.total
(gauge)
The total number of external index refreshes [v7.2+].
Shown as refresh
elasticsearch.refresh.external.total.time
(gauge)
The total time spent on external index refreshes [v7.2+].
Shown as second
elasticsearch.refresh.total
(gauge)
The total number of index refreshes.
Shown as refresh
elasticsearch.refresh.total.count
(count)
The total number of index refreshes submitted as a count.
Shown as refresh
elasticsearch.refresh.total.time
(gauge)
The total time spent on index refreshes.
Shown as second
elasticsearch.refresh.total.time.count
(count)
The total time spent on index refreshes submitted as a count.
Shown as second
elasticsearch.relocating_shards
(gauge)
The number of shards that are relocating from one node to another.
Shown as shard
elasticsearch.search.fetch.current
(gauge)
The number of search fetches currently running.
Shown as fetch
elasticsearch.search.fetch.open_contexts
(gauge)
The number of active searches [v0.90.5+].
Shown as query
elasticsearch.search.fetch.time
(gauge)
The total time spent on the search fetch.
Shown as second
elasticsearch.search.fetch.time.count
(count)
The total time spent on the search fetch submitted as a count.
Shown as second
elasticsearch.search.fetch.total
(gauge)
The total number of search fetches.
Shown as fetch
elasticsearch.search.fetch.total.count
(count)
The total number of search fetches submitted as a count.
Shown as fetch
elasticsearch.search.query.current
(gauge)
The number of currently active queries.
Shown as query
elasticsearch.search.query.time
(gauge)
The total time spent on queries.
Shown as second
elasticsearch.search.query.time.count
(count)
The total time spent on queries submitted as a count.
Shown as second
elasticsearch.search.query.total
(gauge)
The total number of queries.
Shown as query
elasticsearch.search.query.total.count
(count)
The total number of queries submitted as a count.
Shown as query
elasticsearch.search.scroll.current
(gauge)
The number of currently active scroll queries [v5+].
Shown as query
elasticsearch.search.scroll.time
(gauge)
The total time spent on scroll queries [v5+].
Shown as second
elasticsearch.search.scroll.time.count
(count)
The total time spent on scroll queries submitted as a count [v5+].
Shown as second
elasticsearch.search.scroll.total
(gauge)
The total number of scroll queries [v5+].
Shown as query
elasticsearch.search.scroll.total.count
(count)
The total number of scroll queries submitted as a count [v5+].
Shown as query
elasticsearch.shards
(gauge)
Number of primary and replica shards assigned to the node.
Shown as shard
elasticsearch.slm.snapshot_deletion_failures
(gauge)
The total number of snapshot deletion failures.
Shown as error
elasticsearch.slm.snapshots_deleted
(gauge)
The total number of deleted snapshots.
elasticsearch.slm.snapshots_failed
(gauge)
The total number of failed snapshots.
Shown as error
elasticsearch.slm.snapshots_taken
(gauge)
The total number of snaphots.
elasticsearch.store.size
(gauge)
The total size in bytes of the store.
Shown as byte
elasticsearch.templates.count
(gauge)
The total number of templates in the cluster.
Shown as document
elasticsearch.thread_pool.bulk.active
(gauge)
The number of active threads in the bulk pool [v<6.3].
Shown as thread
elasticsearch.thread_pool.bulk.completed
(gauge)
The number of completed threads in the bulk pool [v<6.3].
Shown as thread
elasticsearch.thread_pool.bulk.completed.count
(count)
The number of completed threads in the bulk pool submitted as a count [v<6.3].
Shown as thread
elasticsearch.thread_pool.bulk.queue
(gauge)
The number of queued threads in the bulk pool [v<6.3].
Shown as thread
elasticsearch.thread_pool.bulk.rejected
(gauge)
The number of rejected threads in the bulk pool [v<6.3].
Shown as thread
elasticsearch.thread_pool.bulk.rejected.count
(count)
The number of rejected threads in the bulk pool submitted as a count [v<6.3].
Shown as thread
elasticsearch.thread_pool.bulk.threads
(gauge)
The total number of threads in the bulk pool [v<6.3].
Shown as thread
elasticsearch.thread_pool.bulk.threads.count
(count)
The total number of threads in the bulk pool submitted as a count [v<6.3].
Shown as thread
elasticsearch.thread_pool.fetch_shard_started.active
(gauge)
The number of active threads in the fetch shard started pool [v1.6.0+].
Shown as thread
elasticsearch.thread_pool.fetch_shard_started.queue
(gauge)
The number of queued threads in the fetch shard started pool [v1.6.0+].
Shown as thread
elasticsearch.thread_pool.fetch_shard_started.rejected
(gauge)
The number of rejected threads in the fetch shard started pool [v1.6.0+].
Shown as thread
elasticsearch.thread_pool.fetch_shard_started.threads
(gauge)
The total number of threads in the fetch shard started pool [v1.6.0+].
Shown as thread
elasticsearch.thread_pool.fetch_shard_store.active
(gauge)
The number of active threads in the fetch shard store pool [v1.6.0+].
Shown as thread
elasticsearch.thread_pool.fetch_shard_store.queue
(gauge)
The number of queued threads in the fetch shard store pool [v1.6.0+].
Shown as thread
elasticsearch.thread_pool.fetch_shard_store.rejected
(gauge)
The number of rejected threads in the fetch shard store pool [v1.6.0+].
Shown as thread
elasticsearch.thread_pool.fetch_shard_store.threads
(gauge)
The total number of threads in the fetch shard store pool [v1.6.0+].
Shown as thread
elasticsearch.thread_pool.flush.active
(gauge)
The number of active threads in the flush queue.
Shown as thread
elasticsearch.thread_pool.flush.completed
(gauge)
The number of completed threads in the flush pool.
Shown as thread
elasticsearch.thread_pool.flush.completed.count
(count)
The number of completed threads in the flush pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.flush.queue
(gauge)
The number of queued threads in the flush pool.
Shown as thread
elasticsearch.thread_pool.flush.rejected
(gauge)
The number of rejected threads in the flush pool.
Shown as thread
elasticsearch.thread_pool.flush.rejected.count
(count)
The number of rejected threads in the flush pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.flush.threads
(gauge)
The total number of threads in the flush pool.
Shown as thread
elasticsearch.thread_pool.flush.threads.count
(count)
The total number of threads in the flush pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.force_merge.active
(gauge)
The number of active threads for force merge operations [v2.1+].
Shown as thread
elasticsearch.thread_pool.force_merge.queue
(gauge)
The number of queued threads for force merge operations [v2.1+].
Shown as thread
elasticsearch.thread_pool.force_merge.rejected
(gauge)
The number of rejected threads for force merge operations [v2.1+].
Shown as thread
elasticsearch.thread_pool.force_merge.rejected.count
(count)
The number of rejected threads for force merge operations submitted as a count [v2.1+].
Shown as thread
elasticsearch.thread_pool.force_merge.threads
(gauge)
The total number of threads for force merge operations [v2.1+].
Shown as thread
elasticsearch.thread_pool.generic.active
(gauge)
The number of active threads in the generic pool.
Shown as thread
elasticsearch.thread_pool.generic.completed
(gauge)
The number of completed threads in the generic pool.
Shown as thread
elasticsearch.thread_pool.generic.completed.count
(count)
The number of completed threads in the generic pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.generic.queue
(gauge)
The number of queued threads in the generic pool.
Shown as thread
elasticsearch.thread_pool.generic.rejected
(gauge)
The number of rejected threads in the generic pool.
Shown as thread
elasticsearch.thread_pool.generic.rejected.count
(count)
The number of rejected threads in the generic pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.generic.threads
(gauge)
The total number of threads in the generic pool.
Shown as thread
elasticsearch.thread_pool.generic.threads.count
(count)
The total number of threads in the generic pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.get.active
(gauge)
The number of active threads in the get pool.
Shown as thread
elasticsearch.thread_pool.get.completed
(gauge)
The number of completed threads in the get pool.
Shown as thread
elasticsearch.thread_pool.get.completed.count
(count)
The number of completed threads in the get pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.get.queue
(gauge)
The number of queued threads in the get pool.
Shown as thread
elasticsearch.thread_pool.get.rejected
(gauge)
The number of rejected threads in the get pool.
Shown as thread
elasticsearch.thread_pool.get.rejected.count
(count)
The number of rejected threads in the get pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.get.threads
(gauge)
The total number of threads in the get pool.
Shown as thread
elasticsearch.thread_pool.get.threads.count
(count)
The total number of threads in the get pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.index.active
(gauge)
The number of active threads in the index pool [v<7.0].
Shown as thread
elasticsearch.thread_pool.index.completed
(gauge)
The number of completed threads in the index pool [v<7.0].
Shown as thread
elasticsearch.thread_pool.index.completed.count
(count)
The number of completed threads in the index pool submitted as a count [v<7.0].
Shown as thread
elasticsearch.thread_pool.index.queue
(gauge)
The number of queued threads in the index pool [v<7.0].
Shown as thread
elasticsearch.thread_pool.index.rejected
(gauge)
The number of rejected threads in the index pool [v<7.0].
Shown as thread
elasticsearch.thread_pool.index.rejected.count
(count)
The number of rejected threads in the index pool submitted as a count [v<7.0].
Shown as thread
elasticsearch.thread_pool.index.threads
(gauge)
The total number of threads in the index pool [v<7.0].
Shown as thread
elasticsearch.thread_pool.index.threads.count
(count)
The total number of threads in the index pool submitted as a count [v<7.0].
Shown as thread
elasticsearch.thread_pool.listener.active
(gauge)
The number of active threads in the listener pool [v1.4.0+].
Shown as thread
elasticsearch.thread_pool.listener.completed
(gauge)
The number of completed threads in the listener pool.
Shown as thread
elasticsearch.thread_pool.listener.completed.count
(count)
The number of completed threads in the listener pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.listener.queue
(gauge)
The number of queued threads in the listener pool [v1.4.0+].
Shown as thread
elasticsearch.thread_pool.listener.rejected
(gauge)
The number of rejected threads in the listener pool [v1.4.0+].
Shown as thread
elasticsearch.thread_pool.listener.rejected.count
(count)
The number of rejected threads in the listener pool submitted as a count [v1.4.0+].
Shown as thread
elasticsearch.thread_pool.listener.threads
(gauge)
The total number of threads in the listener pool [v1.4.0+].
Shown as thread
elasticsearch.thread_pool.listener.threads.count
(count)
The total number of threads in the listener pool submitted as a count [v1.4.0+].
Shown as thread
elasticsearch.thread_pool.management.active
(gauge)
The number of active threads in the management pool.
Shown as thread
elasticsearch.thread_pool.management.completed
(gauge)
The number of completed threads in the management pool.
Shown as thread
elasticsearch.thread_pool.management.completed.count
(count)
The number of completed threads in the management pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.management.queue
(gauge)
The number of queued threads in the management pool.
Shown as thread
elasticsearch.thread_pool.management.rejected
(gauge)
The number of rejected threads in the management pool.
Shown as thread
elasticsearch.thread_pool.management.rejected.count
(count)
The number of rejected threads in the management pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.management.threads
(gauge)
The total number of threads in the management pool.
Shown as thread
elasticsearch.thread_pool.management.threads.count
(count)
The total number of threads in the management pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.merge.active
(gauge)
The number of active threads in the merge pool [v<2.0].
Shown as thread
elasticsearch.thread_pool.merge.queue
(gauge)
The number of queued threads in the merge pool [v<2.0].
Shown as thread
elasticsearch.thread_pool.merge.rejected
(gauge)
The number of rejected threads in the merge pool [v<2.0].
Shown as thread
elasticsearch.thread_pool.merge.threads
(gauge)
The total number of threads in the merge pool [v<2.0].
Shown as thread
elasticsearch.thread_pool.percolate.active
(gauge)
The number of active threads in the percolate pool [v<5.0].
Shown as thread
elasticsearch.thread_pool.percolate.queue
(gauge)
The number of queued threads in the percolate pool [v<5.0].
Shown as thread
elasticsearch.thread_pool.percolate.rejected
(gauge)
The number of rejected threads in the percolate pool [v<5.0].
Shown as thread
elasticsearch.thread_pool.percolate.rejected.count
(count)
The number of rejected threads in the percolate pool submitted as a count [v<5.0].
Shown as thread
elasticsearch.thread_pool.percolate.threads
(gauge)
The total number of threads in the percolate pool [v<5.0].
Shown as thread
elasticsearch.thread_pool.refresh.active
(gauge)
The number of active threads in the refresh pool.
Shown as thread
elasticsearch.thread_pool.refresh.completed
(gauge)
The number of completed threads in the refresh pool.
Shown as thread
elasticsearch.thread_pool.refresh.completed.count
(count)
The number of completed threads in the refresh pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.refresh.queue
(gauge)
The number of queued threads in the refresh pool.
Shown as thread
elasticsearch.thread_pool.refresh.rejected
(gauge)
The number of rejected threads in the refresh pool.
Shown as thread
elasticsearch.thread_pool.refresh.rejected.count
(count)
The number of rejected threads in the refresh pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.refresh.threads
(gauge)
The total number of threads in the refresh pool.
Shown as thread
elasticsearch.thread_pool.refresh.threads.count
(count)
The total number of threads in the refresh pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.search.active
(gauge)
The number of active threads in the search pool.
Shown as thread
elasticsearch.thread_pool.search.completed
(gauge)
The number of completed threads in the search pool.
Shown as thread
elasticsearch.thread_pool.search.completed.count
(count)
The number of completed threads in the search pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.search.queue
(gauge)
The number of queued threads in the search pool.
Shown as thread
elasticsearch.thread_pool.search.rejected
(gauge)
The number of rejected threads in the search pool.
Shown as thread
elasticsearch.thread_pool.search.rejected.count
(count)
The number of rejected threads in the search pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.search.threads
(gauge)
The total number of threads in the search pool.
Shown as thread
elasticsearch.thread_pool.search.threads.count
(count)
The total number of threads in the search pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.snapshot.active
(gauge)
The number of active threads in the snapshot pool.
Shown as thread
elasticsearch.thread_pool.snapshot.completed
(gauge)
The number of completed threads in the snapshot pool.
Shown as thread
elasticsearch.thread_pool.snapshot.completed.count
(count)
The number of completed threads in the snapshot pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.snapshot.queue
(gauge)
The number of queued threads in the snapshot pool.
Shown as thread
elasticsearch.thread_pool.snapshot.rejected
(gauge)
The number of rejected threads in the snapshot pool.
Shown as thread
elasticsearch.thread_pool.snapshot.rejected.count
(count)
The number of rejected threads in the snapshot pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.snapshot.threads
(gauge)
The total number of threads in the snapshot pool.
Shown as thread
elasticsearch.thread_pool.snapshot.threads.count
(count)
The total number of threads in the snapshot pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.suggest.active
(gauge)
The number of active threads in the suggest pool [v<5.0].
Shown as thread
elasticsearch.thread_pool.suggest.queue
(gauge)
The number of queued threads in the suggest pool [v<5.0].
Shown as thread
elasticsearch.thread_pool.suggest.rejected
(gauge)
The number of rejected threads in the suggest pool [v<5.0].
Shown as thread
elasticsearch.thread_pool.suggest.rejected.count
(count)
The number of rejected threads in the suggest pool submitted as a count [v<5.0].
Shown as thread
elasticsearch.thread_pool.suggest.threads
(gauge)
The number of threads in the suggest pool [v<5.0].
Shown as thread
elasticsearch.thread_pool.warmer.active
(gauge)
The number of active threads in the warmer pool.
Shown as thread
elasticsearch.thread_pool.warmer.completed
(gauge)
The number of completed threads in the warmer pool.
Shown as thread
elasticsearch.thread_pool.warmer.queue
(gauge)
The number of queued threads in the warmer pool.
Shown as thread
elasticsearch.thread_pool.warmer.rejected
(gauge)
The number of rejected threads in the warmer pool.
Shown as thread
elasticsearch.thread_pool.warmer.rejected.count
(count)
The number of rejected threads in the warmer pool submitted as a count.
Shown as thread
elasticsearch.thread_pool.warmer.threads
(gauge)
The total number of threads in the warmer pool.
Shown as thread
elasticsearch.thread_pool.write.active
(gauge)
The number of active threads in the write pool [v6.3+].
Shown as thread
elasticsearch.thread_pool.write.completed
(gauge)
The number of completed threads in the write pool [v6.3+].
Shown as thread
elasticsearch.thread_pool.write.completed.count
(count)
The number of completed threads in the write pool submitted as a count [v6.3+].
Shown as thread
elasticsearch.thread_pool.write.queue
(gauge)
The number of queued threads in the write pool [v6.3+].
Shown as thread
elasticsearch.thread_pool.write.rejected
(gauge)
The number of rejected threads in the write pool [v6.3+].
Shown as thread
elasticsearch.thread_pool.write.rejected.count
(count)
The number of rejected threads in the write pool submitted as a count [v6.3+].
Shown as thread
elasticsearch.thread_pool.write.threads
(gauge)
The total number of threads in the write pool [v6.3+].
Shown as thread
elasticsearch.thread_pool.write.threads.count
(count)
The total number of threads in the write pool submitted as a count [v6.3+].
Shown as thread
elasticsearch.transport.rx_count
(gauge)
The total number of packets received in cluster communication.
Shown as packet
elasticsearch.transport.rx_count.count
(count)
The total number of packets received in cluster communication submitted as a count.
Shown as packet
elasticsearch.transport.rx_size
(gauge)
The total size of data received in cluster communication.
Shown as byte
elasticsearch.transport.rx_size.count
(count)
The total size of data received in cluster communication submitted as a count.
Shown as byte
elasticsearch.transport.server_open
(gauge)
The number of connections opened for cluster communication.
Shown as connection
elasticsearch.transport.tx_count
(gauge)
The total number of packets sent in cluster communication.
Shown as packet
elasticsearch.transport.tx_count.count
(count)
The total number of packets sent in cluster communication submitted as a count.
Shown as packet
elasticsearch.transport.tx_size
(gauge)
The total size of data sent in cluster communication.
Shown as byte
elasticsearch.transport.tx_size.count
(count)
The total size of data sent in cluster communication submitted as a count.
Shown as byte
elasticsearch.unassigned_shards
(gauge)
The number of shards that are unassigned to a node.
Shown as shard
jvm.gc.collection_count
(gauge)
The total number of garbage collections run by the JVM [v<0.9.10].
Shown as garbage collection
jvm.gc.collection_time
(gauge)
The total time spent on garbage collection in the JVM [v<0.9.10].
Shown as second
jvm.gc.collectors.old.collection_time
(gauge)
The total time spent in major GCs in the JVM that collect old generation objects.
Shown as second
jvm.gc.collectors.old.collection_time.rate
(gauge)
The total time (per second) spent in major GCs in the JVM that collect old generation objects.
Shown as second
jvm.gc.collectors.old.count
(gauge)
The total count of major GCs in the JVM that collect old generation objects.
Shown as garbage collection
jvm.gc.collectors.old.rate
(gauge)
The total count (per second) of major GCs in the JVM that collect old generation objects.
Shown as garbage collection
jvm.gc.collectors.young.collection_time
(gauge)
The total time spent in minor GCs in the JVM that collects young generation objects [v0.9.10+].
Shown as second
jvm.gc.collectors.young.collection_time.rate
(gauge)
The total time (per second) spent in minor GCs in the JVM that collects young generation objects [v0.9.10+].
Shown as second
jvm.gc.collectors.young.count
(gauge)
The total count of minor GCs in the JVM that collects young generation objects [v0.9.10+].
Shown as garbage collection
jvm.gc.collectors.young.rate
(gauge)
The total count (per second) of minor GCs in the JVM that collects young generation objects [v0.9.10+].
Shown as garbage collection
jvm.gc.concurrent_mark_sweep.collection_time
(gauge)
The total time spent on "concurrent mark & sweep" GCs in the JVM [v<0.9.10].
Shown as second
jvm.gc.concurrent_mark_sweep.count
(gauge)
The total count of "concurrent mark & sweep" GCs in the JVM [v<0.9.10].
Shown as garbage collection
jvm.gc.par_new.collection_time
(gauge)
The total time spent on "parallel new" GCs in the JVM [v<0.9.10].
Shown as second
jvm.gc.par_new.count
(gauge)
The total count of "parallel new" GCs in the JVM [v<0.9.10].
Shown as garbage collection
jvm.mem.heap_committed
(gauge)
The amount of memory guaranteed to be available to the JVM heap.
Shown as byte
jvm.mem.heap_in_use
(gauge)
The percentage of memory currently used by the JVM heap as a value between 0 and 100.
Shown as percent
jvm.mem.heap_max
(gauge)
The maximum amount of memory that can be used by the JVM heap.
Shown as byte
jvm.mem.heap_used
(gauge)
The amount of memory in bytes currently used by the JVM heap.
Shown as byte
jvm.mem.non_heap_committed
(gauge)
The amount of memory guaranteed to be available to JVM non-heap.
Shown as byte
jvm.mem.non_heap_used
(gauge)
The amount of memory in bytes currently used by the JVM non-heap.
Shown as byte
jvm.mem.pools.old.max
(gauge)
The maximum amount of memory that can be used by the Old Generation heap region.
Shown as byte
jvm.mem.pools.old.used
(gauge)
The amount of memory in bytes currently used by the Old Generation heap region.
Shown as byte
jvm.mem.pools.survivor.max
(gauge)
The maximum amount of memory that can be used by the Survivor Space.
Shown as byte
jvm.mem.pools.survivor.used
(gauge)
The amount of memory in bytes currently used by the Survivor Space.
Shown as byte
jvm.mem.pools.young.max
(gauge)
The maximum amount of memory that can be used by the Young Generation heap region.
Shown as byte
jvm.mem.pools.young.used
(gauge)
The amount of memory in bytes currently used by the Young Generation heap region.
Shown as byte
jvm.threads.count
(gauge)
The number of active threads in the JVM.
Shown as thread
jvm.threads.peak_count
(gauge)
The peak number of threads used by the JVM.
Shown as thread

이벤트

Elasticsearch 검사는 Elasticsearch 클러스터의 전체 상태가 빨간색, 노란색 또는 녹색으로 변경될 때마다 Datadog에 이벤트를 내보냅니다.

서비스 점검

elasticsearch.cluster_health
Returns the status from the Elasticsearch Cluster Health API. Additional information about shard status at the time of collection is included in the check message.
Statuses: ok, warning, critical

elasticsearch.can_connect
Returns CRITICAL if the Agent is unable to connect to the monitored Elasticsearch instance. Returns OK otherwise.
Statuses: ok, critical

트러블슈팅

참고 자료

PREVIEWING: Cyril-Bouchiat/add-vm-package-explorer-doc