- key: common
  title: Common
  description: >
    Contains common fields available in all event types.
  fields:

    - name: metricset.module
      description: >
        The name of the module that generated the event.

    - name: metricset.name
      description: >
        The name of the metricset that generated the event.

    - name: metricset.host
      description: >
        Hostname of the machine from which the metricset was collected. This
        field may not be present when the data was collected locally.

    - name: metricset.rtt
      type: long
      required: true
      description: >
        Event round trip time in microseconds.

    - name: metricset.namespace
      type: keyword
      description: >
        Namespace of dynamic metricsets.

    - name: type
      required: true
      example: metricsets
      description: >
        The document type. Always set to "doc".

    - name: service.name
      example: elasticsearch
      description: >
        Name of the service metricbeat fetches the data from.

- key: beat
  title: Beat
  description: >
    Contains common beat fields available in all event types.
  fields:

    - name: beat.name
      description: >
        The name of the Beat sending the log messages. If the Beat name is
        set in the configuration file, then that value is used. If it is not
        set, the hostname is used. To set the Beat name, use the `name`
        option in the configuration file.
    - name: beat.hostname
      description: >
        The hostname as returned by the operating system on which the Beat is
        running.
    - name: beat.timezone
      description: >
        The timezone as returned by the operating system on which the Beat is
        running.
    - name: beat.version
      description: >
        The version of the beat that generated this event.

    - name: "@timestamp"
      type: date
      required: true
      format: date
      example: August 26th 2016, 12:35:53.332
      description: >
        The timestamp when the event log record was generated.

    - name: tags
      description: >
        Arbitrary tags that can be set per Beat and per transaction
        type.

    - name: fields
      type: object
      object_type: keyword
      description: >
        Contains user configurable fields.

    - name: error
      type: group
      description: >
        Error fields containing additional info in case of errors.
      fields:
        - name: message
          type: text
          description: >
            Error message.
        - name: code
          type: long
          description: >
            Error code.
        - name: type
          type: keyword
          description: >
            Error type.
- key: cloud
  title: Cloud provider metadata
  description: >
    Metadata from cloud providers added by the add_cloud_metadata processor.
  fields:

    - name: meta.cloud.provider
      example: ec2
      description: >
        Name of the cloud provider. Possible values are ec2, gce, or digitalocean.

    - name: meta.cloud.instance_id
      description: >
        Instance ID of the host machine.

    - name: meta.cloud.instance_name
      description: >
        Instance name of the host machine.

    - name: meta.cloud.machine_type
      example: t2.medium
      description: >
        Machine type of the host machine.

    - name: meta.cloud.availability_zone
      example: us-east-1c
      description: >
        Availability zone in which this host is running.

    - name: meta.cloud.project_id
      example: project-x
      description: >
        Name of the project in Google Cloud.

    - name: meta.cloud.region
      description: >
        Region in which this host is running.
- key: docker
  title: Docker
  description: >
    Docker stats collected from Docker.
  short_config: false
  anchor: docker-processor
  fields:
    - name: docker
      type: group
      fields:
        - name: container.id
          type: keyword
          description: >
            Unique container id.
        - name: container.image
          type: keyword
          description: >
            Name of the image the container was built on.
        - name: container.name
          type: keyword
          description: >
            Container name.
        - name: container.labels
          type: object
          object_type: keyword
          description: >
            Image labels.
- key: host
  title: Host
  description: >
    Info collected for the host machine.
  anchor: host-processor
  fields:
    - name: host
      type: group
      fields:
        - name: name
          type: keyword
          description: >
            Hostname.
        - name: id
          type: keyword
          description: >
            Unique host id.
        - name: architecture
          type: keyword
          description: >
            Host architecture (e.g. x86_64, arm, ppc, mips).
        - name: os.platform
          type: keyword
          description: >
            OS platform (e.g. centos, ubuntu, windows).
        - name: os.version
          type: keyword
          description: >
            OS version.
        - name: os.family
          type: keyword
          description: >
            OS family (e.g. redhat, debian, freebsd, windows).
        - name: ip
          type: ip
          description: >
            List of IP-addresses.
        - name: mac
          type: keyword
          description: >
            List of hardware-addresses, usually MAC-addresses.

- key: kubernetes
  title: Kubernetes
  description: >
    Kubernetes metadata added by the kubernetes processor
  short_config: false
  anchor: kubernetes-processor
  fields:
    - name: kubernetes
      type: group
      fields:
        - name: pod.name
          type: keyword
          description: >
            Kubernetes pod name

        - name: pod.uid
          type: keyword
          description: >
            Kubernetes Pod UID

        - name: namespace
          type: keyword
          description: >
            Kubernetes namespace

        - name: node.name
          type: keyword
          description: >
            Kubernetes node name

        - name: labels
          type: object
          description: >
            Kubernetes labels map

        - name: annotations
          type: object
          description: >
            Kubernetes annotations map

        - name: container.name
          type: keyword
          description: >
            Kubernetes container name

        - name: container.image
          type: keyword
          description: >
            Kubernetes container image
- key: aerospike
  title: "Aerospike"
  description: >
    Aerospike module
  release: beta
  fields:
    - name: aerospike
      type: group
      description: >
      fields:
        - name: namespace
          type: group
          description: >
            namespace
          release: beta
          fields:
            - name: client
              type: group
              description: >
                Client stats.
              fields:
                - name: delete
                  type: group
                  description: >
                    Client delete transactions stats.
                  fields:
                    - name: error
                      type: long
                      description: >
                        Number of client delete transactions that failed with an error.
                    - name: not_found
                      type: long
                      description: >
                        Number of client delete transactions that resulted in a not found.
                    - name: success
                      type: long
                      description: >
                        Number of successful client delete transactions.
                    - name: timeout
                      type: long
                      description: >
                        Number of client delete transactions that timed out.
                - name: read
                  type: group
                  description: >
                    Client read transactions stats.
                  fields:
                    - name: error
                      type: long
                      description: >
                        Number of client read transaction errors.
                    - name: not_found
                      type: long
                      description: >
                        Number of client read transaction that resulted in not found.
                    - name: success
                      type: long
                      description: >
                        Number of successful client read transactions.
                    - name: timeout
                      type: long
                      description: >
                        Number of client read transaction that timed out.
                - name: write
                  type: group
                  description: >
                    Client write transactions stats.
                  fields:
                    - name: error
                      type: long
                      description: >
                        Number of client write transactions that failed with an error.
                    - name: success
                      type: long
                      description: >
                        Number of successful client write transactions.
                    - name: timeout
                      type: long
                      description: >
                        Number of client write transactions that timed out.
            - name: device
              type: group
              description: >
                Disk storage stats
              fields:
                - name: available.pct
                  type: scaled_float
                  format: percent
                  description: >
                    Measures the minimum contiguous disk space across all disks in a namespace.
                - name: free.pct
                  type: scaled_float
                  format: percent
                  description: >
                    Percentage of disk capacity free for this namespace.
                - name: total.bytes
                  type: long
                  format: bytes
                  description: >
                    Total bytes of disk space allocated to this namespace on this node.
                - name: used.bytes
                  type: long
                  format: bytes
                  description: >
                    Total bytes of disk space used by this namespace on this node.
            - name: hwm_breached
              type: boolean
              description: >
                If true, Aerospike has breached 'high-water-[disk|memory]-pct' for this namespace.
            - name: memory
              type: group
              description: >
                Memory storage stats.
              fields:
                - name: free.pct
                  type: scaled_float
                  format: percent
                  description: >
                    Percentage of memory capacity free for this namespace on this node.
                - name: used.data.bytes
                  type: long
                  format: bytes
                  description: >
                    Amount of memory occupied by data for this namespace on this node.
                - name: used.index.bytes
                  type: long
                  format: bytes
                  description: >
                    Amount of memory occupied by the index for this namespace on this node.
                - name: used.sindex.bytes
                  type: long
                  format: bytes
                  description: >
                    Amount of memory occupied by secondary indexes for this namespace on this node.
                - name: used.total.bytes
                  type: long
                  format: bytes
                  description: >
                    Total bytes of memory used by this namespace on this node.
            - name: name
              type: keyword
              description: >
                Namespace name
            - name: node.host
              type: keyword
              description: >
                Node host
            - name: node.name
              type: keyword
              description: >
                Node name
            - name: objects
              type: group
              description: >
                Records stats.
              fields:
                - name: master
                  type: long
                  description: >
                    Number of records on this node which are active masters.
                - name: total
                  type: long
                  description: >
                    Number of records in this namespace for this node.
            - name: stop_writes
              type: boolean
              description: >
                If true this namespace is currently not allowing writes.
- key: apache
  title: "Apache"
  description: >
    Apache HTTPD server metricsets collected from the Apache web server.
  short_config: false
  release: ga
  settings: ["ssl", "http"]
  fields:
    - name: apache
      type: group
      description: >
        `apache` contains the metrics that were scraped from Apache.
      fields:
        - name: status
          type: group
          release: ga
          description: >
            `status` contains the metrics that were scraped from the Apache status page.
          fields:
            - name: hostname
              type: keyword
              description: >
                Apache hostname.
            - name: total_accesses
              type: long
              description: >
                Total number of access requests.
            - name: total_kbytes
              type: long
              description: >
                Total number of kilobytes served.
            - name: requests_per_sec
              type: scaled_float
              description: >
                Requests per second.
            - name: bytes_per_sec
              type: scaled_float
              description: >
                Bytes per second.
            - name: bytes_per_request
              type: scaled_float
              description: >
                Bytes per request.
            - name: workers.busy
              type: long
              description: >
                Number of busy workers.
            - name: workers.idle
              type: long
              description: >
                Number of idle workers.
            - name: uptime
              type: group
              description: >
                Uptime stats.
              fields:
                - name: server_uptime
                  type: long
                  description: >
                    Server uptime in seconds.
                - name: uptime
                  type: long
                  description: >
                    Server uptime.
            - name: cpu
              type: group
              description: >
                CPU stats.
              fields:
                - name: load
                  type: scaled_float
                  description: >
                    CPU Load.
                - name: user
                  type: scaled_float
                  description: >
                    CPU user load.
                - name: system
                  type: scaled_float
                  description: >
                    System cpu.
                - name: children_user
                  type: scaled_float
                  description: >
                    CPU of children user.
                - name: children_system
                  type: scaled_float
                  description: >
                    CPU of children system.
            - name: connections
              type: group
              description: >
                Connection stats.
              fields:
                - name: total
                  type: long
                  description: >
                    Total connections.
                - name: async.writing
                  type: long
                  description: >
                    Async connection writing.
                - name: async.keep_alive
                  type: long
                  description: >
                    Async keeped alive connections.
                - name: async.closing
                  type: long
                  description: >
                    Async closed connections.
            - name: load
              type: group
              description: >
                Load averages.
              fields:
                - name: "1"
                  type: scaled_float
                  scaling_factor: 100
                  description: >
                    Load average for the last minute.
                - name: "5"
                  type: scaled_float
                  scaling_factor: 100
                  description: >
                    Load average for the last 5 minutes.
                - name: "15"
                  type: scaled_float
                  scaling_factor: 100
                  description: >
                    Load average for the last 15 minutes.
            - name: scoreboard
              type: group
              description: >
                Scoreboard metrics.
              fields:
                - name: starting_up
                  type: long
                  description: >
                    Starting up.
                - name: reading_request
                  type: long
                  description: >
                    Reading requests.
                - name: sending_reply
                  type: long
                  description: >
                    Sending Reply.
                - name: keepalive
                  type: long
                  description: >
                    Keep alive.
                - name: dns_lookup
                  type: long
                  description: >
                    Dns Lookups.
                - name: closing_connection
                  type: long
                  description: >
                    Closing connections.
                - name: logging
                  type: long
                  description: >
                    Logging
                - name: gracefully_finishing
                  type: long
                  description: >
                    Gracefully finishing.
                - name: idle_cleanup
                  type: long
                  description: >
                    Idle cleanups.
                - name: open_slot
                  type: long
                  description: >
                    Open slots.
                - name: waiting_for_connection
                  type: long
                  description: >
                    Waiting for connections.
                - name: total
                  type: long
                  description: >
                    Total.
- key: ceph
  title: "Ceph"
  description: >
    Ceph module
  short_config: false
  release: beta
  settings: ["ssl", "http"]
  fields:
    - name: ceph
      type: group
      description: >
        `ceph` contains the metrics that were scraped from CEPH.
      fields:
        - name: cluster_disk
          type: group
          description: >
            cluster_disk
          release: beta
          fields:
            - name: available.bytes
              type: long
              description: >
                Available bytes of the cluster
              format: bytes
            - name: total.bytes
              type: long
              description: >
                Total bytes of the cluster
              format: bytes
            - name: used.bytes
              type: long
              description: >
                Used bytes of the cluster
              format: bytes
        - name: cluster_health
          type: group
          description: >
            cluster_health
          release: beta
          fields:
            - name: overall_status
              type: keyword
              description: >
                Overall status of the cluster
            - name: timechecks.epoch
              type: long
              description: >
                Map version
            - name: timechecks.round.value
              type: long
              description: >
                timecheck round
            - name: timechecks.round.status
              type: keyword
              description: >
                Status of the round
        - name: cluster_status
          type: group
          release: beta
          description: >
            cluster_status
          fields:
            - name: version
              type: long
              description: >
                Ceph Status version
            - name: traffic.read_bytes
              type: long
              format: bytes
              description: >
                Cluster read throughput per second
            - name: traffic.write_bytes
              type: long
              format: bytes
              description: >
                Cluster write throughput per second
            - name: traffic.read_op_per_sec
              type: long
              description: >
                Cluster read iops per second
            - name: traffic.write_op_per_sec
              type: long
              description: >
                Cluster write iops per second
            - name: misplace.total
              type: long
              description: >
                Cluster misplace pg number
            - name: misplace.objects
              type: long
              description: >
                Cluster misplace objects number
            - name: misplace.ratio
              type: scaled_float
              format: percent
              description: >
                Cluster misplace ratio
            - name: degraded.total
              type: long
              description: >
                Cluster degraded pg number
            - name: degraded.objects
              type: long
              description: >
                Cluster degraded objects number
            - name: degraded.ratio
              type: scaled_float
              format: percent
              description: >
                Cluster degraded ratio
            - name: pg.data_bytes
              type: long
              format: bytes
              description: >
                Cluster pg data bytes
            - name: pg.avail_bytes
              type: long
              format: bytes
              description: >
                Cluster available bytes
            - name: pg.total_bytes
              type: long
              format: bytes
              description: >
                Cluster total bytes
            - name: pg.used_bytes
              type: long
              format: bytes
              description: >
                Cluster used bytes
            - name: pg_state.state_name
              type: long
              description: >
                Pg state description
            - name: pg_state.count
              type: long
              description: >
                Shows how many pgs are in state of pg_state.state_name
            - name: pg_state.version
              type: long
              description: >
                Cluster status version
            - name: osd.full
              type: boolean
              description: >
                Is osd full
            - name: osd.nearfull
              type: boolean
              description: >
                Is osd near full
            - name: osd.num_osds
              type: long
              description: >
                Shows how many osds in the cluster
            - name: osd.num_up_osds
              type: long
              description: >
                Shows how many osds are on the state of UP
            - name: osd.num_in_osds
              type: long
              description: >
                Shows how many osds are on the state of IN
            - name: osd.num_remapped_pgs
              type: long
              description: >
                Shows how many osds are on the state of REMAPPED
            - name: osd.epoch
              type: long
              description: >
                epoch number
        - name: monitor_health
          type: group
          release: beta
          description: >
            monitor_health stats data
          fields:
            - name: available.pct
              type: long
              description: >
                Available percent of the MON
            - name: health
              type: keyword
              description: >
                Health of the MON
            - name: available.kb
              type: long
              description: >
                Available KB of the MON
            - name: total.kb
              type: long
              description: >
                Total KB of the MON
            - name: used.kb
              type: long
              description: >
                Used KB of the MON
            - name: last_updated
              type: date
              description: >
                Time when was updated
            - name: name
              type: keyword
              description: >
                Name of the MON
            - name: store_stats.log.bytes
              type: long
              description: >
                Log bytes of MON
              format: bytes
            - name: store_stats.misc.bytes
              type: long
              description: >
                Misc bytes of MON
              format: bytes
            - name: store_stats.sst.bytes
              type: long
              description: >
                SST bytes of MON
              format: bytes
            - name: store_stats.total.bytes
              type: long
              description: >
                Total bytes of MON
              format: bytes
            - name: store_stats.last_updated
              type: long
              description: >
                Last updated
        - name: osd_df
          type: group
          release: experimental
          description: >
            ceph osd disk usage information
          fields:
            - name: id
              type: long
              description: >
                osd node id
            - name: name
              type: text
              description: >
                osd node name
            - name: device_class
              type: keyword
              description: >
                osd node type, illegal type include hdd, ssd etc.
            - name: total.byte
              type: long
              format: bytes
              description: >
                osd disk total volume
            - name: used.byte
              type: long
              format: bytes
              description: >
                osd disk usage volume
            - name: available.bytes
              type: long
              format: bytes
              description: >
                osd disk available volume
            - name: pg_num
              type: long
              description: >
                shows how many pg located on this osd
            - name: used.pct
              type: scaled_float
              format: percent
              description: >
                osd disk usage percentage
        - name: osd_tree
          type: group
          description: >
            ceph osd tree info
          release: beta
          fields:
            - name: id
              type: long
              description: >
                osd or bucket node id
            - name: name
              type: text
              description: >
                osd or bucket node name
            - name: type
              type: keyword
              description: >
                osd or bucket node type, illegal type include osd, host, root etc.
            - name: type_id
              type: long
              description: >
                osd or bucket node typeID
            - name: children
              type: text
              description: >
                bucket children list, separated by comma.
            - name: crush_weight
              type: float
              description: >
                osd node crush weight
            - name: depth
              type: long
              description: >
                node depth
            - name: exists
              type: boolean
              description: >
                is node still exist or not(1-yes, 0-no)
            - name: primary_affinity
              type: float
              description: >
                the weight of reading data from primary osd
            - name: reweight
              type: long
              description: >
                the reweight of osd
            - name: status
              type: keyword
              description: >
                status of osd, it should be up or down
            - name: device_class
              type: keyword
              description: >
                the device class of osd, like hdd, ssd etc.
            - name: father
              type: keyword
              description: >
                the parent node of this osd or bucket node
        - name: pool_disk
          type: group
          description: >
            pool_disk
          release: beta
          fields:
            - name: id
              type: long
              description: >
                Id of the pool
            - name: name
              type: keyword
              description: >
                Name of the pool
            - name: stats.available.bytes
              type: long
              description: >
                Available bytes of the pool
              format: bytes
            - name: stats.objects
              type: long
              description: >
                Number of objects of the pool
            - name: stats.used.bytes
              type: long
              description: >
                Used bytes of the pool
              format: bytes
            - name: stats.used.kb
              type: long
              description: >
                Used kb of the pool
- key: couchbase
  title: "Couchbase"
  description: >
    Metrics collected from Couchbase servers.
  short_config: false
  release: beta
  settings: ["ssl", "http"]
  fields:
    - name: couchbase
      type: group
      description: >
        `couchbase` contains the metrics that were scraped from Couchbase.
      fields:
        - name: bucket
          type: group
          description: >
            Couchbase bucket metrics.
          release: beta
          fields:
            - name: name
              type: keyword
              description: >
                Name of the bucket.
            - name: type
              type: keyword
              description: >
                Type of the bucket.
            - name: data.used.bytes
              format: bytes
              type: long
              description: >
                Size of user data within buckets of the specified state that are resident in RAM.
            - name: disk.fetches
              type: long
              description: >
                Number of disk fetches.
            - name: disk.used.bytes
              format: bytes
              type: long
              description: >
                Amount of disk used (bytes).
            - name: memory.used.bytes
              format: bytes
              type: long
              description: >
                Amount of memory used by the bucket (bytes).
            - name: quota.ram.bytes
              format: bytes
              type: long
              description: >
                Amount of RAM used by the bucket (bytes).
            - name: quota.use.pct
              format: percent
              type: scaled_float
              description: >
                Percentage of RAM used (for active objects) against the configured bucket size (%).
            - name: ops_per_sec
              type: long
              description: >
                Number of operations per second.
            - name: item_count
              type: long
              description: >
                Number of items associated with the bucket.
        - name: cluster
          type: group
          description: >
            Couchbase cluster metrics.
          release: beta
          fields:
            - name: hdd.free.bytes
              format: bytes
              type: long
              description: >
                Free hard drive space in the cluster (bytes).
            - name: hdd.quota.total.bytes
              format: bytes
              type: long
              description: >
                Hard drive quota total for the cluster (bytes).
            - name: hdd.total.bytes
              format: bytes
              type: long
              description: >
                Total hard drive space available to the cluster (bytes).
            - name: hdd.used.value.bytes
              format: bytes
              type: long
              description: >
                Hard drive space used by the cluster (bytes).
            - name: hdd.used.by_data.bytes
              format: bytes
              type: long
              description: >
                Hard drive space used by the data in the cluster (bytes).
            - name: max_bucket_count
              type: long
              description: >
                Max bucket count setting.
            - name: quota.index_memory.mb
              type: long
              description: >
                Memory quota setting for the Index service (Mbyte).
            - name: quota.memory.mb
              type: long
              description: >
                Memory quota setting for the cluster (Mbyte).
            - name: ram.quota.total.value.bytes
              format: bytes
              type: long
              description: >
                RAM quota total for the cluster (bytes).
            - name: ram.quota.total.per_node.bytes
              format: bytes
              type: long
              description: >
                RAM quota used by the current node in the cluster (bytes).
            - name: ram.quota.used.value.bytes
              format: bytes
              type: long
              description: >
                RAM quota used by the cluster (bytes).
            - name: ram.quota.used.per_node.bytes
              format: bytes
              type: long
              description: >
                Ram quota used by the current node in the cluster (bytes)
            - name: ram.total.bytes
              format: bytes
              type: long
              description: >
                Total RAM available to cluster (bytes).
            - name: ram.used.value.bytes
              format: bytes
              type: long
              description: >
                RAM used by the cluster (bytes).
            - name: ram.used.by_data.bytes
              format: bytes
              type: long
              description: >
                RAM used by the data in the cluster (bytes).
        - name: node
          type: group
          description: >
            Couchbase node metrics.
          release: beta
          fields:
            - name: cmd_get
              type: long
              description: >
                Number of get commands
            - name: couch.docs.disk_size.bytes
              format: bytes
              type: long
              description: >
                Amount of disk space used by Couch docs (bytes).
            - name: couch.docs.data_size.bytes
              format: bytes
              type: long
              description: >
                Data size of Couch docs associated with a node (bytes).
            - name: couch.spatial.data_size.bytes
              type: long
              description: >
                Size of object data for spatial views (bytes).
            - name: couch.spatial.disk_size.bytes
              type: long
              description: >
                Amount of disk space used by spatial views (bytes).
            - name: couch.views.disk_size.bytes
              type: long
              description: >
                Amount of disk space used by Couch views (bytes).
            - name: couch.views.data_size.bytes
              type: long
              description: >
                Size of object data for Couch views (bytes).
            - name: cpu_utilization_rate.pct
              type: scaled_float
              description: >
                The CPU utilization rate (%).
            - name: current_items.value
              type: long
              description: >
                Number of current items.
            - name: current_items.total
              type: long
              description: >
                Total number of items associated with the node.
            - name: ep_bg_fetched
              type: long
              description: >
                Number of disk fetches performed since the server was started.
            - name: get_hits
              type: long
              description: >
                Number of get hits.
            - name: hostname
              type: keyword
              description: >
                The hostname of the node.
            - name: mcd_memory.allocated.bytes
              format: bytes
              type: long
              description: >
                Amount of memcached memory allocated (bytes).
            - name: mcd_memory.reserved.bytes
              type: long
              description: >
                Amount of memcached memory reserved (bytes).
            - name: memory.free.bytes
              type: long
              description: >
                Amount of memory free for the node (bytes).
            - name: memory.total.bytes
              type: long
              description: >
                Total memory available to the node (bytes).
            - name: memory.used.bytes
              type: long
              description: >
                Memory used by the node (bytes).
            - name: ops
              type: long
              description: >
                Number of operations performed on Couchbase.
            - name: swap.total.bytes
              type: long
              description: >
                Total swap size allocated (bytes).
            - name: swap.used.bytes
              type: long
              description: >
                Amount of swap space used (bytes).
            - name: uptime.sec
              type: long
              description: >
                Time during which the node was in operation (sec).
            - name: vb_replica_curr_items
              type: long
              description: >
                Number of items/documents that are replicas.
- key: docker
  title: "Docker"
  description: >
    Docker stats collected from Docker.
  release: ga
  short_config: false
  fields:
    - name: docker
      type: group
      description: >
        Information and statistics about docker's running containers.
      fields:
        - name: container
          type: group
          description: >
            Docker container metrics.
          release: ga
          fields:
            - name: command
              type: keyword
              description: >
                Command that was executed in the Docker container.
            - name: created
              type: date
              description: >
                Date when the container was created.
            - name: status
              type: keyword
              description: >
                Container status.
            - name: ip_addresses
              type: keyword
              description: >
                Container IP addresses.
            - name: size
              type: group
              description: >
                Container size metrics.
              fields:
                - name: root_fs
                  type: long
                  description: >
                     Total size of all the files in the container.
                - name: rw
                  type: long
                  description: >
                     Size of the files that have been created or changed since creation.
            - name: tags
              type: array
              description: >
                Image tags.
        - name: cpu
          type: group
          description: >
            Runtime CPU metrics.
          release: ga
          fields:
            - name: kernel.pct
              type: scaled_float
              format: percentage
              description: >
                Percentage of time in kernel space.
            - name: kernel.ticks
              type: long
              description: >
                CPU ticks in kernel space.
            - name: system.pct
              type: scaled_float
              format: percentage
              description: >
                Percentage of total CPU time in the system.
            - name: system.ticks
              type: long
              description: >
                CPU system ticks.
            - name: user.pct
              type: scaled_float
              format: percentage
              description: >
                Percentage of time in user space.
            - name: user.ticks
              type: long
              description: >
                CPU ticks in user space.
            - name: total.pct
              type: scaled_float
              format: percentage
              description: >
                Total CPU usage.
            - name: core.*.pct
              type: object
              object_type: scaled_float
              format: percentage
              description: >
                Percentage of CPU time in this core.
            - name: core.*.ticks
              type: object
              object_type: long
              description: >
                Number of CPU ticks in this core.
        - name: diskio
          type: group
          description: >
            Disk I/O metrics.
          release: ga
          fields:
            - name: read
              type: group
              description: >
                Accumulated reads during the life of the container
              fields:
                - name: ops
                  type: long
                  description: >
                    Number of reads during the life of the container
                - name: bytes
                  type: long
                  format: bytes
                  description: >
                    Bytes read during the life of the container
                - name: rate
                  type: long
                  description: >
                    Number of current reads per second
            - name: reads
              type: scaled_float
              deprecated: true
              description: >
                Number of current reads per second
            - name: write
              type: group
              description: >
                Accumulated writes during the life of the container
              fields:
                - name: ops
                  type: long
                  description: >
                    Number of writes during the life of the container
                - name: bytes
                  type: long
                  format: bytes
                  description: >
                    Bytes written during the life of the container
                - name: rate
                  type: long
                  description: >
                    Number of current writes per second
            - name: writes
              type: scaled_float
              deprecated: true
              description: >
                Number of current writes per second
            - name: summary
              type: group
              description: >
                Accumulated reads and writes during the life of the container
              fields:
                - name: ops
                  type: long
                  description: >
                    Number of I/O operations during the life of the container
                - name: bytes
                  type: long
                  format: bytes
                  description: >
                    Bytes read and written during the life of the container
                - name: rate
                  type: long
                  description: >
                    Number of current operations per second
            - name: total
              type: scaled_float
              deprecated: true
              description: >
                Number of reads and writes per second
        - name: healthcheck
          type: group
          description: >
            Docker container metrics.
          release: ga
          fields:
            - name: failingstreak
              type: integer
              description: >
                concurent failed check
            - name: status
              type: keyword
              description: >
                Healthcheck status code
            - name: event
              type: group
              description: >
                event fields.
              fields:
                - name: end_date
                  type: date
                  description: >
                    Healthcheck end date
                - name: start_date
                  type: date
                  description: >
                    Healthcheck start date
                - name: output
                  type: keyword
                  description: >
                    Healthcheck output
                - name: exit_code
                  type: integer
                  description: >
                    Healthcheck status code
        - name: image
          type: group
          description: >
            Docker image metrics.
          release: ga
          fields:
            - name: id
              type: group
              description: >
                The image layers identifier.
              fields:
                - name: current
                  type: keyword
                  description: >
                     Unique image identifier given upon its creation.
                - name: parent
                  type: keyword
                  description: >
                     Identifier of the image, if it exists, from which the current image directly descends.
            - name: created
              type: date
              description: >
                Date and time when the image was created.
            - name: size
              type: group
              description: >
                Image size layers.
              fields:
                - name: virtual
                  type: long
                  description: >
                     Size of the image.
                - name: regular
                  type: long
                  description: >
                     Total size of the all cached images associated to the current image.
        
            - name: labels
              type: object
              object_type: keyword
              description: >
                Image labels.
        
            - name: tags
              type: array
              description: >
                Image tags.
        - name: info
          type: group
          description: >
            Info metrics based on https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/display-system-wide-information.
          release: ga
          fields:
            - name: containers
              type: group
              description: >
                Overall container stats.
              fields:
                - name: paused
                  type: long
                  description: >
                    Total number of paused containers.
                - name: running
                  type: long
                  description: >
                    Total number of running containers.
                - name: stopped
                  type: long
                  description: >
                    Total number of stopped containers.
                - name: total
                  type: long
                  description: >
                    Total number of existing containers.
            - name: id
              type: keyword
              description: >
                Unique Docker host identifier.
        
            - name: images
              type: long
              description: >
                Total number of existing images.
        - name: memory
          type: group
          description: >
            Memory metrics.
          release: ga
          fields:
        
            - name: fail.count
              type: scaled_float
              description: >
                Fail counter.
            - name: limit
              type: long
              format: bytes
              description: >
                Memory limit.
            - name: rss
              type: group
              description: >
                RSS memory stats.
              fields:
                - name: total
                  type: long
                  format: bytes
                  description: >
                    Total memory resident set size.
                - name: pct
                  type: scaled_float
                  format: percentage
                  description: >
                    Memory resident set size percentage.
            - name: usage
              type: group
              description: >
                Usage memory stats.
              fields:
                - name: max
                  type: long
                  format: bytes
                  description: >
                    Max memory usage.
                - name: pct
                  type: scaled_float
                  format: percentage
                  description: >
                    Memory usage percentage.
                - name: total
                  type: long
                  format: bytes
                  description: >
                    Total memory usage.
        - name: network
          type: group
          description: >
            Network metrics.
          release: ga
          fields:
        
            - name: interface
              type: keyword
              description: >
                Network interface name.
            - name: in
              type: group
              deprecated: true
              description: >
                Incoming network stats per second.
              fields:
                - name: bytes
                  type: long
                  format: bytes
                  description: >
                    Total number of incoming bytes.
                - name: dropped
                  type: scaled_float
                  description: >
                    Total number of dropped incoming packets.
                - name: errors
                  type: long
                  description: >
                    Total errors on incoming packets.
                - name: packets
                  type: long
                  description: >
                    Total number of incoming packets.
            - name: out
              type: group
              deprecated: true
              description: >
                Outgoing network stats per second.
              fields:
                - name: bytes
                  type: long
                  format: bytes
                  description: >
                    Total number of outgoing bytes.
                - name: dropped
                  type: scaled_float
                  description: >
                    Total number of dropped outgoing packets.
                - name: errors
                  type: long
                  description: >
                    Total errors on outgoing packets.
                - name: packets
                  type: long
                  description: >
                    Total number of outgoing packets.
            - name: inbound
              type: group
              deprecated: true
              description: >
                Incoming network stats since the container started.
              fields:
                - name: bytes
                  type: long
                  format: bytes
                  description: >
                    Total number of incoming bytes.
                - name: dropped
                  type: long
                  description: >
                    Total number of dropped incoming packets.
                - name: errors
                  type: long
                  description: >
                    Total errors on incoming packets.
                - name: packets
                  type: long
                  description: >
                    Total number of incoming packets.
            - name: outbound
              type: group
              deprecated: true
              description: >
                Outgoing network stats since the container started.
              fields:
                - name: bytes
                  type: long
                  format: bytes
                  description: >
                    Total number of outgoing bytes.
                - name: dropped
                  type: long
                  description: >
                    Total number of dropped outgoing packets.
                - name: errors
                  type: long
                  description: >
                    Total errors on outgoing packets.
                - name: packets
                  type: long
                  description: >
                    Total number of outgoing packets.
- key: dropwizard
  title: "Dropwizard"
  description: >
    Stats collected from Dropwizard.
  release: beta
  settings: ["ssl", "http"]
  short_config: false
  fields:
    - name: dropwizard
      type: group
      description: >
      fields:
        - release: beta
- key: elasticsearch
  title: "Elasticsearch"
  description: >
    Elasticsearch module
  release: beta
  settings: ["ssl", "http"]
  short_config: false
  fields:
    - name: elasticsearch
      type: group
      description: >
      fields:
        - name: cluster.name
          type: keyword
          description: >
            Elasticsearch cluster name.

        - name: cluster.id
          type: keyword
          description: >
            Elasticsearch cluster id.

        - name: cluster.state.id
          type: keyword
          description: >
            Elasticsearch state id.
        - name: cluster.stats
          type: group
          description: >
            Cluster stats
          release: beta
          fields:
            - name: status
              type: keyword
              description: >
                Cluster status (green, yellow, red).
            - name: nodes
              type: group
              description: >
                Nodes statistics.
              fields:
              - name: count
                type: long
                description: >
                  Total number of nodes in cluster.
              - name: master
                type: long
                description: >
                  Number of master-eligible nodes in cluster.
              - name: data
                type: long
                description: >
                  Number of data nodes in cluster.
            - name: indices
              type: group
              description: >
                Indices statistics.
              fields:
              - name: count
                type: long
                description: >
                  Total number of indices in cluster.
              - name: shards
                type: group
                description: >
                  Shard statistics.
                fields:
                - name: count
                  type: long
                  description: >
                    Total number of shards in cluster.
                - name: primaries
                  type: long
                  description: >
                    Total number of primary shards in cluster.
              - name: fielddata.memory.bytes
                type: long
                description: >
                  Memory used for fielddata.
        - name: index
          type: group
          description: >
            index
          release: beta
          fields:
            - name: name
              type: keyword
              description: >
                Index name.
            - name: total
              type: group
              fields:
                - name: docs.count
                  type: long
                  description: >
                    Total number of documents in the index.
                - name: docs.deleted
                  type: long
                  description: >
                    Total number of deleted documents in the index.
                - name: store.size.bytes
                  type: long
                  format: bytes
                  description: >
                    Total size of the index in bytes.
                - name: segments.count
                  type: long
                  description: >
                    Total number of index segments.
                - name: segments.memory.bytes
                  type: long
                  format: bytes
                  description: >
                    Total number of memory used by the segments in bytes.
        
        - name: index.recovery
          type: group
          description: >
            index
          release: beta
          fields:
            - name: id
              type: long
              description: >
                Shard recovery id.
            - name: type
              type: keyword
              description: >
                Shard recovery type.
            - name: primary
              type: boolean
              description: >
                True if primary shard.
            - name: stage
              type: keyword
              description: >
                Recovery stage.
        
            - name: target.id
              type: keyword
              description: >
                Target node id.
            - name: target.host
              type: ip
              description: >
                Target node host address.
            - name: target.name
              type: keyword
              description: >
                Target node name.
        
            - name: source.id
              type: keyword
              description: >
                Source node id.
            - name: source.host
              type: ip
              description: >
                Source node host address.
            - name: source.name
              type: keyword
              description: >
                Source node name.
        - name: index.summary
          type: group
          description: >
            index
          release: beta
          fields:
            - name: primaries
              type: group
              fields:
                - name: docs.count
                  type: long
                  description: >
                    Total number of documents in the index.
                - name: docs.deleted
                  type: long
                  description: >
                    Total number of deleted documents in the index.
                - name: store.size.bytes
                  type: long
                  format: bytes
                  description: >
                    Total size of the index in bytes.
                - name: segments.count
                  type: long
                  description: >
                    Total number of index segments.
                - name: segments.memory.bytes
                  type: long
                  format: bytes
                  description: >
                    Total number of memory used by the segments in bytes.
            - name: total
              type: group
              fields:
                - name: docs.count
                  type: long
                  description: >
                    Total number of documents in the index.
                - name: docs.deleted
                  type: long
                  description: >
                    Total number of deleted documents in the index.
                - name: store.size.bytes
                  type: long
                  format: bytes
                  description: >
                    Total size of the index in bytes.
                - name: segments.count
                  type: long
                  description: >
                    Total number of index segments.
                - name: segments.memory.bytes
                  type: long
                  format: bytes
                  description: >
                    Total number of memory used by the segments in bytes.
        - name: ml.job
          type: group
          description: >
            ml
          release: beta
          fields:
            - name: id
              type: keyword
              description: >
                Unique ml job id.
            - name: state
              type: keyword
              description: >
                Job state.
            - name: data_counts.processed_record_count
              type: long
              description: >
                Processed data events.
            - name: data_counts.invalid_date_count
              type: long
              description: >
                The number of records with either a missing date field or a date that could not be parsed.
        
        
        - name: node
          type: group
          description: >
            node
          release: beta
          fields:
            - name: name
              type: keyword
              description: >
                Node name.
            - name: version
              type: keyword
              description: >
                Node version.
            - name: jvm
              type: group
              description: >
                JVM Info.
              fields:
                - name: version
                  type: keyword
                  description: >
                    JVM version.
                - name: memory.heap.init.bytes
                  type: long
                  format: bytes
                  description: >
                    Heap init used by the JVM in bytes.
                - name: memory.heap.max.bytes
                  type: long
                  format: bytes
                  description: >
                    Heap max used by the JVM in bytes.
                - name: memory.nonheap.init.bytes
                  type: long
                  format: bytes
                  description: >
                    Non-Heap init used by the JVM in bytes.
                - name: memory.nonheap.max.bytes
                  type: long
                  format: bytes
                  description: >
                    Non-Heap max used by the JVM in bytes.
            - name: process.mlockall
              type: boolean
              description: >
                If process locked in memory.
        - name: node.stats
          type: group
          description: >
            node_stats
          release: beta
          fields:
            - name: indices
              type: group
              description: >
                Node indices stats
              fields:
                - name: docs.count
                  type: long
                  description: >
                    Total number of existing documents.
                - name: docs.deleted
                  type: long
                  description: >
                    Total number of deleted documents.
                - name: segments.count
                  type: long
                  description: >
                    Total number of segments.
                - name: segments.memory.bytes
                  type: long
                  format: bytes
                  description: >
                    Total size of segments in bytes.
                - name: store.size.bytes
                  type: long
                  description: >
                    Total size of the store in bytes.
            - name: jvm.mem.pools
              type: group
              description: >
                JVM memory pool stats
              fields:
                - name: old
                  type: group
                  description: >
                    Old memory pool stats.
                  fields:
                    - name: max.bytes
                      type: long
                      format: bytes
                      description:
                        Max bytes.
                    - name: peak.bytes
                      type: long
                      format: bytes
                      description:
                        Peak bytes.
                    - name: peak_max.bytes
                      type: long
                      format: bytes
                      description:
                        Peak max bytes.
                    - name: used.bytes
                      type: long
                      format: bytes
                      description:
                        Used bytes.
                - name: young
                  type: group
                  description: >
                    Young memory pool stats.
                  fields:
                    - name: max.bytes
                      type: long
                      format: bytes
                      description:
                        Max bytes.
                    - name: peak.bytes
                      type: long
                      format: bytes
                      description:
                        Peak bytes.
                    - name: peak_max.bytes
                      type: long
                      format: bytes
                      description:
                        Peak max bytes.
                    - name: used.bytes
                      type: long
                      format: bytes
                      description:
                        Used bytes.
                - name: survivor
                  type: group
                  description: >
                    Survivor memory pool stats.
                  fields:
                    - name: max.bytes
                      type: long
                      format: bytes
                      description:
                        Max bytes.
                    - name: peak.bytes
                      type: long
                      format: bytes
                      description:
                        Peak bytes.
                    - name: peak_max.bytes
                      type: long
                      format: bytes
                      description:
                        Peak max bytes.
                    - name: used.bytes
                      type: long
                      format: bytes
                      description:
                        Used bytes.
        
            - name: jvm.gc.collectors
              type: group
              description: >
                GC collector stats.
              fields:
                - name: old.collection
                  type: group
                  description: >
                    Old collection gc.
                  fields:
                    - name: count
                      type: long
                      description: >
                    - name: ms
                      type: long
                      description: >
                - name: young.collection
                  type: group
                  description: >
                    Young collection gc.
                  fields:
                    - name: count
                      type: long
                      description: >
                    - name: ms
                      type: long
                      description: >
        
            - name: fs.summary
              type: group
              description: >
                File system summary
              fields:
                - name: total.bytes
                  type: long
                  format: bytes
                  description: >
                - name: free.bytes
                  type: long
                  format: bytes
                  description: >
                - name: available.bytes
                  type: long
                  format: bytes
                  description: >
        - name: cluster.pending_task
          type: group
          description: >
            `cluster.pending_task` contains a pending task description.
          release: beta
          fields:
            - name: insert_order
              type: long
              description: >
                Insert order
            - name: priority
              type: long
              description: >
                Priority
            - name: source
              type: keyword
              description: >
                Source. For example: put-mapping
            - name: time_in_queue.ms
              type: long
              description: >
                Time in queue
        - name: shard
          type: group
          description: >
            shard fields
          release: beta
          fields:
            - name: primary
              type: boolean
              description: >
                True if this is the primary shard.
            - name: number
              type: long
              description: >
                The number of this shard.
        
            - name: state
              type: keyword
              description: >
                The state of this shard.
- key: envoyproxy
  title: "envoyproxy"
  description: >
    experimental[]

    envoyproxy module
  fields:
    - name: envoyproxy
      type: group
      description: >
      fields:
        - name: server
          type: group
          description: >
            Contains envoy proxy server stats
          fields:
            - name: cluster_manager
              type: group
              fields:
                - name: active_clusters 
                  type: integer
                  description: >
                    Number of currently active (warmed) clusters
                - name: cluster_added
                  type: integer
                  description: >
                    Total clusters added (either via static config or CDS)
                - name: cluster_modified
                  type: integer
                  description: >
                    Total clusters modified (via CDS)
                - name: cluster_removed
                  type: integer
                  description: >
                    Total clusters removed (via CDS)
                - name: warming_clusters
                  type: integer
                  description: >
                    Number of currently warming (not active) clusters
        
            - name: filesystem
              type: group
              fields:
                - name: flushed_by_timer
                  type: integer
                  description: >
                    Total number of times internal flush buffers are written to a file due to flush timeout
                - name: reopen_failed
                  type: integer
                  description: >
                    Total number of times a file was failed to be opened
                - name: write_buffered
                  type: integer
                  description: >
                    Total number of times file data is moved to Envoys internal flush buffer
                - name: write_completed
                  type: integer
                  description: >
                    Total number of times a file was written
                - name: write_total_buffered 
                  type: integer
                  description: >
                    Current total size of internal flush buffer in bytes
        
            - name: runtime
              type: group
              fields:
                - name: load_error
                  type: integer
                  description: >
                    Total number of load attempts that resulted in an error
                - name: load_success
                  type: integer
                  description: >
                    Total number of load attempts that were successful
                - name: num_keys 
                  type: integer
                  description: >
                    Number of keys currently loaded
                - name: override_dir_exists
                  type: integer
                  description: >
                    Total number of loads that did use an override directory
                - name: override_dir_not_exists
                  type: integer
                  description: >
                    Total number of loads that did not use an override directory
                - name: admin_overrides_active
                  type: integer
        
            - name: listener_manager
              type: group
              fields:
                - name: listener_added
                  type: integer
                  description: >
                    Total listeners added (either via static config or LDS)
                - name: listener_create_failure
                  type: integer
                  description: >
                    Total failed listener object additions to workers
                - name: listener_create_success
                  type: integer
                  description: >
                    Total listener objects successfully added to workers
                - name: listener_modified
                  type: integer
                  description: >
                    Total listeners modified (via LDS)
                - name: listener_removed
                  type: integer
                  description: >
                    Total listeners removed (via LDS)
                - name: total_listeners_active
                  type: integer
                  description: >
                    Number of currently active listeners
                - name: total_listeners_draining
                  type: integer
                  description: >
                    Number of currently draining listeners
                - name: total_listeners_warming
                  type: integer
                  description: >
                    Number of currently warming listeners
        
            - name: stats
              type: group
              fields:
                - name: overflow
                  type: integer
                  description: >
                    Total number of times Envoy cannot allocate a statistic due to a shortage of shared memory
        
            - name: server
              type: group
              fields:      
                - name: days_until_first_cert_expiring
                  type: integer
                  description: >
                    Number of days until the next certificate being managed will expire
                - name: live
                  type: integer
                  description: >
                    1 if the server is not currently draining, 0 otherwise
                - name: memory_allocated
                  type: integer
                  description: >
                    Current amount of allocated memory in bytes
                - name: memory_heap_size
                  type: integer
                  description: >
                    Current reserved heap size in bytes
                - name: parent_connections
                  type: integer
                  description: >
                    Total connections of the old Envoy process on hot restart
                - name: total_connections
                  type: integer
                  description: >
                    Total connections of both new and old Envoy processes
                - name: uptime
                  type: integer
                  description: >
                    Current server uptime in seconds
                - name: version
                  type: integer
                  description: >
                    Integer represented version number based on SCM revision
                - name: watchdog_mega_miss
                  type: integer
                - name: watchdog_miss
                  type: integer
                - name: hot_restart_epoch
                  type: integer
                  description: >
                    Current hot restart epoch
        
            - name: http2
              type: group
              fields:
                - name: header_overflow
                  type: integer
                  description: >
                    Total number of connections reset due to the headers being larger than Envoy::Http::Http2::ConnectionImpl::StreamImpl::MAX_HEADER_SIZE (63k)
                - name: headers_cb_no_stream
                  type: integer
                  description: >
                    Total number of errors where a header callback is called without an associated stream. This tracks an unexpected occurrence due to an as yet undiagnosed bug
                - name: rx_messaging_error
                  type: integer
                  description: >
                    Total number of invalid received frames that violated section 8 of the HTTP/2 spec. This will result in a tx_reset
                - name: rx_reset
                  type: integer
                  description: >
                    Total number of reset stream frames received by Envoy
                - name: too_many_header_frames
                  type: integer
                  description: >
                    Total number of times an HTTP2 connection is reset due to receiving too many headers frames. Envoy currently supports proxying at most one header frame for 100-Continue one non-100 response code header frame and one frame with trailers
                - name: trailers
                  type: integer
                  description: >
                    Total number of trailers seen on requests coming from downstream
                - name: tx_reset
                  type: integer
                  description: >
                    Total number of reset stream frames transmitted by Envoy
- key: etcd
  title: "Etcd"
  description: >
    etcd Module
  release: beta
  settings: ["ssl", "http"]
  fields:
    - name: etcd
      type: group
      description: >
        `etcd` contains statistics that were read from Etcd
      fields:
        - name: leader
          type: group
          description: >
            Contains etcd leader statistics.
          release: beta
          fields:
            - name: followers.counts
              type: group
              description: >
                The number of failed and successful Raft RPC requests.
              fields:
                - name: followers.counts.success
                  type: integer
                - name: followers.counts.fail
                  type: integer
        
        
            - name: followers.latency
              type: group
              description: >
                 latency to each peer in the cluster
              fields:
                - name: followers.latency.average
                  type: scaled_float
                - name: followers.latency.current
                  type: scaled_float
                - name: followers.latency.maximum
                  type: scaled_float
                - name: followers.latency.minimum
                  type: integer
                - name: follower.latency.standardDeviation
                  type: scaled_float
            - name: leader
              type: keyword
        
        - name: self
          type: group
          description: >
            Contains etcd self statistics.
          release: beta
          fields:
            - name: id
              type: keyword
              description: >
               the unique identifier for the member
        
            - name: leaderinfo.leader
              type: keyword
              description: >
                id of the current leader member
            - name: leaderinfo.starttime
              type: keyword
            - name: leaderinfo.uptime
              type: keyword
              description: >
                id of the current leader member
        
            - name: name
              type: keyword
              description: >
                this member's name
        
            - name: recv.appendrequest.count
              type: integer
              description: >
                number of append requests this node has processed
            - name: recv.bandwidthrate
              type: scaled_float
              description: >
                number of bytes per second this node is receiving (follower only)
            - name: recv.pkgrate
              type: scaled_float
              description: >
                number of requests per second this node is receiving (follower only)
        
            - name: send.appendrequest.count
              type: integer
              description: >
                 number of requests that this node has sent
            - name: send.bandwidthrate
              type: scaled_float
              description: >
                number of bytes per second this node is sending (leader only). This value is undefined on single member clusters.
            - name: send.pkgrate
              type: scaled_float
              description: >
                number of requests per second this node is sending (leader only). This value is undefined on single member clusters.
        
            - name: starttime
              type: keyword
              description: >
                the time when this node was started
        
            - name: state
              type: keyword
              description: >
                either leader or follower
        - name: store
          type: group
          description: >
            The store statistics include information about the operations that this node has handled.
          release: beta
          fields:
            - name: gets.success
              type: integer
            - name: gets.fail
              type: integer
        
            - name: sets.success
              type: integer
            - name: sets.fail
              type: integer
        
            - name: delete.success
              type: integer
            - name: delete.fail
              type: integer
        
            - name: update.success
              type: integer
            - name: update.fail
              type: integer
        
            - name: create.success
              type: integer
            - name: create.fail
              type: integer
        
            - name: compareandswap.success
              type: integer
            - name: compareandswap.fail
              type: integer
        
            - name: compareanddelete.success
              type: integer
            - name: compareanddelete.fail
              type: integer
        
        
            - name: expire.count
              type: integer
        
            - name: watchers
              type: integer
- key: golang
  title: "Golang"
  description: >
    Golang module
  short_config: false
  release: beta
  settings: ["ssl", "http"]
  fields:
    - name: golang
      type: group
      description: >
      fields:
        - name: expvar
          type: group
          description: >
            expvar
          release: beta
          fields:
            - name: cmdline
              type: keyword
              description: >
                The cmdline of this golang program start with.
        - name: heap
          type: group
          description: >
            The golang program heap information exposed by expvar.
          release: beta
          fields:
            - name: cmdline
              type: keyword
              description: >
                The cmdline of this golang program start with.
        
            - name: gc
              type: group
              description: >
                Garbage collector summary.
              fields:
                - name: total_pause
                  type: group
                  description: >
                     Total GC pause duration over lifetime of process.
                  fields:
                    - name: ns
                      type: long
                      description: >
                        Duration in Ns.
                - name: total_count
                  type: long
                  description: >
                     Total number of GC was happened.
                - name: next_gc_limit
                  type: long
                  format: bytes
                  description: >
                     Next collection will happen when HeapAlloc > this amount.
                - name: cpu_fraction
                  type: float
                  description: >
                     Fraction of CPU time used by GC.
                - name: pause
                  type: group
                  description: >
                     Last GC pause durations during the monitoring period.
                  fields:
                    - name: count
                      type: long
                      description: >
                         Count of GC pause duration during this collect period.
                    - name: sum
                      type: group
                      description: >
                         Total GC pause duration during this collect period.
                      fields:
                        - name: ns
                          type: long
                          description: >
                            Duration in Ns.
                    - name: max
                      type: group
                      description: >
                         Max GC pause duration during this collect period.
                      fields:
                        - name: ns
                          type: long
                          description: >
                             Duration in Ns.
                    - name: avg
                      type: group
                      description: >
                         Average GC pause duration during this collect period.
                      fields:
                        - name: ns
                          type: long
                          description: >
                             Duration in Ns.
        
            - name: system
              type: group
              description: >
                Heap summary,which bytes was obtained from system.
              fields:
                - name: total
                  type: long
                  format: bytes
                  description: >
                    Total bytes obtained from system (sum of XxxSys below).
                - name: obtained
                  type: long
                  format: bytes
                  description: >
                    Via HeapSys, bytes obtained from system. heap_sys = heap_idle + heap_inuse.
                - name: stack
                  type: long
                  format: bytes
                  description: >
                    Bytes used by stack allocator, and these bytes was obtained from system.
                - name: released
                  type: long
                  format: bytes
                  description: >
                    Bytes released to the OS.
        
            - name: allocations
              type: group
              description: >
                Heap allocations summary.
              fields:
                - name: mallocs
                  type: long
                  description: >
                    Number of mallocs.
                - name: frees
                  type: long
                  description: >
                    Number of frees.
                - name: objects
                  type: long
                  description: >
                    Total number of allocated objects.
                - name: total
                  type: long
                  format: bytes
                  description: >
                    Bytes allocated (even if freed) throughout the lifetime.
                - name: allocated
                  type: long
                  format: bytes
                  description: >
                    Bytes allocated and not yet freed (same as Alloc above).
                - name: idle
                  type: long
                  format: bytes
                  description: >
                    Bytes in idle spans.
                - name: active
                  type: long
                  format: bytes
                  description: >
                    Bytes in non-idle span.
- key: graphite
  title: "Graphite"
  description: >
    graphite Module
  release: beta
  fields:
    - name: graphite
      type: group
      description: >
      fields:
        - name: server
          type: group
          description: >
            server
          release: beta
          fields:
            - name: example
              type: keyword
              description: >
                Example field
- key: haproxy
  title: "HAProxy"
  description: >
    HAProxy Module
  short_config: false
  release: ga
  fields:
    - name: haproxy
      type: group
      description: >
        HAProxy metrics.
      fields:
        - name: info
          type: group
          description: >
            General information about HAProxy processes.
          release: ga
          fields:
            - name: processes
              type: long
              description: >
                Number of processes.
        
            - name: process_num
              type: long
              description: >
                Process number.
        
            - name: pid
              type: long
              description: >
                Process ID.
        
            - name: run_queue
              type: long
              description: >
        
            - name: tasks
              type: long
              description: >
        
            - name: uptime.sec
              type: long
              description: >
                Current uptime in seconds.
        
            - name: memory.max.bytes
              type: long
              format: bytes
              description: >
                Maximum amount of memory usage in bytes (the 'Memmax_MB' value converted to bytes).
        
            - name: ulimit_n
              type: long
              description: >
                Maximum number of open files for the process.
        
            - name: compress
              type: group
              description: >
        
              fields:
                - name: bps
                  type: group
                  description: >
        
                  fields:
                    - name: in
                      type: long
                      description: >
        
                    - name: out
                      type: long
                      description: >
        
                    - name: rate_limit
                      type: long
                      description: >
        
            - name: connection
              type: group
              description: >
        
              fields:
                - name: rate
                  type: group
                  description: >
        
                  fields:
                    - name: value
                      type: long
                      description: >
        
                    - name: limit
                      type: long
                      description: >
        
                    - name: max
                      type: long
                      description: >
        
                - name: current
                  type: long
                  description: >
                    Current connections.
        
                - name: total
                  type: long
                  description: >
                    Total connections.
        
                - name: ssl.current
                  type: long
                  description: >
                    Current SSL connections.
        
                - name: ssl.total
                  type: long
                  description: >
                    Total SSL connections.
        
                - name: ssl.max
                  type: long
                  description: >
                    Maximum SSL connections.
        
                - name: max
                  type: long
                  description: >
                    Maximum connections.
        
                - name: hard_max
                  type: long
                  description: >
        
            - name: requests.total
              type: long
              description: >
        
            - name: sockets.max
              type: long
              description: >
        
            - name: requests.max
              type: long
              description: >
        
            - name: pipes
              type: group
              description: >
              fields:
                - name: used
                  type: integer
                  description: >
        
                - name: free
                  type: integer
                  description: >
        
                - name: max
                  type: integer
                  description: >
        
            - name: session
              type: group
              description:
              fields:
                - name: rate.value
                  type: integer
                  description: >
        
                - name: rate.limit
                  type: integer
                  description: >
        
                - name: rate.max
                  type: integer
                  description: >
        
        
            - name: ssl
              type: group
              description:
              fields:
                - name: rate.value
                  type: integer
                  description:
        
                - name: rate.limit
                  type: integer
                  description:
        
                - name: rate.max
                  type: integer
                  description:
        
                - name: frontend
                  type: group
                  description:
                  fields:
                    - name: key_rate.value
                      type: integer
                      description:
        
                    - name: key_rate.max
                      type: integer
                      description:
        
                    - name: session_reuse.pct
                      type: scaled_float
                      format: percent
                      description:
        
                - name: backend
                  type: group
                  description:
                  fields:
                    - name: key_rate.value
                      type: integer
                      description:
        
                    - name: key_rate.max
                      type: integer
                      description: MaxConnRate
                - name: cached_lookups
                  type: long
                  description:
                - name: cache_misses
                  type: long
                  description:
        
        
            - name: zlib_mem_usage
              type: group
              description: >
        
              fields:
                - name: value
                  type: integer
                  description: >
        
                - name: max
                  type: integer
                  description: >
        
            - name: idle.pct
              type: scaled_float
              format: percent
              description: >
        - name: stat
          type: group
          description: >
            Stats collected from HAProxy processes.
          release: ga
          fields:
        
            - name: status
              type: keyword
              description: >
                Status (UP, DOWN, NOLB, MAINT, or MAINT(via)...).
        
            - name: weight
              type: long
              description: >
                Total weight (for backends), or server weight (for servers).
        
            - name: downtime
              type: long
              description: >
                Total downtime (in seconds). For backends, this value is the downtime
                for the whole backend, not the sum of the downtime for the servers.
        
            - name: component_type
              type: integer
              description: >
                Component type (0=frontend, 1=backend, 2=server, or 3=socket/listener).
        
            - name: process_id
              type: integer
              description: >
                Process ID (0 for first instance, 1 for second, and so on).
        
            - name: service_name
              type: keyword
              description: >
                Service name (FRONTEND for frontend, BACKEND for backend, or any name for server/listener).
        
            - name: in.bytes
              type: long
              format: bytes
              description: >
                Bytes in.
        
            - name: out.bytes
              type: long
              format: bytes
              description: >
                Bytes out.
        
            - name: last_change
              type: integer
              description: >
                Number of seconds since the last UP->DOWN or DOWN->UP transition.
        
            - name: throttle.pct
              type: scaled_float
              format: percentage
              description: >
                Current throttle percentage for the server when slowstart
                is active, or no value if slowstart is inactive.
        
            - name: selected.total
              type: long
              description: >
                Total number of times a server was selected, either for new
                sessions, or when re-dispatching. For servers, this field reports the
                the number of times the server was selected.
        
            - name: tracked.id
              type: long
              description: >
                ID of the proxy/server if tracking is enabled.
        
            - name: connection
              type: group
              fields:
        
                - name: total
                  type: long
                  description: >
                    Cumulative number of connections.
        
                - name: retried
                  type: long
                  description: >
                    Number of times a connection to a server was retried.
        
                - name: time.avg
                  type: long
                  description: >
                    Average connect time in ms over the last 1024 requests.
        
            - name: request
              type: group
              fields:
        
                - name: denied
                  type: long
                  description: >
                    Requests denied because of security concerns.
        
                      * For TCP this is because of a matched tcp-request content rule.
                      * For HTTP this is because of a matched http-request or tarpit rule.
        
                - name: queued.current
                  type: long
                  description: >
                    Current queued requests. For backends, this field reports the number
                    of requests queued without a server assigned.
        
                - name: queued.max
                  type: long
                  description: >
                    Maximum value of queued.current.
        
                - name: errors
                  type: long
                  description: >
                    Request errors. Some of the possible causes are:
        
                      * early termination from the client, before the request has been sent
                      * read error from the client
                      * client timeout
                      * client closed connection
                      * various bad requests from the client.
                      * request was tarpitted.
        
                - name: redispatched
                  type: long
                  description: >
                    Number of times a request was redispatched to another server. For
                    servers, this field reports the number of times the server was
                    switched away from.
        
                - name: connection.errors
                  type: long
                  description: >
                    Number of requests that encountered an error trying to
                    connect to a server. For backends, this field reports the sum of
                    the stat for all backend servers, plus any connection errors not
                    associated with a particular server (such as the backend having no
                    active servers).
        
                - name: rate
                  type: group
                  description: >
                  fields:
                    - name: value
                      type: long
                      description: >
                        Number of HTTP requests per second over the last elapsed second.
                    - name: max
                      type: long
                      description: >
                        Maximum number of HTTP requests per second.
        
                - name: total
                  type: long
                  description: >
                    Total number of HTTP requests received.
        
        
            - name: response
              type: group
              fields:
        
                - name: errors
                  type: long
                  description: >
                    Number of response errors. This value includes the number of data
                    transfers aborted by the server (haproxy.stat.server.aborted).
                    Some other errors are:
        
                    * write errors on the client socket (won't be counted for the server stat)
                    * failure applying filters to the response
        
        
                - name: time.avg
                  type: long
                  description: >
                    Average response time in ms over the last 1024 requests (0 for TCP).
        
                - name: denied
                  type: integer
                  description: >
                    Responses denied because of security concerns. For HTTP this is
                    because of a matched http-request rule, or "option checkcache".
        
                - name: http
                  type: group
                  description: >
        
                  fields:
                    - name: 1xx
                      type: long
                      description: >
                        HTTP responses with 1xx code.
        
                    - name: 2xx
                      type: long
                      description: >
                        HTTP responses with 2xx code.
        
                    - name: 3xx
                      type: long
                      description: >
                        HTTP responses with 3xx code.
        
                    - name: 4xx
                      type: long
                      description: >
                        HTTP responses with 4xx code.
        
                    - name: 5xx
                      type: long
                      description: >
                        HTTP responses with 5xx code.
        
                    - name: other
                      type: long
                      description: >
                        HTTP responses with other codes (protocol error).
        
        
            - name: session
              type: group
              fields:
        
                - name: current
                  type: long
                  description: >
                    Number of current sessions.
        
                - name: max
                  type: long
                  description: >
                    Maximum number of sessions.
        
                - name: limit
                  type: long
                  description: >
                    Configured session limit.
        
                - name: rate
                  type: group
                  fields:
                    - name: value
                      type: integer
                      description: >
                        Number of sessions per second over the last elapsed second.
        
                    - name: limit
                      type: integer
                      description: >
                        Configured limit on new sessions per second.
        
                    - name: max
                      type: integer
                      description: >
                        Maximum number of new sessions per second.
        
        
            - name: check
              type: group
              description: >
        
              fields:
                - name: status
                  type: keyword
                  description: >
                    Status of the last health check. One of:
        
                      UNK     -> unknown
                      INI     -> initializing
                      SOCKERR -> socket error
                      L4OK    -> check passed on layer 4, no upper layers testing enabled
                      L4TOUT  -> layer 1-4 timeout
                      L4CON   -> layer 1-4 connection problem, for example
                                "Connection refused" (tcp rst) or "No route to host" (icmp)
                      L6OK    -> check passed on layer 6
                      L6TOUT  -> layer 6 (SSL) timeout
                      L6RSP   -> layer 6 invalid response - protocol error
                      L7OK    -> check passed on layer 7
                      L7OKC   -> check conditionally passed on layer 7, for example 404 with
                                disable-on-404
                      L7TOUT  -> layer 7 (HTTP/SMTP) timeout
                      L7RSP   -> layer 7 invalid response - protocol error
                      L7STS   -> layer 7 response error, for example HTTP 5xx
        
                - name: code
                  type: long
                  description: >
                    Layer 5-7 code, if available.
        
                - name: duration
                  type: long
                  description: >
                    Time in ms that it took to finish the last health check.
        
                - name: health.last
                  type: keyword
                  description: >
                    The result of the last health check.
        
                - name: health.fail
                  type: long
                  description: >
                    Number of failed checks.
        
                - name: agent.last
                  type: integer
                  description: >
        
                - name: failed
                  type: long
                  description: >
                    Number of checks that failed while the server was up.
        
                - name: down
                  type: long
                  description: >
                    Number of UP->DOWN transitions. For backends, this value is the
                    number of transitions to the whole backend being down, rather than
                    the sum of the transitions for each server.
        
            - name: client.aborted
              type: integer
              description: >
                Number of data transfers aborted by the client.
        
        
            - name: server
              type: group
              description: >
              fields:
        
                - name: id
                  type: integer
                  description: >
                    Server ID (unique inside a proxy).
        
                - name: aborted
                  type: integer
                  description: >
                    Number of data transfers aborted by the server. This value is
                    included in haproxy.stat.response.errors.
        
                - name: active
                  type: integer
                  description: >
                    Number of backend servers that are active, meaning that they are
                    healthy and can receive requests from the load balancer.
        
                - name: backup
                  type: integer
                  description: >
                    Number of backend servers that are backup servers.
        
        
            - name: compressor
              type: group
              description: >
        
              fields:
                - name: in.bytes
                  type: long
                  format: bytes
                  description: >
                    Number of HTTP response bytes fed to the compressor.
        
                - name: out.bytes
                  type: integer
                  format: bytes
                  description: >
                    Number of HTTP response bytes emitted by the compressor.
        
                - name: bypassed.bytes
                  type: long
                  format: bytes
                  description: >
                    Number of bytes that bypassed the HTTP compressor (CPU/BW limit).
        
                - name: response.bytes
                  type: long
                  format: bytes
                  description: >
                    Number of HTTP responses that were compressed.
        
            - name: proxy
              type: group
              description: >
        
              fields:
                - name: id
                  type: integer
                  description: >
                    Unique proxy ID.
        
                - name: name
                  type: keyword
                  description: >
                    Proxy name.
        
        
            - name: queue
              type: group
              description: >
        
              fields:
                - name: limit
                  type: integer
                  description: >
                    Configured queue limit (maxqueue) for the server, or nothing if the
                    value of maxqueue is 0 (meaning no limit).
        
                - name: time.avg
                  type: integer
                  description: >
                    The average queue time in ms over the last 1024 requests.
        
        
        
        
- key: http
  title: "HTTP"
  description: >
    HTTP module
  release: ga
  settings: ["ssl", "http"]
  fields:
    - name: http
      type: group
      description: >
      fields:
        - name: request
          type: group
          description: >
              HTTP request information
          fields:
            - name: header
              type: object
              description: >
                The HTTP headers sent
            - name: method
              type: keyword
              description: >
                The HTTP method used
            - name: body
              type: keyword
              description: >
                The HTTP payload sent
        - name: response
          type: group
          description: >
              HTTP response information
          fields:
            - name: header
              type: object
              description: >
                The HTTP headers received
            - name: code
              type: keyword
              description: >
                The HTTP status code
              example: 404
            - name: phrase
              type: keyword
              example: Not found
              description: >
                The HTTP status phrase
            - name: body
              type: keyword
              description: >
                The HTTP payload received
        - name: json
          type: group
          description: >
            json metricset
          release: ga
          fields:
        - name: server
          type: group
          description: >
            server
          release: beta
          fields:
- key: jolokia
  title: "Jolokia"
  description: >
    Jolokia module
  short_config: false
  release: ga
  settings: ["ssl", "http"]
  fields:
    - name: jolokia
      type: group
      description: >
          jolokia contains metrics exposed via jolokia agent
      fields:
        - release: ga
- key: kafka
  title: "Kafka"
  description: >
    Kafka module
  short_config: false
  release: beta
  fields:
    - name: kafka
      type: group
      description: >
      fields:
        - name: consumergroup
          type: group
          description: >
            consumergroup
          release: beta
          fields:
            - name: broker
              type: group
              description: >
                Broker Consumer Group Information have been read from (Broker handling
                the consumer group).
              fields:
                - name: id
                  type: long
                  description: >
                    Broker id
        
                - name: address
                  type: keyword
                  description: >
                    Broker address
        
            - name: id
              type: keyword
              description: Consumer Group ID
        
            - name: topic
              type: keyword
              description: Topic name
        
            - name: partition
              type: long
              description: Partition ID
        
            - name: offset
              type: long
              description: consumer offset into partition being read
        
            - name: meta
              type: text
              description: custom consumer meta data string
        
            - name: error.code
              type: long
              description: >
                kafka consumer/partition error code.
        
            - name: client
              type: group
              description: >
                Assigned client reading events from partition
              fields:
                - name: id
                  type: keyword
                  description: Client ID (kafka setting client.id)
        
                - name: host
                  type: keyword
                  description: Client host
        
                - name: member_id
                  type: keyword
                  description: internal consumer group member ID
        - name: partition
          type: group
          description: >
            partition
          release: beta
          fields:
            - name: offset
              type: group
              description: >
                Available offsets of the given partition.
              fields:
                - name: newest
                  type: long
                  description: >
                    Newest offset of the partition.
                - name: oldest
                  type: long
                  description: >
                    Oldest offset of the partition.
        
            - name: partition
              type: group
              description: >
                Partition data.
              fields:
                - name: id
                  type: long
                  description: >
                    Partition id.
        
                - name: leader
                  type: long
                  description: >
                    Leader id (broker).
                - name: isr
                  type: array
                  description: >
                    List of isr ids.
                - name: replica
                  type: long
                  description: >
                    Replica id (broker).
        
                - name: insync_replica
                  type: boolean
                  description: >
                    Indicates if replica is included in the in-sync replicate set (ISR).
        
                - name: error.code
                  type: long
                  description: >
                    Error code from fetching partition.
        
            - name: topic.error.code
              type: long
              description: >
                topic error code.
            - name: topic.name
              type: keyword
              description: >
                Topic name
        
            - name: broker.id
              type: long
              description: >
                Broker id
            - name: broker.address
              type: keyword
              description: >
                Broker address
        
        
- key: kibana
  title: "Kibana"
  description: >
    Kibana module
  short_config: false
  release: beta
  settings: ["ssl", "http"]
  fields:
    - name: kibana
      type: group
      description: >
      fields:
        - name: stats
          type: group
          description: >
            Kibana stats and run-time metrics.
          release: beta
          fields:
            - name: uuid
              type: keyword
              description: >
                Kibana instance UUID
            - name: name
              type: text
              description: >
                Kibana instance name
            - name: index
              type: keyword
              description: >
                Name of Kibana's internal index
            - name: host.name
              type: keyword
              description: >
                Kibana instance hostname
            - name: transport_address
              type: keyword
              description: >
                Kibana server's hostname and port
            - name: version
              type: keyword
              description: >
                Kibana version
            - name: snapshot
              type: boolean
              description: >
                Whether the Kibana build is a snapshot build
            - name: status
              type: keyword
              description: >
                Kibana instance's health status
            - name: concurrent_connections
              type: long
              description: >
                Number of client connections made to the server. Note that browsers can send multiple simultaneous connections to request multiple server assets at once, and they can re-use established connections.
            - name: process
              type: group
              description: >
                Process metrics
              fields:
              - name: event_loop_delay.ms
                type: scaled_float
                description: >
                  Event loop delay in milliseconds
              - name: memory.heap
                type: group
                description: >
                  Process heap metrics
                fields:
                - name: total.bytes
                  type: long
                  format: bytes
                  description: >
                    Total heap allocated to process in bytes
                - name: used.bytes
                  type: long
                  format: bytes
                  description: >
                    Heap used by process in bytes
                - name: size_limit.bytes
                  type: long
                  format: bytes
                  description: >
                    Max. old space size allocated to Node.js process, in bytes
                - name: uptime.ms
                  type: long
                  description: >
                    Uptime of process in milliseconds
            - name: request
              type: group
              description: >
                  Request count metrics
              fields:
                - name: disconnects
                  type: long
                  description: >
                    Number of requests that were disconnected
                - name: total
                  type: long
                  description: >
                    Total number of requests
            - name: response_time
              type: group
              description: >
                Response times metrics
              fields:
                - name: avg.ms
                  type: long
                  description: >
                    Average response time in milliseconds
                - name: max.ms
                  type: long
                  description: >
                    Maximum response time in milliseconds
        - name: status
          type: group
          description: >
            Status fields
          release: beta
          fields:
            - name: name
              type: keyword
              description: >
                Kibana instance name.
            - name: uuid
              type: keyword
              description: >
                Kibana instance uuid.
            - name: version.number
              type: keyword
              description: >
                Kibana version number.
            - name: status.overall.state
              type: keyword
              description: >
                Kibana overall state.
            - name: metrics
              type: group
              description: >
                Metrics fields
              fields:
                - name: concurrent_connections
                  type: long
                  description: >
                    Current concurrent connections.
                - name: requests
                  type: group
                  description: >
                    Request statistics.
                  fields:
                    - name: disconnects
                      type: long
                      description: >
                        Total number of disconnected connections.
                    - name: total
                      type: long
                      description: >
                        Total number of connections.
- key: kubernetes
  title: "Kubernetes"
  description: >
    Kubernetes metrics
  release: ga
  settings: ["ssl", "http"]
  short_config: false
  fields:
    - name: kubernetes
      type: group
      description: >
        Information and statistics of pods managed by kubernetes.
      fields:
        - name: apiserver
          type: group
          description: >
            Kubernetes API server metrics
          release: beta
          fields:
            - name: request.client
              type: keyword
              description: >
                Client doing the requests
            - name: request.resource
              type: keyword
              description: >
                Requested resource
            - name: request.subresource
              type: keyword
              description: >
                Requested subresource
            - name: request.scope
              type: keyword
              description: >
                Request scope (cluster, namespace, resource)
            - name: request.verb
              type: keyword
              description: >
                Request HTTP verb
            - name: request.count
              type: long
              description: >
                Total number of requests
            - name: request.latency.sum
              type: long
              description: >
                Requests latency, sum of latencies in microseconds
            - name: request.latency.count
              type: long
              description: >
                Request latency, number of requests
            - name: request.latency.bucket
              type: object
              object_type: long
              description: >
                Request latency histogram buckets
        - name: container
          type: group
          description: >
            kubernetes container metrics
          release: ga
          fields:
            - name: start_time
              type: date
              description: >
                Start time
            - name: cpu
              type: group
              description: >
                CPU usage metrics
              fields:
                - name: usage
                  type: group
                  fields:
                    - name: core
                      type: group
                      fields:
                        - name: ns
                          type: long
                          description: >
                            Container CPU Core usage nanoseconds
                    - name: nanocores
                      type: long
                      description: >
                        CPU used nanocores
                    - name: node.pct
                      type: scaled_float
                      format: percentage
                      description: >
                        CPU usage as a percentage of the total node allocatable CPU
                    - name: limit.pct
                      type: scaled_float
                      format: percentage
                      description: >
                        CPU usage as a percentage of the defined limit for the container (or total node allocatable CPU if unlimited)
            - name: logs
              type: group
              description: >
                Logs info
              fields:
                - name: available
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Logs available capacity in bytes
                - name: capacity
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Logs total capacity in bytes
                - name: used
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Logs used capacity in bytes
                - name: inodes
                  type: group
                  fields:
                    - name: count
                      type: long
                      description: >
                        Total available inodes
                    - name: free
                      type: long
                      description: >
                        Total free inodes
                    - name: used
                      type: long
                      description: >
                        Total used inodes
            - name: memory
              type: group
              fields:
                - name: available
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Total available memory
                - name: usage
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Total memory usage
                    - name: node.pct
                      type: scaled_float
                      format: percentage
                      description: >
                        Memory usage as a percentage of the total node allocatable memory
                    - name: limit.pct
                      type: scaled_float
                      format: percentage
                      description: >
                        Memory usage as a percentage of the defined limit for the container (or total node allocatable memory if unlimited)
                - name: rss
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        RSS memory usage
                - name: workingset
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Working set memory usage
                - name: pagefaults
                  type: long
                  description: >
                    Number of page faults
                - name: majorpagefaults
                  type: long
                  description: >
                    Number of major page faults
            - name: rootfs
              type: group
              fields:
                - name: capacity
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Root filesystem total capacity in bytes
                - name: available
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Root filesystem total available in bytes
                - name: used
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Root filesystem total used in bytes
                - name: inodes
                  type: group
                  fields:
                    - name: used
                      type: long
                      description: >
                        Used inodes
        - name: event
          type: group
          description: >
            The Kubernetes events metricset collects events that are generated by objects running
            inside of Kubernetes
          release: beta
          fields:
          - name: count
            type: long
            description: >
              Count field records the number of times the particular event has occurred
          - name: timestamp
            type: group
            fields:
            - name: first_occurrence
              type: date
              description: >
                Timestamp of first occurrence of event
            - name: last_occurrence
              type: date
              description: >
                Timestamp of last occurrence of event
          - name: message
            type: keyword
            description: >
              Message recorded for the given event
          - name: reason
            type: keyword
            description: >
              Reason recorded for the given event
          - name: type
            type: keyword
            description: >
              Type of the given event
          - name: metadata
            type: group
            description: >
              Metadata associated with the given event
            fields:
            - name: timestamp
              type: group
              fields:
              - name: created
                type: date
                description: >
                  Timestamp of creation of the given event
            - name: name
              type: keyword
              description: >
                Name of the event
            - name: namespace
              type: keyword
              description: >
                Namespace in which event was generated
            - name: resource_version
              type: keyword
              description: >
                Version of the event resource
            - name: uid
              type: keyword
              description: >
                Unique identifier to the event object
            - name: self_link
              type: keyword
              description: >
                URL representing the event
          - name: involved_object
            type: group
            description: >
              Metadata associated with the given involved object
            fields:
            - name: api_version
              type: keyword
              description: >
                API version of the object
            - name: kind
              type: keyword
              description: >
                API kind of the object
            - name: name
              type: keyword
              description: >
                name of the object
            - name: resource_version
              type: keyword
              description: >
                resource version of the object
            - name: uid
              type: keyword
              description: >
                UUID version of the object
        - name: node
          type: group
          description: >
            kubernetes node metrics
          release: ga
          fields:
            - name: start_time
              type: date
              description: >
                Start time
            - name: cpu
              type: group
              description: >
                CPU usage metrics
              fields:
                - name: usage
                  type: group
                  fields:
                    - name: core
                      type: group
                      fields:
                        - name: ns
                          type: long
                          description: >
                            Node CPU Core usage nanoseconds
                    - name: nanocores
                      type: long
                      description: >
                        CPU used nanocores
            - name: memory
              type: group
              fields:
                - name: available
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Total available memory
                - name: usage
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Total memory usage
                - name: rss
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        RSS memory usage
                - name: workingset
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Working set memory usage
                - name: pagefaults
                  type: long
                  description: >
                    Number of page faults
                - name: majorpagefaults
                  type: long
                  description: >
                    Number of major page faults
            - name: network
              type: group
              fields:
                - name: rx
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Received bytes
                    - name: errors
                      type: long
                      description: >
                        Rx errors
                - name: tx
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Transmitted bytes
                    - name: errors
                      type: long
                      description: >
                        Tx errors
            - name: fs
              type: group
              fields:
                - name: capacity
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Filesystem total capacity in bytes
                - name: available
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Filesystem total available in bytes
                - name: used
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Filesystem total used in bytes
                - name: inodes
                  type: group
                  fields:
                    - name: used
                      type: long
                      description: >
                        Number of used inodes
                    - name: count
                      type: long
                      description: >
                        Number of inodes
                    - name: free
                      type: long
                      description: >
                        Number of free inodes
            - name: runtime
              type: group
              fields:
                - name: imagefs
                  type: group
                  fields:
                    - name: capacity
                      type: group
                      fields:
                        - name: bytes
                          type: long
                          format: bytes
                          description: >
                            Image filesystem total capacity in bytes
                    - name: available
                      type: group
                      fields:
                        - name: bytes
                          type: long
                          format: bytes
                          description: >
                            Image filesystem total available in bytes
                    - name: used
                      type: group
                      fields:
                        - name: bytes
                          type: long
                          format: bytes
                          description: >
                            Image filesystem total used in bytes
        - name: pod
          type: group
          description: >
            kubernetes pod metrics
          release: ga
          fields:
            - name: start_time
              type: date
              description: >
                Start time
            - name: network
              type: group
              fields:
                - name: rx
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Received bytes
                    - name: errors
                      type: long
                      description: >
                        Rx errors
                - name: tx
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Transmitted bytes
                    - name: errors
                      type: long
                      description: >
                        Tx errors
            - name: cpu
              type: group
              description: >
                CPU usage metrics
              fields:
                - name: usage
                  type: group
                  fields:
                    - name: nanocores
                      type: long
                      description: >
                        CPU used nanocores
                    - name: node.pct
                      type: scaled_float
                      format: percentage
                      description: >
                        CPU usage as a percentage of the total node CPU
                    - name: limit.pct
                      type: scaled_float
                      format: percentage
                      description: >
                        CPU usage as a percentage of the defined limit for the pod containers (or total node CPU if unlimited)
            - name: memory
              type: group
              fields:
                - name: usage
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Total memory usage
                    - name: node.pct
                      type: scaled_float
                      format: percentage
                      description: >
                        Memory usage as a percentage of the total node allocatable memory
                    - name: limit.pct
                      type: scaled_float
                      format: percentage
                      description: >
                        Memory usage as a percentage of the defined limit for the pod containers (or total node allocatable memory if unlimited)
        - name: container
          type: group
          description: >
            kubernetes container metrics
          release: ga
          fields:
            - name: id
              type: keyword
              description:
                Container id
            - name: status
              type: group
              fields:
                - name: phase
                  type: keyword
                  description: >
                        Container phase (running, waiting, terminated)
                - name: ready
                  type: boolean
                  description: >
                    Container ready status
                - name: restarts
                  type: integer
                  description: >
                    Container restarts count
                - name: reason
                  type: keyword
                  description: >
                    Waiting (ContainerCreating, CrashLoopBackoff, ErrImagePull, ImagePullBackoff)
                    or termination (Completed, ContainerCannotRun, Error, OOMKilled) reason.
            - name: cpu
              type: group
              fields:
                - name: limit.cores
                  type: long
                  description: >
                    Container CPU cores limit
                - name: request.cores
                  type: long
                  description: >
                    Container CPU requested cores
                - name: limit.nanocores
                  type: long
                  deprecated: true
                  description: >
                    Container CPU nanocores limit
                - name: request.nanocores
                  deprecated: true
                  type: long
                  description: >
                    Container CPU requested nanocores
            - name: memory
              type: group
              fields:
                - name: limit.bytes
                  type: long
                  format: bytes
                  description: >
                    Container memory limit in bytes
                - name: request.bytes
                  type: long
                  format: bytes
                  description: >
                    Container requested memory in bytes
        - name: deployment
          type: group
          description: >
            kubernetes deployment metrics
          release: ga
          fields:
            - name: name
              type: keyword
              description: >
                Kubernetes deployment name
            - name: paused
              type: boolean
              description: >
                Kubernetes deployment paused status
            - name: replicas
              type: group
              description: >
                Kubernetes deployment replicas info
              fields:
                - name: desired
                  type: integer
                  description: >
                    Deployment number of desired replicas (spec)
                - name: available
                  type: integer
                  description: >
                    Deployment available replicas
                - name: unavailable
                  type: integer
                  description: >
                    Deployment unavailable replicas
                - name: updated
                  type: integer
                  description: >
                    Deployment updated replicas
        - name: node
          type: group
          description: >
            kubernetes node metrics
          release: ga
          fields:
            - name: status
              type: group
              fields:
                - name: ready
                  type: keyword
                  description: >
                    Node ready status (true, false or unknown)
                - name: unschedulable
                  type: boolean
                  description: >
                    Node unschedulable status
            - name: cpu
              type: group
              fields:
                - name: allocatable.cores
                  type: float
                  description: >
                    Node CPU allocatable cores
                - name: capacity.cores
                  type: long
                  description: >
                    Node CPU capacity cores
            - name: memory
              type: group
              fields:
                - name: allocatable.bytes
                  type: long
                  format: bytes
                  description: >
                    Node allocatable memory in bytes
                - name: capacity.bytes
                  type: long
                  format: bytes
                  description: >
                    Node memory capacity in bytes
            - name: pod
              type: group
              fields:
                - name: allocatable.total
                  type: long
                  description: >
                    Node allocatable pods
                - name: capacity.total
                  type: long
                  description: >
                    Node pod capacity
        - name: pod
          type: group
          description: >
            kubernetes pod metrics
          release: ga
          fields:
            - name: ip
              type: ip
              description: >
                Kubernetes pod IP
            - name: host_ip
              type: ip
              description: >
                Kubernetes pod host IP
            - name: status
              type: group
              description: >
                Kubernetes pod status metrics
              fields:
                - name: phase
                  type: keyword
                  description: >
                    Kubernetes pod phase (Running, Pending...)
                - name: ready
                  type: keyword
                  description: >
                    Kubernetes pod ready status (true, false or unknown)
                - name: scheduled
                  type: keyword
                  description: >
                    Kubernetes pod scheduled status (true, false, unknown)
        - name: replicaset
          type: group
          description: >
            kubernetes replica set metrics
          release: ga
          fields:
            - name: name
              type: keyword
              description: >
                Kubernetes replica set name
            - name: replicas
              type: group
              description: >
                Kubernetes replica set paused status
              fields:
                - name: available
                  type: long
                  description: >
                    The number of replicas per ReplicaSet
                - name: desired
                  type: long
                  description: >
                    The number of replicas per ReplicaSet
                - name: ready
                  type: long
                  description: >
                    The number of ready replicas per ReplicaSet
                - name: observed
                  type: long
                  description: >
                    The generation observed by the ReplicaSet controller
                - name: labeled
                  type: long
                  description: >
                    The number of fully labeled replicas per ReplicaSet
        - name: statefulset
          type: group
          description: >
            kubernetes stateful set metrics
          release: ga
          fields:
            - name: name
              type: keyword
              description: >
                Kubernetes stateful set name
            - name: created
              type: long
              description: >
                The creation timestamp (epoch) for StatefulSet
            - name: replicas
              type: group
              description: >
                Kubernetes stateful set replicas status
              fields:
                - name: observed
                  type: long
                  description: >
                    The number of observed replicas per StatefulSet
                - name: desired
                  type: long
                  description: >
                    The number of desired replicas per StatefulSet
            - name: generation
              type: group
              description: >
                Kubernetes stateful set generation information
              fields:
                - name: observed
                  type: long
                  description: >
                    The observed generation per StatefulSet
                - name: desired
                  type: long
                  description: >
                    The desired generation per StatefulSet
        - name: system
          type: group
          description: >
            kubernetes system containers metrics
          release: ga
          fields:
            - name: container
              type: keyword
              description: >
                Container name
            - name: start_time
              type: date
              description: >
                Start time
            - name: cpu
              type: group
              description: >
                CPU usage metrics
              fields:
                - name: usage
                  type: group
                  fields:
                    - name: core
                      type: group
                      fields:
                        - name: ns
                          type: long
                          description: >
                            CPU Core usage nanoseconds
                    - name: nanocores
                      type: long
                      description: >
                        CPU used nanocores
            - name: memory
              type: group
              fields:
                - name: usage
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Total memory usage
                - name: rss
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        RSS memory usage
                - name: workingset
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Working set memory usage
                - name: pagefaults
                  type: long
                  description: >
                    Number of page faults
                - name: majorpagefaults
                  type: long
                  description: >
                    Number of major page faults
        - name: volume
          type: group
          description: >
            kubernetes volume metrics
          release: ga
          fields:
            - name: name
              type: keyword
              description: >
                Volume name
            - name: fs
              type: group
              fields:
                - name: capacity
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Filesystem total capacity in bytes
                - name: available
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Filesystem total available in bytes
                - name: used
                  type: group
                  fields:
                    - name: bytes
                      type: long
                      format: bytes
                      description: >
                        Filesystem total used in bytes
                - name: inodes
                  type: group
                  fields:
                    - name: used
                      type: long
                      description: >
                        Used inodes
                    - name: free
                      type: long
                      description: >
                        Free inodes
                    - name: count
                      type: long
                      description: >
                        Total inodes
- key: kvm
  title: "kvm"
  description: >
    experimental[]

    kvm module
  fields:
    - name: kvm
      type: group
      description: >
      fields:
        - name: dommemstat
          type: group
          description: >
            dommemstat
          fields:
              - name: stat
                type: group
                description: >
                  Memory stat
                fields:
                  - name: name
                    type: keyword
                    description: >
                      Memory stat name
                  - name: value
                    type: long
                    description: >
                      Memory stat value
              - name: id
                type: long
                description: >
                  Domain id
              - name: name
                type: keyword
                description: >
                  Domain name
- key: logstash
  title: "Logstash"
  description: >
    Logstash module
  release: beta
  settings: ["ssl", "http"]
  fields:
    - name: logstash
      type: group
      description: >
      fields:
        - name: node
          type: group
          description: >
            node
          release: beta
          fields:
            - name: host
              type: keyword
              description: >
                Host name
            - name: version
              type: keyword
              description: >
                Logstash Version
            - name: jvm
              type: group
              description: >
                JVM Info
              fields:
                - name: version
                  type: keyword
                  description: >
                    Version
                - name: pid
                  type: long
                  description: >
                    Pid
        - name: node.stats
          type: group
          description: >
            node_stats metrics.
          release: beta
          fields:
            - name: events
              type: group
              description: >
                Events stats
              fields:
                - name: in
                  type: long
                  description: >
                    Incoming events counter.
                - name: out
                  type: long
                  description: >
                    Outgoing events counter.
                - name: filtered
                  type: long
                  description: >
                    Filtered events counter.
- key: memcached
  title: "Memcached"
  description: >
    Memcached module
  short_config: false
  release: beta
  fields:
    - name: memcached
      type: group
      description: >
      fields:
        - name: stats
          type: group
          description: >
            stats
          release: beta
          fields:
            - name: pid
              type: long
              description: >
                Current process ID of the Memcached task.
        
            - name: uptime.sec
              type: long
              description: >
                Memcached server uptime.
        
            - name: threads
              type: long
              description: >
                Number of threads used by the current Memcached server process.
        
            - name: connections.current
              type: long
              description: >
                Number of open connections to this Memcached server, should be the same
                value on all servers during normal operation.
        
            - name: connections.total
              type: long
              description: >
                Numer of successful connect attempts to this server since it has been started.
        
            - name: get.hits
              type: long
              description: >
                Number of successful "get" commands (cache hits) since startup, divide them
                by the "cmd_get" value to get the cache hitrate.
        
            - name: get.misses
              type: long
              description: >
                Number of failed "get" requests because nothing was cached for this key
                or the cached value was too old.
        
            - name: cmd.get
              type: long
              description: >
                Number of "get" commands received since server startup not counting if they
                were successful or not.
        
            - name: cmd.set
              type: long
              description: >
                Number of "set" commands serviced since startup.
        
            - name: read.bytes
              type: long
              formate: bytes
              description: >
                Total number of bytes received from the network by this server.
        
            - name: written.bytes
              type: long
              formate: bytes
              description: >
                Total number of bytes send to the network by this server.
        
            - name: items.current
              type: long
              description: >
                Number of items currently in this server's cache.
        
            - name: items.total
              type: long
              formate: bytes
              description: >
                Number of items stored ever stored on this server. This is no "maximum item
                count" value but a counted increased by every new item stored in the cache.
        
            - name: evictions
              type: long
              formate: bytes
              description: >
                Number of objects removed from the cache to free up memory for new items
                because Memcached reached it's maximum memory setting (limit_maxbytes).
- key: mongodb
  title: "MongoDB"
  description: >
    Metrics collected from MongoDB servers.
  short_config: false
  release: ga
  settings: ["ssl"]
  fields:
    - name: mongodb
      type: group
      description: >
        MongoDB metrics.
      fields:
        - name: collstats
          type: group
          description: >
            MongoDB collection statistics metrics.
          release: ga
          fields:
            - name: db
              type: keyword
              description: >
                Database name.
        
            - name: collection
              type: keyword
              description: >
                Collection name.
        
            - name: name
              type: keyword
              description: >
                Combination of database and collection name.
        
            - name: total.time.us
              type: long
              description: >
                Total waiting time for locks in microseconds.
            - name: total.count
              type: long
              description: >
                Total number of lock wait events.
        
            - name: lock
              type: group
              fields:
                - name: read.time.us
                  type: long
                  description: >
                    Time waiting for read locks in microseconds.
                - name: read.count
                  type: long
                  description: >
                    Number of read lock wait events.
        
                - name: write.time.us
                  type: long
                  description: >
                    Time waiting for write locks in microseconds.
                - name: write.count
                  type: long
                  description: >
                    Number of write lock wait events.
        
            - name: queries.time.us
              type: long
              description: >
                Time running queries in microseconds.
            - name: queries.count
              type: long
              description: >
                Number of queries executed.
        
            - name: getmore.time.us
              type: long
              description: >
                Time asking for more cursor rows in microseconds.
            - name: getmore.count
              type: long
              description: >
                Number of times a cursor asked for more data.
        
            - name: insert.time.us
              type: long
              description: >
                Time inserting new documents in microseconds.
            - name: insert.count
              type: long
              description: >
                Number of document insert events.
        
            - name: update.time.us
              type: long
              description: >
                Time updating documents in microseconds.
            - name: update.count
              type: long
              description: >
                Number of document update events.
        
            - name: remove.time.us
              type: long
              description: >
                Time deleting documents in microseconds.
            - name: remove.count
              type: long
              description: >
                Number of document delete events.
        
            - name: commands.time.us
              type: long
              description: >
                Time executing database commands in microseconds.
            - name: commands.count
              type: long
              description: >
                Number of database commands executed.
        - name: dbstats
          type: group
          description: >
            dbstats provides an overview of a particular mongo database. This document
            is most concerned with data volumes of a database.
          release: ga
          fields:
            - name: avg_obj_size.bytes
              type: long
              format: bytes
        
            - name: collections
              type: integer
        
            - name: data_size.bytes
              type: long
              format: bytes
        
            - name: db
              type: keyword
        
            - name: file_size.bytes
              type: long
              format: bytes
        
            - name: index_size.bytes
              type: long
              format: bytes
        
            - name: indexes
              type: long
        
            - name: num_extents
              type: long
        
            - name: objects
              type: long
        
            - name: storage_size.bytes
              type: long
              format: bytes
        
            - name: ns_size_mb.mb
              type: long
        
            - name: data_file_version
              type: group
              fields:
                - name: major
                  type: long
        
                - name: minor
                  type: long
        
            - name: extent_free_list
              type: group
              fields:
                - name: num
                  type: long
        
                - name: size.bytes
                  type: long
                  format: bytes
        - name: status
          type: group
          description: >
            MongoDB server status metrics.
          release: ga
          fields:
            - name: version
              type: keyword
              description: >
                Instance version.
            - name: process
              type: keyword
              description: >
                The current MongoDB process. Possible values are mongos or mongod.
            - name: uptime.ms
              type: long
              description: >
                Instance uptime in milliseconds.
            - name: local_time
              type: date
              description: >
                Local time as reported by the MongoDB instance.
        
            - name: asserts.regular
              type: long
              description: >
                Number of regular assertions produced by the server.
            - name: asserts.warning
              type: long
              description: >
                Number of warning assertions produced by the server.
            - name: asserts.msg
              type: long
              description: >
                Number of msg assertions produced by the server.
            - name: asserts.user
              type: long
              description: >
                Number of user assertions produced by the server.
            - name: asserts.rollovers
              type: long
              description: >
                Number of rollovers assertions produced by the server.
        
            - name: connections
              type: group
              description: >
                Data regarding the current status of incoming connections and
                availability of the database server.
              fields:
                - name: current
                  type: long
                  description: >
                    The number of connections to the database server from clients. This
                    number includes the current shell session. Consider the value of
                    `available` to add more context to this datum.
                - name: available
                  type: long
                  description: >
                     The number of unused available incoming connections the database
                     can provide.
                - name: total_created
                  type: long
                  description: >
                    A count of all incoming connections created to the server. This
                    number includes connections that have since closed.
        
            - name: extra_info
              type: group
              description: >
                Platform specific data.
              fields:
                - name: heap_usage.bytes
                  type: long
                  format: bytes
                  description: >
                    The total size in bytes of heap space used by the database process.
                    Only available on Unix/Linux.
                - name: page_faults
                  type: long
                  description: >
                    The total number of page faults that require disk operations. Page
                    faults refer to operations that require the database server to
                    access data that isn't available in active memory.
        
            - name: global_lock
              type: group
              description: >
                Reports on lock state of the database.
              fields:
                  - name: total_time.us
                    type: long
                    description: >
                      The time, in microseconds, since the database last started and created the globalLock.
                      This is roughly equivalent to total server uptime.
                  - name: current_queue
                    type: group
                    description: >
                      The number of operations queued because of a lock.
                    fields:
                      - name: total
                        type: long
                        description: >
                          The total number of operations queued waiting for the lock (i.e., the sum of current_queue.readers and current_queue.writers).
                      - name: readers
                        type: long
                        description: >
                          The number of operations that are currently queued and waiting for the read lock.
                      - name: writers
                        type: long
                        description: >
                          The number of operations that are currently queued and waiting for the write lock.
                  - name: active_clients
                    type: group
                    description: >
                      The number of connected clients and the read and write operations performed by these clients.
                    fields:
                      - name: total
                        type: long
                        description: >
                          Total number of the active client connections performing read or write operations.
                      - name: readers
                        type: long
                        description: >
                          The number of the active client connections performing read operations.
                      - name: writers
                        type: long
                        description: >
                          The number of the active client connections performing write operations.
            - name: locks
              type: group
              description: >
                A document that reports for each lock <type>, data on lock <mode>s.
                The possible lock <type>s are global, database, collection, metadata and oplog.
                The possible <mode>s are r, w, R and W which respresent shared, exclusive, intent shared and intent exclusive.
        
                locks.<type>.acquire.count.<mode> shows the number of times the lock was acquired in the specified mode.
                locks.<type>.wait.count.<mode> shows the number of times the locks.acquireCount lock acquisitions encountered waits
                because the locks were held in a conflicting mode.
                locks.<type>.wait.us.<mode> shows the cumulative wait time in microseconds for the lock acquisitions.
                locks.<type>.deadlock.count.<mode> shows the number of times the lock acquisitions encountered deadlocks.
              fields:
                - name: global
                  type: group
                  fields:
                    - name: acquire.count.r
                      type: long
                    - name: acquire.count.w
                      type: long
                    - name: acquire.count.R
                      type: long
                    - name: acquire.count.W
                      type: long
                    - name: wait.count.r
                      type: long
                    - name: wait.count.w
                      type: long
                    - name: wait.count.R
                      type: long
                    - name: wait.count.W
                      type: long
                    - name: wait.us.r
                      type: long
                    - name: wait.us.w
                      type: long
                    - name: wait.us.R
                      type: long
                    - name: wait.us.W
                      type: long
                    - name: deadlock.count.r
                      type: long
                    - name: deadlock.count.w
                      type: long
                    - name: deadlock.count.R
                      type: long
                    - name: deadlock.count.W
                      type: long
                - name: database
                  type: group
                  fields:
                    - name: acquire.count.r
                      type: long
                    - name: acquire.count.w
                      type: long
                    - name: acquire.count.R
                      type: long
                    - name: acquire.count.W
                      type: long
                    - name: wait.count.r
                      type: long
                    - name: wait.count.w
                      type: long
                    - name: wait.count.R
                      type: long
                    - name: wait.count.W
                      type: long
                    - name: wait.us.r
                      type: long
                    - name: wait.us.w
                      type: long
                    - name: wait.us.R
                      type: long
                    - name: wait.us.W
                      type: long
                    - name: deadlock.count.r
                      type: long
                    - name: deadlock.count.w
                      type: long
                    - name: deadlock.count.R
                      type: long
                    - name: deadlock.count.W
                      type: long
                - name: collection
                  type: group
                  fields:
                    - name: acquire.count.r
                      type: long
                    - name: acquire.count.w
                      type: long
                    - name: acquire.count.R
                      type: long
                    - name: acquire.count.W
                      type: long
                    - name: wait.count.r
                      type: long
                    - name: wait.count.w
                      type: long
                    - name: wait.count.R
                      type: long
                    - name: wait.count.W
                      type: long
                    - name: wait.us.r
                      type: long
                    - name: wait.us.w
                      type: long
                    - name: wait.us.R
                      type: long
                    - name: wait.us.W
                      type: long
                    - name: deadlock.count.r
                      type: long
                    - name: deadlock.count.w
                      type: long
                    - name: deadlock.count.R
                      type: long
                    - name: deadlock.count.W
                      type: long
                - name: meta_data
                  type: group
                  fields:
                    - name: acquire.count.r
                      type: long
                    - name: acquire.count.w
                      type: long
                    - name: acquire.count.R
                      type: long
                    - name: acquire.count.W
                      type: long
                    - name: wait.count.r
                      type: long
                    - name: wait.count.w
                      type: long
                    - name: wait.count.R
                      type: long
                    - name: wait.count.W
                      type: long
                    - name: wait.us.r
                      type: long
                    - name: wait.us.w
                      type: long
                    - name: wait.us.R
                      type: long
                    - name: wait.us.W
                      type: long
                    - name: deadlock.count.r
                      type: long
                    - name: deadlock.count.w
                      type: long
                    - name: deadlock.count.R
                      type: long
                    - name: deadlock.count.W
                      type: long
                - name: oplog
                  type: group
                  fields:
                    - name: acquire.count.r
                      type: long
                    - name: acquire.count.w
                      type: long
                    - name: acquire.count.R
                      type: long
                    - name: acquire.count.W
                      type: long
                    - name: wait.count.r
                      type: long
                    - name: wait.count.w
                      type: long
                    - name: wait.count.R
                      type: long
                    - name: wait.count.W
                      type: long
                    - name: wait.us.r
                      type: long
                    - name: wait.us.w
                      type: long
                    - name: wait.us.R
                      type: long
                    - name: wait.us.W
                      type: long
                    - name: deadlock.count.r
                      type: long
                    - name: deadlock.count.w
                      type: long
                    - name: deadlock.count.R
                      type: long
                    - name: deadlock.count.W
                      type: long
        
            - name: network
              type: group
              description: >
                Platform specific data.
              fields:
                - name: in.bytes
                  type: long
                  format: bytes
                  description: >
                    The amount of network traffic, in bytes, received by this database.
                - name: out.bytes
                  type: long
                  format: bytes
                  description: >
                    The amount of network traffic, in bytes, sent from this database.
                - name: requests
                  type: long
                  description: >
                    The total number of requests received by the server.
        
            - name: ops.latencies
              type: group
              description: >
                Operation latencies for the database as a whole.
                Only mongod instances report this metric.
              fields:
                - name: reads.latency
                  type: long
                  description: >
                    Total combined latency in microseconds.
                - name: reads.count
                  type: long
                  description: >
                    Total number of read operations performed on the collection since startup.
                - name: writes.latency
                  type: long
                  description: >
                    Total combined latency in microseconds.
                - name: writes.count
                  type: long
                  description: >
                    Total number of write operations performed on the collection since startup.
                - name: commands.latency
                  type: long
                  description: >
                    Total combined latency in microseconds.
                - name: commands.count
                  type: long
                  description: >
                    Total number of commands performed on the collection since startup.
        
            - name: ops.counters
              type: group
              description: >
                An overview of database operations by type.
              fields:
                - name: insert
                  type: long
                  description: >
                    The total number of insert operations received since the mongod
                    instance last started.
                - name: query
                  type: long
                  description: >
                    The total number of queries received since the mongod instance last
                    started.
                - name: update
                  type: long
                  description: >
                    The total number of update operations received since the mongod
                    instance last started.
                - name: delete
                  type: long
                  description: >
                    The total number of delete operations received since the mongod
                    instance last started.
                - name: getmore
                  type: long
                  description: >
                    The total number of getmore operations received since the mongod
                    instance last started.
                - name: command
                  type: long
                  description: >
                    The total number of commands issued to the database since the mongod
                    instance last started.
        
            - name: ops.replicated
              type: group
              description: >
                An overview of database replication operations by type.
              fields:
                - name: insert
                  type: long
                  description: >
                    The total number of replicated insert operations received since the
                    mongod instance last started.
                - name: query
                  type: long
                  description: >
                    The total number of replicated queries received since the mongod
                    instance last started.
                - name: update
                  type: long
                  description: >
                    The total number of replicated update operations received since the
                    mongod instance last started.
                - name: delete
                  type: long
                  description: >
                    The total number of replicated delete operations received since the
                    mongod instance last started.
                - name: getmore
                  type: long
                  description: >
                    The total number of replicated getmore operations received since the
                    mongod instance last started.
                - name: command
                  type: long
                  description: >
                    The total number of replicated commands issued to the database since
                    the mongod instance last started.
        
            - name: memory
              type: group
              description: >
                Data about the current memory usage of the mongod server.
              fields:
                - name: bits
                  type: long
                  description: >
                    Either 64 or 32, depending on which target architecture was specified
                    during the mongod compilation process.
                - name: resident.mb
                  type: long
                  description: >
                    The amount of RAM, in megabytes (MB), currently used by the database
                    process.
                - name: virtual.mb
                  type: long
                  description: >
                   The amount, in megabytes (MB), of virtual memory used by the mongod
                   process.
                - name: mapped.mb
                  type: long
                  description: >
                    The amount of mapped memory, in megabytes (MB), used by the database.
                    Because MongoDB uses memory-mapped files, this value is likely to be
                    to be roughly equivalent to the total size of your database or
                    databases.
                - name: mapped_with_journal.mb
                  type: long
                  description: >
                    The amount of mapped memory, in megabytes (MB), including the memory
                    used for journaling.
            - name: write_backs_queued
              type: boolean
              description: >
                True when there are operations from a mongos instance queued for retrying.
            - name: storage_engine.name
              type: keyword
              description: >
                A string that represents the name of the current storage engine.
        
            - name: wired_tiger
              type: group
              description: >
                Statistics about the WiredTiger storage engine.
              fields:
                - name: concurrent_transactions
                  type: group
                  description: >
                    Statistics about the transactions currently in progress.
                  fields:
                    - name: write.out
                      type: long
                      description: >
                        Number of concurrent write transaction in progress.
                    - name: write.available
                      type: long
                      description: >
                        Number of concurrent write tickets available.
                    - name: write.total_tickets
                      type: long
                      description: >
                        Number of total write tickets.
                    - name: read.out
                      type: long
                      description: >
                        Number of concurrent read transaction in progress.
                    - name: read.available
                      type: long
                      description: >
                        Number of concurrent read tickets available.
                    - name: read.total_tickets
                      type: long
                      description: >
                        Number of total read tickets.
                - name: cache
                  type: group
                  description: >
                    Statistics about the cache and page evictions from the cache.
                  fields:
                    - name: maximum.bytes
                      type: long
                      format: bytes
                      description: >
                        Maximum cache size.
                    - name: used.bytes
                      type: long
                      format: bytes
                      description: >
                        Size in byte of the data currently in cache.
                    - name: dirty.bytes
                      type: long
                      format: bytes
                      description: >
                        Size in bytes of the dirty data in the cache.
                    - name: pages.read
                      type: long
                      description: >
                        Number of pages read into the cache.
                    - name: pages.write
                      type: long
                      description: >
                        Number of pages written from the cache.
                    - name: pages.evicted
                      type: long
                      description: >
                        Number of pages evicted from the cache.
                - name: log
                  type: group
                  description: >
                    Statistics about the write ahead log used by WiredTiger.
                  fields:
                    - name: size.bytes
                      type: long
                      format: bytes
                      description: >
                        Total log size in bytes.
                    - name: write.bytes
                      type: long
                      format: bytes
                      description: >
                        Number of bytes written into the log.
                    - name: max_file_size.bytes
                      type: long
                      format: bytes
                      description: >
                        Maximum file size.
                    - name: flushes
                      type: long
                      description: >
                        Number of flush operations.
                    - name: writes
                      type: long
                      description: >
                        Number of write operations.
                    - name: scans
                      type: long
                      description: >
                        Number of scan operations.
                    - name: syncs
                      type: long
                      description: >
                        Number of sync operations.
        
            - name: background_flushing
              type: group
              description: >
                Data about the process MongoDB uses to write data to disk. This data is
                only available for instances that use the MMAPv1 storage engine.
              fields:
                - name: flushes
                  type: long
                  description: >
                     A counter that collects the number of times the database has
                     flushed all writes to disk.
                - name: total.ms
                  type: long
                  description: >
                    The total number of milliseconds (ms) that the mongod processes have
                    spent writing (i.e. flushing) data to disk. Because this is an
                    absolute value, consider the value of `flushes` and `average_ms` to
                    provide better context for this datum.
                - name: average.ms
                  type: long
                  description: >
                    The average time spent flushing to disk per flush event.
                - name: last.ms
                  type: long
                  description: >
                    The amount of time, in milliseconds, that the last flush operation
                    took to complete.
                - name: last_finished
                  type: date
                  description: >
                    A timestamp of the last completed flush operation.
        
            - name: journaling
              type: group
              description: >
                Data about the journaling-related operations and performance. Journaling
                information only appears for mongod instances that use the MMAPv1
                storage engine and have journaling enabled.
              fields:
                - name: commits
                  type: long
                  description: >
                    The number of transactions written to the journal during the last
                    journal group commit interval.
                - name: journaled.mb
                  type: long
                  description: >
                    The amount of data in megabytes (MB) written to journal during the
                    last journal group commit interval.
                - name: write_to_data_files.mb
                  type: long
                  description: >
                    The amount of data in megabytes (MB) written from journal to the
                    data files during the last journal group commit interval.
                - name: compression
                  type: long
                  description: >
                    The compression ratio of the data written to the journal.
                - name: commits_in_write_lock
                  type: long
                  description: >
                    Count of the commits that occurred while a write lock was held.
                    Commits in a write lock indicate a MongoDB node under a heavy write
                    load and call for further diagnosis.
                - name: early_commits
                  type: long
                  description: >
                    The number of times MongoDB requested a commit before the scheduled
                    journal group commit interval.
                - name: times
                  type: group
                  description: >
                    Information about the performance of the mongod instance during the
                    various phases of journaling in the last journal group commit
                    interval.
                  fields:
                    - name: dt.ms
                      type: long
                      description: >
                        The amount of time over which MongoDB collected the times data.
                        Use this field to provide context to the other times field values.
                    - name: prep_log_buffer.ms
                      type: long
                      description: >
                        The amount of time spent preparing to write to the journal.
                        Smaller values indicate better journal performance.
                    - name: write_to_journal.ms
                      type: long
                      description: >
                        The amount of time spent actually writing to the journal. File
                        system speeds and device interfaces can affect performance.
                    - name: write_to_data_files.ms
                      type: long
                      description: >
                        The amount of time spent writing to data files after journaling.
                        File system speeds and device interfaces can affect performance.
                    - name: remap_private_view.ms
                      type: long
                      description: >
                        The amount of time spent remapping copy-on-write memory mapped
                        views. Smaller values indicate better journal performance.
                    - name: commits.ms
                      type: long
                      description: >
                        The amount of time spent for commits.
                    - name: commits_in_write_lock.ms
                      type: long
                      description: >
                        The amount of time spent for commits that occurred while a write
                        lock was held.
        
- key: munin
  title: "Munin"
  description: >
    Munin node metrics exporter
  release: beta
  fields:
    - name: munin
      type: group
      description: >
          munin contains metrics exposed by a munin node agent
      fields:
        - release: beta
- key: mysql
  title: "MySQL"
  description: >
    MySQL server status metrics collected from MySQL.
  short_config: false
  release: ga
  fields:
    - name: mysql
      type: group
      description: >
        `mysql` contains the metrics that were obtained from MySQL
        query.
      fields:
        - name: galera_status
          type: group
          release: experimental
          description: >
            `galera_status` contains the metrics that were obtained by the status SQL query on Galera.
          fields:
            - name: apply
              type: group
              description: >
                Apply status fields.
              fields:
                - name: oooe
                  type: double
                  description: >
                    How often applier started write-set applying out-of-order (parallelization efficiency).
        
                - name: oool
                  type: double
                  description: >
                    How often write-set was so slow to apply that write-set with higher seqno's were applied earlier.
                    Values closer to 0 refer to a greater gap between slow and fast write-sets.
        
                - name: window
                  type: double
                  description: >
                    Average distance between highest and lowest concurrently applied seqno.
        
            - name: cert
              type: group
              description: >
                Certification status fields.
              fields:
                - name: deps_distance
                  type: double
                  description: >
                    Average distance between highest and lowest seqno value that can be possibly applied in parallel (potential degree of parallelization).
        
                - name: index_size
                  type: long
                  description: >
                    The number of entries in the certification index.
        
                - name: interval
                  type: double
                  description: >
                    Average number of transactions received while a transaction replicates.
        
            - name: cluster
              type: group
              description: >
                Cluster status fields.
              fields:
                - name: conf_id
                  type: long
                  description: >
                    Total number of cluster membership changes happened.
        
                - name: size
                  type: long
                  description: >
                    Current number of members in the cluster.
        
                - name: status
                  type: keyword
                  description: >
                    Status of this cluster component. That is, whether the node is part of a PRIMARY or NON_PRIMARY component.
        
            - name: commit
              type: group
              description: >
                Commit status fields.
              fields:
                - name: oooe
                  type: double
                  description: >
                    How often a transaction was committed out of order.
        
                - name: window
                  type: long
                  description: >
                    Average distance between highest and lowest concurrently committed seqno.
        
            - name: connected
              type: keyword
              description: >
                If the value is OFF, the node has not yet connected to any of the cluster components.
                This may be due to misconfiguration. Check the error log for proper diagnostics.
        
            - name: evs
              type: group
              description: >
                 Evs Fields.
              fields:
                - name: evict
                  type: keyword
                  description: >
                    Lists the UUID's of all nodes evicted from the cluster.
                    Evicted nodes cannot rejoin the cluster until you restart their mysqld processes.
        
                - name: state
                  type: keyword
                  description: >
                    Shows the internal state of the EVS Protocol.
        
            - name: flow_ctl
              type: group
              description: >
                Flow Control fields.
              fields:
                - name: paused
                  type: double
                  description: >
                    The fraction of time since the last FLUSH STATUS command that replication was paused due to flow control.
                    In other words, how much the slave lag is slowing down the cluster.
        
                - name: paused_ns
                  type: long
                  description: >
                    The total time spent in a paused state measured in nanoseconds.
        
                - name: recv
                  type: long
                  description: >
                    Returns the number of FC_PAUSE events the node has received, including those the node has sent.
                    Unlike most status variables, the counter for this one does not reset every time you run the query.
        
                - name: sent
                  type: long
                  description: >
                    Returns the number of FC_PAUSE events the node has sent.
                    Unlike most status variables, the counter for this one does not reset every time you run the query.
        
            - name: last_committed
              type: long
              description: >
                The sequence number, or seqno, of the last committed transaction.
        
            - name: local
              type: group
              description: >
                Node specific Cluster status fields.
              fields:
                - name: bf_aborts
                  type: long
                  description: >
                    Total number of local transactions that were aborted by slave transactions while in execution.
        
                - name: cert_failures
                  type: long
                  description: >
                    Total number of local transactions that failed certification test.
        
                - name: commits
                  type: long
                  description: >
                    Total number of local transactions committed.
        
                - name: recv
                  type: group
                  description: >
                    Node specific recv fields.
                  fields:
                    - name: queue
                      type: long
                      description: >
                        Current (instantaneous) length of the recv queue.
        
                    - name: queue_avg
                      type: double
                      description: >
                        Recv queue length averaged over interval since the last FLUSH STATUS command.
                        Values considerably larger than 0.0 mean that the node cannot apply write-sets as fast
                        as they are received and will generate a lot of replication throttling.
        
                    - name: queue_max
                      type: long
                      description: >
                        The maximum length of the recv queue since the last FLUSH STATUS command.
        
                    - name: queue_min
                      type: long
                      description: >
                        The minimum length of the recv queue since the last FLUSH STATUS command.
        
                - name: replays
                  type: long
                  description: >
                    Total number of transaction replays due to asymmetric lock granularity.
        
                - name: send
                  type: group
                  description: >
                    Node specific sent fields.
                  fields:
                    - name: queue
                      type: long
                      description: >
                        Current (instantaneous) length of the send queue.
        
                    - name: queue_avg
                      type: double
                      description: >
                        Send queue length averaged over time since the last FLUSH STATUS command.
                        Values considerably larger than 0.0 indicate replication throttling or network throughput issue.
        
                    - name: queue_max
                      type: long
                      description: >
                        The maximum length of the send queue since the last FLUSH STATUS command.
        
                    - name: queue_min
                      type: long
                      description: >
                        The minimum length of the send queue since the last FLUSH STATUS command.
        
                - name: state
                  type: keyword
                  description: >
                    Internal Galera Cluster FSM state number.
        
            - name: ready
              type: keyword
              description: >
                Whether the server is ready to accept queries.
        
            - name: received
              type: group
              description: >
                Write-Set receive status fields.
              fields:
                - name: count
                  type: long
                  description: >
                     Total number of write-sets received from other nodes.
        
                - name: bytes
                  type: long
                  description: >
                    Total size of write-sets received from other nodes.
        
            - name: repl
              type: group
              description: >
                Replication status fields.
              fields:
                - name: data_bytes
                  type: long
                  description: >
                    Total size of data replicated.
        
                - name: keys
                  type: long
                  description: >
                    Total number of keys replicated.
        
                - name: keys_bytes
                  type: long
                  description: >
                    Total size of keys replicated.
        
                - name: other_bytes
                  type: long
                  description: >
                    Total size of other bits replicated.
        
                - name: count
                  type: long
                  description: >
                    Total number of write-sets replicated (sent to other nodes).
        
                - name: bytes
                  type: long
                  description: >
                    Total size of write-sets replicated.
        - name: status
          type: group
          description: >
            `status` contains the metrics that were obtained by the status SQL query.
          release: ga
          fields:
            - name: aborted
              type: group
              description: >
                Aborted status fields.
              fields:
                - name: clients
                  type: long
                  description: >
                    The number of connections that were aborted because the client died without closing the connection properly.
        
                - name: connects
                  type: long
                  description: >
                    The number of failed attempts to connect to the MySQL server.
        
            - name: binlog
              type: group
              description: >
              fields:
                - name: cache.disk_use
                  type: long
                  description: >
        
                - name: cache.use
                  type: long
                  description: >
        
            - name: bytes
              type: group
              description: >
                Bytes stats.
              fields:
                - name: received
                  format: bytes
                  type: long
                  description: >
                    The number of bytes received from all clients.
        
                - name: sent
                  type: long
                  format: bytes
                  description: >
                    The number of bytes sent to all clients.
        
            - name: threads
              type: group
              description: >
                Threads stats.
              fields:
                - name: cached
                  type: long
                  description: >
                    The number of cached threads.
        
                - name: created
                  type: long
                  description: >
                    The number of created threads.
        
                - name: connected
                  type: long
                  description: >
                    The number of connected threads.
        
                - name: running
                  type: long
                  description: >
                    The number of running threads.
        
            - name: connections
              type: long
              description: >
        
            - name: created
              type: group
              description: >
              fields:
                - name: tmp.disk_tables
                  type: long
                  description: >
        
                - name: tmp.files
                  type: long
                  description: >
        
                - name: tmp.tables
                  type: long
                  description: >
        
            - name: delayed
              type: group
              description: >
              fields:
                - name: errors
                  type: long
                  description: >
        
                - name: insert_threads
                  type: long
                  description: >
        
                - name: writes
                  type: long
                  description: >
        
            - name: flush_commands
              type: long
              description: >
        
            - name: max_used_connections
              type: long
              description: >
        
            - name: open
              type: group
              description: >
              fields:
                - name: files
                  type: long
                  description: >
        
                - name: streams
                  type: long
                  description: >
        
                - name: tables
                  type: long
                  description: >
        
            - name: opened_tables
              type: long
              description: >
        
            - name: command
              type: group
              description: >
              fields:
                - name: delete
                  type: long
                  description: >
                    The number of DELETE queries since startup.
        
                - name: insert
                  type: long
                  description: >
                    The number of INSERT queries since startup.
        
                - name: select
                  type: long
                  description: >
                    The number of SELECT queries since startup.
        
                - name: update
                  type: long
                  description: >
                    The number of UPDATE queries since startup.
- key: nginx
  title: "Nginx"
  description: >
    Nginx server status metrics collected from various modules.
  short_config: false
  release: ga
  settings: ["ssl", "http"]
  fields:
    - name: nginx
      type: group
      description: >
        `nginx` contains the metrics that were scraped from nginx.
      fields:
        - name: stubstatus
          type: group
          description: >
            `stubstatus` contains the metrics that were scraped from the ngx_http_stub_status_module status page.
          release: ga
          fields:
            - name: hostname
              type: keyword
              description: >
                Nginx hostname.
            - name: active
              type: long
              description: >
                The current number of active client connections including Waiting connections.
            - name: accepts
              type: long
              description: >
                The total number of accepted client connections.
            - name: handled
              type: long
              description: >
                The total number of handled client connections.
            - name: dropped
              type: long
              description: >
                The total number of dropped client connections.
            - name: requests
              type: long
              description: >
                The total number of client requests.
            - name: current
              type: long
              description: >
                The current number of client requests.
            - name: reading
              type: long
              description: >
                The current number of connections where Nginx is reading the request header.
            - name: writing
              type: long
              description: >
                The current number of connections where Nginx is writing the response back to the client.
            - name: waiting
              type: long
              description: >
                The current number of idle client connections waiting for a request.
- key: php_fpm
  title: "PHP_FPM"
  description: >
    beta[]

    PHP-FPM server status metrics collected from PHP-FPM.
  short_config: false
  release: beta
  settings: ["ssl", "http"]
  fields:
    - name: php_fpm
      type: group
      description: >
        `php_fpm` contains the metrics that were obtained from PHP-FPM status
        page call.
      fields:
        - name: pool
          type: group
          description: >
            `pool` contains the metrics that were obtained from the PHP-FPM process
            pool.
          release: beta
          fields:
            - name: name
              type: keyword
              description: >
                The name of the pool.
            - name: process_manager
              type: keyword
              description: >
                Static, dynamic or ondemand.
            - name: connections
              type: group
              description: >
                Connection state specific statistics.
              fields:
              - name: accepted
                type: long
                description: >
                  The number of incoming requests that the PHP-FPM server has accepted;
                  when a connection is accepted it is removed from the listen queue.
              - name: queued
                type: long
                description: >
                  The current number of connections that have been initiated, but not
                  yet accepted. If this value is non-zero it typically means that all
                  the available server processes are currently busy, and there are no
                  processes available to serve the next request. Raising
                  `pm.max_children` (provided the server can handle it) should help
                  keep this number low. This property follows from the fact that
                  PHP-FPM listens via a socket (TCP or file based), and thus inherits
                  some of the characteristics of sockets.
              - name: max_listen_queue
                type: long
                description: >
                  The maximum number of requests in the queue of pending
                  connections since FPM has started.
              - name: listen_queue_len
                type: long
                description: >
                  The size of the socket queue of pending connections.
            - name: processes
              type: group
              description: >
                Process state specific statistics.
              fields:
              - name: idle
                type: long
                description: >
                  The number of servers in the `waiting to process` state (i.e. not
                  currently serving a page). This value should fall between the
                  `pm.min_spare_servers` and `pm.max_spare_servers` values when the
                  process manager is `dynamic`.
              - name: active
                type: long
                description: >
                  The number of servers current processing a page - the minimum is `1`
                  (so even on a fully idle server, the result will be not read `0`).
              - name: total
                type: long
                description: >
                  The number of idle + active processes.
              - name: max_active
                type: long
                description: >
                  The maximum number of active processes since FPM has started.
              - name: max_children_reached
                type: long
                description: >
                  Number of times, the process limit has been reached,
                  when pm tries to start more children (works only for
                  pm 'dynamic' and 'ondemand').
            - name: slow_requests
              type: long
              description: >
                The number of times a request execution time has exceeded
                `request_slowlog_timeout`.
            - name: start_since
              type: long
              description: >
                Number of seconds since FPM has started.
            - name: start_time
              type: date
              format: epoch_second
              description: >
                The date and time FPM has started.
- key: postgresql
  title: "PostgreSQL"
  description: >
    Metrics collected from PostgreSQL servers.
  short_config: false
  release: ga
  fields:
    - name: postgresql
      type: group
      description: >
        PostgreSQL metrics.
      fields:
        - name: activity
          type: group
          description: >
            One document per server process, showing information related to the current
            activity of that process, such as state and current query. Collected by
            querying pg_stat_activity.
          release: ga
          fields:
            - name: database.oid
              type: long
              description: >
                OID of the database this backend is connected to.
            - name: database.name
              type: keyword
              description: >
                Name of the database this backend is connected to.
            - name: pid
              type: long
              description: >
                Process ID of this backend.
            - name: user.id
              type: long
              description: >
                OID of the user logged into this backend.
            - name: user.name
              description: >
                Name of the user logged into this backend.
            - name: application_name
              description: >
                Name of the application that is connected to this backend.
            - name: client.address
              description: >
                IP address of the client connected to this backend.
            - name: client.hostname
              description: >
                Host name of the connected client, as reported by a reverse DNS lookup of client_addr.
            - name: client.port
              type: long
              description: >
                TCP port number that the client is using for communication with this
                backend, or -1 if a Unix socket is used.
            - name: backend_start
              type: date
              description: >
                Time when this process was started, i.e., when the client connected to
                the server.
            - name: transaction_start
              type: date
              description: >
                Time when this process' current transaction was started.
            - name: query_start
              type: date
              description: >
                Time when the currently active query was started, or if state is not
                active, when the last query was started.
            - name: state_change
              type: date
              description: >
                Time when the state was last changed.
            - name: waiting
              type: boolean
              description: >
                True if this backend is currently waiting on a lock.
            - name: state
              description: >
                Current overall state of this backend. Possible values are:
        
                  * active: The backend is executing a query.
                  * idle: The backend is waiting for a new client command.
                  * idle in transaction: The backend is in a transaction, but is not
                    currently executing a query.
                  * idle in transaction (aborted): This state is similar to idle in
                    transaction, except one of the statements in the transaction caused
                    an error.
                  * fastpath function call: The backend is executing a fast-path function.
                  * disabled: This state is reported if track_activities is disabled in this backend.
            - name: query
              description: >
                Text of this backend's most recent query. If state is active this field
                shows the currently executing query. In all other states, it shows the
                last query that was executed.
        
        - name: bgwriter
          type: group
          description: >
            Statistics about the background writer process's activity. Collected using the
            pg_stat_bgwriter query.
          release: ga
          fields:
            - name: checkpoints.scheduled
              type: long
              description: >
                Number of scheduled checkpoints that have been performed.
            - name: checkpoints.requested
              type: long
              description: >
                Number of requested checkpoints that have been performed.
            - name: checkpoints.times.write.ms
              type: float
              description: >
                Total amount of time that has been spent in the portion of checkpoint
                processing where files are written to disk, in milliseconds.
            - name: checkpoints.times.sync.ms
              type: float
              description: >
                Total amount of time that has been spent in the portion of checkpoint
                processing where files are synchronized to disk, in milliseconds.
            - name: buffers.checkpoints
              type: long
              description: >
                Number of buffers written during checkpoints.
            - name: buffers.clean
              type: long
              description: >
                Number of buffers written by the background writer.
            - name: buffers.clean_full
              type: long
              description: >
                Number of times the background writer stopped a cleaning scan because it
                had written too many buffers.
            - name: buffers.backend
              type: long
              description: >
                Number of buffers written directly by a backend.
            - name: buffers.backend_fsync
              type: long
              description: >
                Number of times a backend had to execute its own fsync call (normally
                the background writer handles those even when the backend does its own
                write)
            - name: buffers.allocated
              type: long
              description: >
                Number of buffers allocated.
            - name: stats_reset
              type: date
              description: >
                Time at which these statistics were last reset.
        - name: database
          type: group
          description: >
            One row per database, showing database-wide statistics. Collected by querying
            pg_stat_database
          release: ga
          fields:
            - name: oid
              type: long
              description: >
                OID of the database this backend is connected to.
            - name: name
              type: keyword
              description: >
                Name of the database this backend is connected to.
            - name: number_of_backends
              type: long
              description: >
                Number of backends currently connected to this database.
            - name: transactions.commit
              type: long
              description: >
                Number of transactions in this database that have been committed.
            - name: transactions.rollback
              type: long
              description: >
                Number of transactions in this database that have been rolled back.
            - name: blocks.read
              type: long
              description: >
                Number of disk blocks read in this database.
            - name: blocks.hit
              type: long
              description: >
                Number of times disk blocks were found already in the buffer cache, so
                that a read was not necessary (this only includes hits in the PostgreSQL
                buffer cache, not the operating system's file system cache).
            - name: blocks.time.read.ms
              type: long
              description: >
                Time spent reading data file blocks by backends in this database, in
                milliseconds.
            - name: blocks.time.write.ms
              type: long
              description: >
                Time spent writing data file blocks by backends in this database, in
                milliseconds.
            - name: rows.returned
              type: long
              description: >
                Number of rows returned by queries in this database.
            - name: rows.fetched
              type: long
              description: >
                Number of rows fetched by queries in this database.
            - name: rows.inserted
              type: long
              description: >
                Number of rows inserted by queries in this database.
            - name: rows.updated
              type: long
              description: >
                Number of rows updated by queries in this database.
            - name: rows.deleted
              type: long
              description: >
                Number of rows deleted by queries in this database.
            - name: conflicts
              type: long
              description: >
                Number of queries canceled due to conflicts with recovery in this
                database.
            - name: temporary.files
              type: long
              description: >
                Number of temporary files created by queries in this database. All
                temporary files are counted, regardless of why the temporary file was
                created (e.g., sorting or hashing), and regardless of the log_temp_files
                setting.
            - name: temporary.bytes
              type: long
              description: >
                Total amount of data written to temporary files by queries in this
                database. All temporary files are counted, regardless of why the
                temporary file was created, and regardless of the log_temp_files
                setting.
            - name: deadlocks
              type: long
              description: >
                Number of deadlocks detected in this database.
            - name: stats_reset
              type: date
              description: >
                Time at which these statistics were last reset.
        
        - name: statement
          type: group
          description: >
            One document per query per user per database, showing information related
            invocation of that query, such as cpu usage and total time. Collected by
            querying pg_stat_statements.
          release: beta
          fields:
            - name: user.id
              type: long
              description: >
                OID of the user logged into the backend that ran the query.
            - name: database.oid
              type: long
              description: >
                OID of the database the query was run on.
            - name: query.id
              type: long
              description: >
                ID of the statement.
            - name: query.text
              description: >
                Query text
            - name: query.calls
              type: long
              description: >
                Number of times the query has been run.
            - name: query.rows
              type: long
              description: >
                Total number of rows returned by query.
            - name: time.total
              type: long
              description: >
                Total number of milliseconds spent running query.
            - name: time.min
              type: long
              description: >
                Minimum number of milliseconds spent running query.
            - name: time.max
              type: long
              description: >
                Maximum number of milliseconds spent running query.
            - name: time.mean
              type: long
              description: >
                Mean number of milliseconds spent running query.
            - name: time.stddev
              type: long
              description: >
                Population standard deviation of time spent running query, in milliseconds.
            - name: memory.shared.hit
              type: long
              description: >
                Total number of shared block cache hits by the query.
            - name: memory.shared.read
              type: long
              description: >
                Total number of shared block cache read by the query.
            - name: memory.shared.dirtied
              type: long
              description: >
                Total number of shared block cache dirtied by the query.
            - name: memory.shared.written
              type: long
              description: >
                Total number of shared block cache written by the query.
            - name: memory.local.hit
              type: long
              description: >
                Total number of local block cache hits by the query.
            - name: memory.local.read
              type: long
              description: >
                Total number of local block cache read by the query.
            - name: memory.local.dirtied
              type: long
              description: >
                Total number of local block cache dirtied by the query.
            - name: memory.local.written
              type: long
              description: >
                Total number of local block cache written by the query.
            - name: memory.temp.read
              type: long
              description: >
                Total number of temp block cache read by the query.
            - name: memory.temp.written
              type: long
              description: >
                Total number of temp block cache written by the query.
- key: prometheus
  title: "Prometheus"
  description: >
    Stats collected from Prometheus.
  short_config: false
  release: ga
  settings: ["ssl", "http"]
  fields:
    - name: prometheus
      type: group
      description: >
      fields:
        - release: ga
        - name: stats
          type: group
          description: >
            Stats about the Prometheus server.
          release: beta
          fields:
            - name: notifications
              type: group
              description: >
                Notification stats.
              fields:
                - name: queue_length
                  type: long
                  description: >
                    Current queue length.
                - name: dropped
                  type: long
                  description: >
                    Number of dropped queue events.
            - name: processes.open_fds
              type: long
              description: >
                Number of open file descriptors.
            - name: storage.chunks_to_persist
              type: long
              description: >
                Number of memory chunks that are not yet persisted to disk.
- key: rabbitmq
  title: "RabbitMQ"
  description: >
    RabbitMQ module
  release: beta
  settings: ["ssl", "http"]
  fields:
    - name: rabbitmq
      type: group
      description: >
      fields:
        - name: connection
          type: group
          description: >
            connection
          release: beta
          fields:
            - name: name
              type: keyword
              description: >
                The name of the connection with non-ASCII characters escaped as in C.
            - name: vhost
              type: keyword
              description: >
                Virtual host name with non-ASCII characters escaped as in C.
            - name: user
              type: keyword
              description: >
                User name.
            - name: node
              type: keyword
              description: >
                Node name.
            - name: channels
              type: long
              description: >
                The number of channels on the connection.
            - name: channel_max
              type: long
              description: >
                The maximum number of channels allowed on the connection.
            - name: frame_max
              type: long
              description: >
                Maximum permissible size of a frame (in bytes) to negotiate with clients.
              format: bytes
            - name: type
              type: keyword
              description: >
                Type of the connection.
            - name: host
              type: keyword
              description: >
                Server hostname obtained via reverse DNS, or its IP address if reverse DNS failed or was disabled.
            - name: peer.host
              type: keyword
              description: >
                Peer hostname obtained via reverse DNS, or its IP address if reverse DNS failed or was not enabled.
            - name: port
              type: long
              description: >
                Server port.
            - name: peer.port
              type: long
              description: >
                Peer port.
            - name: packet_count.sent
              type: long
              description: >
                Number of packets sent on the connection.
            - name: packet_count.received
              type: long
              description: >
                Number of packets received on the connection.
            - name: packet_count.pending
              type: long
              description: >
                Number of packets pending on the connection.
            - name: octet_count.sent
              type: long
              description: >
                Number of octets sent on the connection.
            - name: octet_count.received
              type: long
              description: >
                Number of octets received on the connection.
        - name: exchange
          type: group
          description: >
            exchange
          release: beta
          fields:
            - name: name
              type: keyword
              description: >
                The name of the queue with non-ASCII characters escaped as in C.
            - name: vhost
              type: keyword
              description: >
                Virtual host name with non-ASCII characters escaped as in C.
            - name: durable
              type: boolean
              description: >
                Whether or not the queue survives server restarts.
            - name: auto_delete
              type: boolean
              description: >
                Whether the queue will be deleted automatically when no longer used.
            - name: internal
              type: boolean
              description: >
                Whether the exchange is internal, i.e. cannot be directly published to by a client.
            - name: user
              type: keyword
              description: >
                User who created the exchange.
        
            - name: messages.publish_in.count
              type: long
              description: >
                 Count of messages published "in" to an exchange, i.e. not taking account of routing.
            - name: messages.publish_in.details.rate
              type: float
              description: >
                  How much the exchange publish-in count has changed per second in the most recent sampling interval.
            - name: messages.publish_out.count
              type: long
              description: >
                 Count of messages published "out" of an exchange, i.e. taking account of routing.
            - name: messages.publish_out.details.rate
              type: float
              description: >
                  How much the exchange publish-out count has changed per second in the most recent sampling interval.
        - name: node
          type: group
          description: >
            node
          release: beta
          fields:
            - name: disk.free.bytes
              type: long
              description: >
                Disk free space in bytes.
              format: bytes
            - name: disk.free.limit.bytes
              type: long
              description: >
                Point at which the disk alarm will go off.
              format: bytes
            - name: fd.total
              type: long
              description: >
                File descriptors available.
            - name: fd.used
              type: long
              description: >
                Used file descriptors.
            - name: gc.num.count
              type: long
              description: >
                Number of GC operations.
            - name: gc.reclaimed.bytes
              type: long
              description: >
                GC bytes reclaimed.
              format: bytes
            - name: io.file_handle.open_attempt.avg.ms
              type: long
              description: >
                File handle open avg time
            - name: io.file_handle.open_attempt.count
              type: long
              description: >
                File handle open attempts
            - name: io.read.avg.ms
              type: long
              description: >
                File handle read avg time
            - name: io.read.bytes
              type: long
              description: >
                Data read in bytes
              format: bytes
            - name: io.read.count
              type: long
              description: >
                Data read operations
            - name: io.reopen.count
              type: long
              description: >
                Data reopen operations
            - name: io.seek.avg.ms
              type: long
              description: >
                Data seek avg time
            - name: io.seek.count
              type: long
              description: >
                Data seek operations
            - name: io.sync.avg.ms
              type: long
              description: >
                Data sync avg time
            - name: io.sync.count
              type: long
              description: >
                Data sync operations
            - name: io.write.avg.ms
              type: long
              description: >
                Data write avg time
            - name: io.write.bytes
              type: long
              description: >
                Data write in bytes
              format: bytes
            - name: io.write.count
              type: long
              description: >
                Data write operations
            - name: mem.limit.bytes
              type: long
              description: >
                Point at which the memory alarm will go off.
              format: bytes
            - name: mem.used.bytes
              type: long
              description: >
                Memory used in bytes.
            - name: mnesia.disk.tx.count
              type: long
              description: >
                Number of Mnesia transactions which have been performed that required writes to disk.
            - name: mnesia.ram.tx.count
              type: long
              description: >
                Number of Mnesia transactions which have been performed that did not require writes to disk.
            - name: msg.store_read.count
              type: long
              description: >
                Number of messages which have been read from the message store.
            - name: msg.store_write.count
              type: long
              description: >
                Number of messages which have been written to the message store.
            - name: name
              type: keyword
              description: >
                Node name
            - name: proc.total
              type: long
              description: >
                Maximum number of Erlang processes.
            - name: proc.used
              type: long
              description: >
                Number of Erlang processes in use.
            - name: processors
              type: long
              description: >
                Number of cores detected and usable by Erlang.
            - name: queue.index.journal_write.count
              type: long
              description: >
                Number of records written to the queue index journal.
            - name: queue.index.read.count
              type: long
              description: >
                Number of records read from the queue index.
            - name: queue.index.write.count
              type: long
              description: >
                Number of records written to the queue index.
            - name: run.queue
              type: long
              description: >
                Average number of Erlang processes waiting to run.
            - name: socket.total
              type: long
              description: >
                File descriptors available for use as sockets.
            - name: socket.used
              type: long
              description: >
                File descriptors used as sockets.
            - name: type
              type: keyword
              description: >
                Node type.
            - name: uptime
              type: long
              description: >
                Node uptime.
        - name: queue
          type: group
          description: >
            queue
          release: beta
          fields:
            - name: name
              type: keyword
              description: >
                The name of the queue with non-ASCII characters escaped as in C.
            - name: vhost
              type: keyword
              description: >
                Virtual host name with non-ASCII characters escaped as in C.
            - name: durable
              type: boolean
              description: >
                Whether or not the queue survives server restarts.
            - name: auto_delete
              type: boolean
              description: >
                Whether the queue will be deleted automatically when no longer used.
            - name: exclusive
              type: boolean
              description: >
                Whether the queue is exclusive (i.e. has owner_pid).
            - name: node
              type: keyword
              description: >
                Node name.
            - name: state
              type: keyword
              description: >
                The state of the queue. Normally 'running', but may be "{syncing, MsgCount}" if the queue is synchronising. Queues which are located on cluster nodes that are currently down will be shown with a status of 'down'.
            - name: arguments.max_priority
              type: long
              description: >
                Maximum number of priority levels for the queue to support.
            - name: consumers.count
              type: long
              description: >
                Number of consumers.
            - name: consumers.utilisation.pct
              type: long
              format: percentage
              description: >
                Fraction of the time (between 0.0 and 1.0) that the queue is able to immediately deliver messages to consumers. This can be less than 1.0 if consumers are limited by network congestion or prefetch count.
            - name: messages.total.count
              type: long
              description: >
                Sum of ready and unacknowledged messages (queue depth).
            - name: messages.total.details.rate
              type: float
              description: >
                How much the queue depth has changed per second in the most recent sampling interval.
            - name: messages.ready.count
              type: long
              description: >
                Number of messages ready to be delivered to clients.
            - name: messages.ready.details.rate
              type: float
              description: >
                How much the count of messages ready has changed per second in the most recent sampling interval.
            - name: messages.unacknowledged.count
              type: long
              description: >
                Number of messages delivered to clients but not yet acknowledged.
            - name: messages.unacknowledged.details.rate
              type: float
              description: >
                How much the count of unacknowledged messages has changed per second in the most recent sampling interval.
            - name: messages.persistent.count
              type: long
              description: >
                Total number of persistent messages in the queue (will always be 0 for transient queues).
            - name: memory.bytes
              type: long
              format: bytes
              description: >
                Bytes of memory consumed by the Erlang process associated with the queue, including stack, heap and internal structures.
            - name: disk.reads.count
              type: long
              description: >
                Total number of times messages have been read from disk by this queue since it started.
            - name: disk.writes.count
              type: long
              description: >
                Total number of times messages have been written to disk by this queue since it started.
- key: redis
  title: "Redis"
  description: >
    Redis metrics collected from Redis.
  release: ga
  fields:
    - name: redis
      type: group
      description: >
        `redis` contains the information and statistics from Redis.
      fields:
        - name: info
          type: group
          description: >
            `info` contains the information and statistics returned by the `INFO` command.
          release: ga
          fields:
            - name: clients
              type: group
              description: >
                Redis client stats.
              fields:
                - name: connected
                  type: long
                  description: >
                    Number of client connections (excluding connections from slaves).
        
                - name: longest_output_list
                  type: long
                  description: >
                    Longest output list among current client connections.
        
                - name: biggest_input_buf
                  type: long
                  description: >
                    Biggest input buffer among current client connections.
        
                - name: blocked
                  type: long
                  description: >
                    Number of clients pending on a blocking call (BLPOP, BRPOP, BRPOPLPUSH).
        
            - name: cluster
              type: group
              description: >
                Redis cluster information.
              fields:
                - name: enabled
                  type: boolean
                  description: >
                    Indicates that the Redis cluster is enabled.
        
            - name: cpu
              type: group
              description: >
                Redis CPU stats
              fields:
                - name: used.sys
                  type: scaled_float
                  description: >
                    System CPU consumed by the Redis server.
        
                - name: used.sys_children
                  type: scaled_float
                  description: >
                    User CPU consumed by the Redis server.
        
                - name: used.user
                  type: scaled_float
                  description: >
                    System CPU consumed by the background processes.
        
                - name: used.user_children
                  type: scaled_float
                  description: >
                    User CPU consumed by the background processes.
        
            - name: memory
              type: group
              description: >
                Redis memory stats.
              fields:
                - name: used.value
                  type: long
                  description: >
                  format: bytes
                    Used memory.
        
                - name: used.rss
                  type: long
                  format: bytes
                  description: >
                    Used memory rss.
        
                - name: used.peak
                  type: long
                  format: bytes
                  description: >
                    Used memory peak.
        
                - name: used.lua
                  type: long
                  format: bytes
                  description: >
                    Used memory lua.
        
                - name: max.value
                  type: long
                  format: bytes
                  description: >
                    Memory limit.
        
                - name: max.policy
                  type: keyword
                  description:
                    Eviction policy to use when memory limit is reached.
        
                - name: allocator
                  type: keyword
                  description: >
                    Memory allocator.
        
            - name: persistence
              type: group
              description: >
                Redis CPU stats.
              fields:
                - name: loading
                  type: boolean
                  description:
        
                - name: rdb
                  type: group
                  description:
                  fields:
                    - name: last_save.changes_since
                      type: long
                      description:
        
                    - name: bgsave.in_progress
                      type: boolean
                      description:
        
                    - name: last_save.time
                      type: long
                      description:
        
                    - name: bgsave.last_status
                      type: keyword
                      description:
        
                    - name: bgsave.last_time.sec
                      type: long
                      description:
        
                    - name: bgsave.current_time.sec
                      type: long
                      description:
        
                - name: aof
                  type: group
                  description:
                  fields:
                    - name: enabled
                      type: boolean
                      description:
        
                    - name: rewrite.in_progress
                      type: boolean
                      description:
        
                    - name: rewrite.scheduled
                      type: boolean
                      description:
        
                    - name: rewrite.last_time.sec
                      type: long
                      description:
        
                    - name: rewrite.current_time.sec
                      type: long
                      description:
        
                    - name: bgrewrite.last_status
                      type: keyword
                      description:
        
                    - name: write.last_status
                      type: keyword
                      description:
        
            - name: replication
              type: group
              description: >
                Replication
              fields:
                - name: role
                  type: keyword
                  description:
        
                - name: connected_slaves
                  type: long
                  description:
        
                - name: master_offset
                  type: long
                  description:
        
                - name: backlog.active
                  type: long
                  description:
        
                - name: backlog.size
                  type: long
                  description:
        
                - name: backlog.first_byte_offset
                  type: long
                  description:
        
                - name: backlog.histlen
                  type: long
                  description:
        
            - name: server
              type: group
              description: >
                Server info
              fields:
                - name: version
                  type: keyword
                  description:
        
                - name: git_sha1
                  type: keyword
                  description:
        
                - name: git_dirty
                  type: keyword
                  description:
        
                - name: build_id
                  type: keyword
                  description:
        
                - name: mode
                  type: keyword
                  description:
        
                - name: os
                  type: keyword
                  description:
        
                - name: arch_bits
                  type: keyword
                  description:
        
                - name: multiplexing_api
                  type: keyword
                  description:
        
                - name: gcc_version
                  type: keyword
                  description:
        
                - name: process_id
                  type: long
                  description:
        
                - name: run_id
                  type: keyword
                  description:
        
                - name: tcp_port
                  type: long
                  description:
        
                - name: uptime
                  type: long
                  description:
        
                - name: hz
                  type: long
                  description:
        
                - name: lru_clock
                  type: long
                  description:
        
                - name: config_file
                  type: keyword
                  description:
        
            - name: stats
              type: group
              description: >
                Redis stats.
              fields:
                - name: connections.received
                  type: long
                  description:
                    Total number of connections received.
        
                - name: connections.rejected
                  type: long
                  description:
                    Total number of connections rejected.
        
                - name: commands_processed
                  type: long
                  description:
                    Total number of commands processed.
        
                - name: net.input.bytes
                  type: long
                  description:
                    Total network input in bytes.
        
                - name: net.output.bytes
                  type: long
                  description:
                    Total network output in bytes.
        
                - name: instantaneous.ops_per_sec
                  type: long
                  description:
        
                - name: instantaneous.input_kbps
                  type: scaled_float
                  description:
        
                - name: instantaneous.output_kbps
                  type: scaled_float
                  description:
        
                - name: sync.full
                  type: long
                  description:
        
                - name: sync.partial.ok
                  type: long
                  description:
        
                - name: sync.partial.err
                  type: long
                  description:
        
                - name: keys.expired
                  type: long
                  description:
        
                - name: keys.evicted
                  type: long
                  description:
        
                - name: keyspace.hits
                  type: long
                  description:
        
                - name: keyspace.misses
                  type: long
                  description:
        
                - name: pubsub.channels
                  type: long
                  description:
        
                - name: pubsub.patterns
                  type: long
                  description:
        
                - name: latest_fork_usec
                  type: long
                  description:
        
                - name: migrate_cached_sockets
                  type: long
                  description:
        
        - name: keyspace
          type: group
          description: >
            `keyspace` contains the information about the keyspaces returned by the `INFO` command.
          release: ga
          fields:
            - name: id
              type: keyword
              description: >
                Keyspace identifier.
        
            - name: avg_ttl
              type: long
              description: >
                Average ttl.
        
            - name: keys
              type: long
              description: >
                Number of keys in the keyspace.
        
            - name: expires
              type: long
              description: >
- key: system
  title: "System"
  description: >
    System status metrics, like CPU and memory usage, that are collected from the operating system.
  short_config: true
  release: ga
  fields:
    - name: system
      type: group
      description: >
        `system` contains local system metrics.
      fields:
        - name: core
          type: group
          description: >
            `system-core` contains CPU metrics for a single core of a multi-core system.
          release: ga
          fields:
            - name: id
              type: long
              description: >
                CPU Core number.
        
            # Percentages
            - name: user.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent in user space.
        
            - name: user.ticks
              type: long
              description: >
               The amount of CPU time spent in user space.
        
            - name: system.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent in kernel space.
        
            - name: system.ticks
              type: long
              description: >
                The amount of CPU time spent in kernel space.
        
            - name: nice.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent on low-priority processes.
        
            - name: nice.ticks
              type: long
              description: >
                The amount of CPU time spent on low-priority processes.
        
            - name: idle.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent idle.
        
            - name: idle.ticks
              type: long
              description: >
                The amount of CPU time spent idle.
        
            - name: iowait.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent in wait (on disk).
        
            - name: iowait.ticks
              type: long
              description: >
                The amount of CPU time spent in wait (on disk).
        
            - name: irq.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent servicing and handling hardware interrupts.
        
            - name: irq.ticks
              type: long
              description: >
                The amount of CPU time spent servicing and handling hardware interrupts.
        
            - name: softirq.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent servicing and handling software interrupts.
        
            - name: softirq.ticks
              type: long
              description: >
                The amount of CPU time spent servicing and handling software interrupts.
        
            - name: steal.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent in involuntary wait by the virtual CPU while the hypervisor
                was servicing another processor.
                Available only on Unix.
        
            - name: steal.ticks
              type: long
              description: >
                The amount of CPU time spent in involuntary wait by the virtual CPU while the hypervisor
                was servicing another processor.
                Available only on Unix.
        - name: cpu
          type: group
          description: >
            `cpu` contains local CPU stats.
          release: ga
          fields:
            - name: cores
              type: long
              description: >
                The number of CPU cores present on the host. The non-normalized
                percentages will have a maximum value of `100% * cores`. The
                normalized percentages already take this value into account and have
                a maximum value of 100%.
        
            # Percentages
            - name: user.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent in user space. On multi-core systems,
                you can have percentages that are greater than 100%. For example, if 3
                cores are at 60% use, then the `system.cpu.user.pct` will be 180%.
        
            - name: system.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent in kernel space.
        
            - name: nice.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent on low-priority processes.
        
            - name: idle.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent idle.
        
            - name: iowait.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent in wait (on disk).
        
            - name: irq.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent servicing and handling hardware interrupts.
        
            - name: softirq.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent servicing and handling software interrupts.
        
            - name: steal.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent in involuntary wait by the virtual CPU while the hypervisor
                was servicing another processor.
                Available only on Unix.
        
            - name: total.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent in states other than Idle and IOWait.
        
            # Normalized Percentages
            - name: user.norm.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent in user space.
        
            - name: system.norm.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent in kernel space.
        
            - name: nice.norm.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent on low-priority processes.
        
            - name: idle.norm.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent idle.
        
            - name: iowait.norm.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent in wait (on disk).
        
            - name: irq.norm.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent servicing and handling hardware interrupts.
        
            - name: softirq.norm.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent servicing and handling software interrupts.
        
            - name: steal.norm.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time spent in involuntary wait by the virtual CPU while the hypervisor
                was servicing another processor.
                Available only on Unix.
        
            - name: total.norm.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of CPU time in states other than Idle and IOWait, normalised by the number of cores.
        
        
            # Ticks
            - name: user.ticks
              type: long
              description: >
               The amount of CPU time spent in user space.
        
            - name: system.ticks
              type: long
              description: >
                The amount of CPU time spent in kernel space.
        
            - name: nice.ticks
              type: long
              description: >
                The amount of CPU time spent on low-priority processes.
        
            - name: idle.ticks
              type: long
              description: >
                The amount of CPU time spent idle.
        
            - name: iowait.ticks
              type: long
              description: >
                The amount of CPU time spent in wait (on disk).
        
            - name: irq.ticks
              type: long
              description: >
                The amount of CPU time spent servicing and handling hardware interrupts.
        
            - name: softirq.ticks
              type: long
              description: >
                The amount of CPU time spent servicing and handling software interrupts.
        
            - name: steal.ticks
              type: long
              description: >
                The amount of CPU time spent in involuntary wait by the virtual CPU while the hypervisor
                was servicing another processor.
                Available only on Unix.
        - name: diskio
          type: group
          description: >
            `disk` contains disk IO metrics collected from the operating system.
          release: ga
          fields:
            - name: name
              type: keyword
              example: sda1
              description: >
                The disk name.
        
            - name: serial_number
              type: keyword
              description: >
                The disk's serial number. This may not be provided by all operating
                systems.
        
            - name: read.count
              type: long
              description: >
                The total number of reads completed successfully.
        
            - name: write.count
              type: long
              description: >
                The total number of writes completed successfully.
        
            - name: read.bytes
              type: long
              format: bytes
              description: >
                The total number of bytes read successfully. On Linux this is
                the number of sectors read multiplied by an assumed sector size of 512.
        
            - name: write.bytes
              type: long
              format: bytes
              description: >
                The total number of bytes written successfully. On Linux this is
                the number of sectors written multiplied by an assumed sector size of
                512.
        
            - name: read.time
              type: long
              description: >
                The total number of milliseconds spent by all reads.
        
            - name: write.time
              type: long
              description: >
                The total number of milliseconds spent by all writes.
        
            - name: io.time
              type: long
              description: >
                The total number of of milliseconds spent doing I/Os.
        
            - name: iostat.read.request.merges_per_sec
              type: float
              description: >
                  The number of read requests merged per second that were queued to the device.
        
            - name: iostat.write.request.merges_per_sec
              type: float
              description: >
                  The number of write requests merged per second that were queued to the device.
        
            - name: iostat.read.request.per_sec
              type: float
              description: >
                  The number of read requests that were issued to the device per second
        
            - name: iostat.write.request.per_sec
              type: float
              description: >
                  The number of write requests that were issued to the device per second
        
            - name: iostat.read.per_sec.bytes
              type: float
              description: >
                  The number of Bytes read from the device per second.
              format: bytes
        
            - name: iostat.write.per_sec.bytes
              type: float
              description: >
                  The number of Bytes write from the device per second.
              format: bytes
        
            - name: iostat.request.avg_size
              type: float
              description: >
                  The average size (in sectors) of the requests that were issued to the device.
        
            - name: iostat.queue.avg_size
              type: float
              description: >
                  The average queue length of the requests that were issued to the device.
        
            - name: iostat.await
              type: float
              description: >
                  The average time spent for requests issued to the device to be served.
        
            - name: iostat.service_time
              type: float
              description: >
                  The average service time (in milliseconds) for I/O requests that were issued to the device.
        
            - name: iostat.busy
              type: float
              description: >
                  Percentage of CPU time during which I/O requests were issued to the device (bandwidth utilization for the device). Device saturation occurs when this value is close to 100%.
        - name: filesystem
          type: group
          description: >
            `filesystem` contains local filesystem stats.
          release: ga
          fields:
            - name: available
              type: long
              format: bytes
              description: >
                The disk space available to an unprivileged user in bytes.
            - name: device_name
              type: keyword
              description: >
                The disk name. For example: `/dev/disk1`
            - name: type
              type: keyword
              description: >
                The disk type. For example: `ext4`
            - name: mount_point
              type: keyword
              description: >
                The mounting point. For example: `/`
            - name: files
              type: long
              description: >
                The total number of file nodes in the file system.
            - name: free
              type: long
              format: bytes
              description: >
                The disk space available in bytes.
            - name: free_files
              type: long
              description: >
                The number of free file nodes in the file system.
            - name: total
              type: long
              format: bytes
              description: >
                The total disk space in bytes.
            - name: used.bytes
              type: long
              format: bytes
              description: >
                The used disk space in bytes.
            - name: used.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of used disk space.
        
        
        - name: fsstat
          type: group
          description: >
            `system.fsstat` contains filesystem metrics aggregated from all mounted
            filesystems.
          release: ga
          fields:
            - name: count
              type: long
              description: Number of file systems found.
            - name: total_files
              type: long
              description: Total number of files.
            - name: total_size
              format: bytes
              type: group
              description: Nested file system docs.
              fields:
                - name: free
                  type: long
                  format: bytes
                  description: >
                    Total free space.
                - name: used
                  type: long
                  format: bytes
                  description: >
                    Total used space.
                - name: total
                  type: long
                  format: bytes
                  description: >
                    Total space (used plus free).
        - name: load
          type: group
          description: >
            CPU load averages.
          release: ga
          fields:
            - name: "1"
              type: scaled_float
              scaling_factor: 100
              description: >
                Load average for the last minute.
            - name: "5"
              type: scaled_float
              scaling_factor: 100
              description: >
                Load average for the last 5 minutes.
            - name: "15"
              type: scaled_float
              scaling_factor: 100
              description: >
                Load average for the last 15 minutes.
        
            - name: "norm.1"
              type: scaled_float
              scaling_factor: 100
              description: >
                Load for the last minute divided by the number of cores.
        
            - name: "norm.5"
              type: scaled_float
              scaling_factor: 100
              description: >
                Load for the last 5 minutes divided by the number of cores.
        
            - name: "norm.15"
              type: scaled_float
              scaling_factor: 100
              description: >
                Load for the last 15 minutes divided by the number of cores.
        
            - name: "cores"
              type: long
              description: >
                The number of CPU cores present on the host.
        - name: memory
          type: group
          description: >
            `memory` contains local memory stats.
          release: ga
          fields:
            - name: total
              type: long
              format: bytes
              description: >
                Total memory.
        
            - name: used.bytes
              type: long
              format: bytes
              description: >
                Used memory.
        
            - name: free
              type: long
              format: bytes
              description: >
                The total amount of free memory in bytes. This value does not include memory consumed by system caches and
                buffers (see system.memory.actual.free).
        
            - name: used.pct
              type: scaled_float
              format: percent
              description: >
                The percentage of used memory.
        
            - name: actual
              type: group
              description: >
                Actual memory used and free.
              fields:
        
                - name: used.bytes
                  type: long
                  format: bytes
                  description: >
                    Actual used memory in bytes. It represents the difference between the total and the available memory. The
                    available memory depends on the OS. For more details, please check `system.actual.free`.
        
                - name: free
                  type: long
                  format: bytes
                  description: >
                    Actual free memory in bytes. It is calculated based on the OS. On Linux it consists of the free memory
                    plus caches and buffers. On OSX it is a sum of free memory and the inactive memory. On Windows, it is equal
                    to `system.memory.free`.
        
                - name: used.pct
                  type: scaled_float
                  format: percent
                  description: >
                    The percentage of actual used memory.
        
            - name: swap
              type: group
              prefix: "[float]"
              description: This group contains statistics related to the swap memory usage on the system.
              fields:
                - name: total
                  type: long
                  format: bytes
                  description: >
                    Total swap memory.
        
                - name: used.bytes
                  type: long
                  format: bytes
                  description: >
                    Used swap memory.
        
                - name: free
                  type: long
                  format: bytes
                  description: >
                    Available swap memory.
        
                - name: used.pct
                  type: scaled_float
                  format: percent
                  description: >
                    The percentage of used swap memory.
        
            - name: hugepages
              type: group
              prefix: "[float]"
              description: This group contains statistics related to huge pages usage on the system.
              fields:
                - name: total
                  type: long
                  format: number
                  description: >
                    Number of huge pages in the pool.
        
                - name: used.bytes
                  type: long
                  format: bytes
                  description: >
                    Memory used in allocated huge pages.
        
                - name: used.pct
                  type: long
                  format: percent
                  description: >
                    Percentage of huge pages used.
        
                - name: free
                  type: long
                  format: number
                  description: >
                    Number of available huge pages in the pool.
        
                - name: reserved
                  type: long
                  format: number
                  description: >
                    Number of reserved but not allocated huge pages in the pool.
        
                - name: surplus
                  type: long
                  format: number
                  description: >
                    Number of overcommited huge pages.
        
                - name: default_size
                  type: long
                  format: bytes
                  description: >
                    Default size for huge pages.
        - name: network
          type: group
          description: >
            `network` contains network IO metrics for a single network interface.
          release: ga
          fields:
            - name: name
              type: keyword
              example: eth0
              description: >
                The network interface name.
        
            - name: out.bytes
              type: long
              format: bytes
              description: >
                The number of bytes sent.
        
            - name: in.bytes
              type: long
              format: bytes
              description: >
                The number of bytes received.
        
            - name: out.packets
              type: long
              description: >
                The number of packets sent.
        
            - name: in.packets
              type: long
              description: >
                The number or packets received.
        
            - name: in.errors
              type: long
              description: >
                The number of errors while receiving.
        
            - name: out.errors
              type: long
              description: >
                The number of errors while sending.
        
            - name: in.dropped
              type: long
              description: >
                The number of incoming packets that were dropped.
        
            - name: out.dropped
              type: long
              description: >
                The number of outgoing packets that were dropped. This value is always
                0 on Darwin and BSD because it is not reported by the operating system.
        - name: process
          type: group
          description: >
            `process` contains process metadata, CPU metrics, and memory metrics.
          release: ga
          fields:
            - name: name
              type: keyword
              description: >
                The process name.
            - name: state
              type: keyword
              description: >
                The process state. For example: "running".
            - name: pid
              type: long
              description: >
                The process pid.
            - name: ppid
              type: long
              description: >
                The process parent pid.
            - name: pgid
              type: long
              description: >
                The process group id.
            - name: cmdline
              type: keyword
              description: >
                The full command-line used to start the process, including the
                arguments separated by space.
            - name: username
              type: keyword
              description: >
                The username of the user that created the process. If the username
                cannot be determined, the field will contain the user's
                numeric identifier (UID). On Windows, this field includes the user's
                domain and is formatted as `domain\username`.
            - name: cwd
              type: keyword
              description: >
                The current working directory of the process. This field is only
                available on Linux.
            - name: env
              type: object
              object_type: keyword
              description: >
                The environment variables used to start the process. The data is
                available on FreeBSD, Linux, and OS X.
            - name: cpu
              type: group
              prefix: "[float]"
              description: CPU-specific statistics per process.
              fields:
                - name: user.ticks
                  type: long
                  description: >
                    The amount of CPU time the process spent in user space.
                - name: total.value
                  type: long
                  description: >
                    The value of CPU usage since starting the process.
                - name: total.pct
                  type: scaled_float
                  format: percent
                  description: >
                    The percentage of CPU time spent by the process since the last update. Its value is similar to the
                    %CPU value of the process displayed by the top command on Unix systems.
                - name: total.norm.pct
                  type: scaled_float
                  format: percent
                  description: >
                    The percentage of CPU time spent by the process since the last event.
                    This value is normalized by the number of CPU cores and it ranges
                    from 0 to 100%.
                - name: system.ticks
                  type: long
                  description: >
                    The amount of CPU time the process spent in kernel space.
                - name: total.ticks
                  type: long
                  description: >
                    The total CPU time spent by the process.
                - name: start_time
                  type: date
                  description: >
                    The time when the process was started.
            - name: memory
              type: group
              description: Memory-specific statistics per process.
              prefix: "[float]"
              fields:
                - name: size
                  type: long
                  format: bytes
                  description: >
                    The total virtual memory the process has.
                - name: rss.bytes
                  type: long
                  format: bytes
                  description: >
                    The Resident Set Size. The amount of memory the process occupied in main memory (RAM).
                - name: rss.pct
                  type: scaled_float
                  format: percent
                  description: >
                    The percentage of memory the process occupied in main memory (RAM).
                - name: share
                  type: long
                  format: bytes
                  description: >
                    The shared memory the process uses.
            - name: fd
              type: group
              description: >
                File descriptor usage metrics. This set of metrics is available for
                Linux and FreeBSD.
              prefix: "[float]"
              fields:
                - name: open
                  type: long
                  description: The number of file descriptors open by the process.
                - name: limit.soft
                  type: long
                  description: >
                    The soft limit on the number of file descriptors opened by the
                    process. The soft limit can be changed by the process at any time.
                - name: limit.hard
                  type: long
                  description: >
                    The hard limit on the number of file descriptors opened by the
                    process. The hard limit can only be raised by root.
            - name: cgroup
              type: group
              description: >
                Metrics and limits from the cgroup of which the task is a member.
                cgroup metrics are reported when the process has membership in a
                non-root cgroup. These metrics are only available on Linux.
              fields:
                - name: id
                  type: keyword
                  description: >
                    The ID common to all cgroups associated with this task.
                    If there isn't a common ID used by all cgroups this field will be
                    absent.
        
                - name: path
                  type: keyword
                  description: >
                    The path to the cgroup relative to the cgroup subsystem's mountpoint.
                    If there isn't a common path used by all cgroups this field will be
                    absent.
        
                - name: cpu
                  type: group
                  description: >
                    The cpu subsystem schedules CPU access for tasks in the cgroup.
                    Access can be controlled by two separate schedulers, CFS and RT.
                    CFS stands for completely fair scheduler which proportionally
                    divides the CPU time between cgroups based on weight. RT stands for
                    real time scheduler which sets a maximum amount of CPU time that
                    processes in the cgroup can consume during a given period.
        
                  fields:
                    - name: id
                      type: keyword
                      description: ID of the cgroup.
        
                    - name: path
                      type: keyword
                      description: >
                        Path to the cgroup relative to the cgroup subsystem's
                        mountpoint.
        
                    - name: cfs.period.us
                      type: long
                      description: >
                        Period of time in microseconds for how regularly a
                        cgroup's access to CPU resources should be reallocated.
        
                    - name: cfs.quota.us
                      type: long
                      description: >
                        Total amount of time in microseconds for which all
                        tasks in a cgroup can run during one period (as defined by
                        cfs.period.us).
        
                    - name: cfs.shares
                      type: long
                      description: >
                        An integer value that specifies a relative share of CPU time
                        available to the tasks in a cgroup. The value specified in the
                        cpu.shares file must be 2 or higher.
        
                    - name: rt.period.us
                      type: long
                      description: >
                        Period of time in microseconds for how regularly a cgroup's
                        access to CPU resources is reallocated.
        
                    - name: rt.runtime.us
                      type: long
                      description: >
                        Period of time in microseconds for the longest continuous period
                        in which the tasks in a cgroup have access to CPU resources.
        
                    - name: stats.periods
                      type: long
                      description: >
                        Number of period intervals (as specified in cpu.cfs.period.us)
                        that have elapsed.
        
                    - name: stats.throttled.periods
                      type: long
                      description: >
                        Number of times tasks in a cgroup have been throttled (that is,
                        not allowed to run because they have exhausted all of the
                        available time as specified by their quota).
        
                    - name: stats.throttled.ns
                      type: long
                      description: >
                        The total time duration (in nanoseconds) for which tasks in a
                        cgroup have been throttled.
        
                - name: cpuacct
                  type: group
                  description: CPU accounting metrics.
                  fields:
                    - name: id
                      type: keyword
                      description: ID of the cgroup.
        
                    - name: path
                      type: keyword
                      description: >
                        Path to the cgroup relative to the cgroup subsystem's
                        mountpoint.
        
                    - name: total.ns
                      type: long
                      description: >
                        Total CPU time in nanoseconds consumed by all tasks in the
                        cgroup.
        
                    - name: stats.user.ns
                      type: long
                      description: CPU time consumed by tasks in user mode.
        
                    - name: stats.system.ns
                      type: long
                      description: CPU time consumed by tasks in user (kernel) mode.
        
                    - name: percpu
                      type: object
                      object_type: long
                      description: >
                        CPU time (in nanoseconds) consumed on each CPU by all tasks in
                        this cgroup.
        
                - name: memory
                  type: group
                  description: Memory limits and metrics.
                  fields:
                    - name: id
                      type: keyword
                      description: ID of the cgroup.
        
                    - name: path
                      type: keyword
                      description: >
                        Path to the cgroup relative to the cgroup subsystem's mountpoint.
        
                    - name: mem.usage.bytes
                      type: long
                      format: bytes
                      description: >
                        Total memory usage by processes in the cgroup (in bytes).
        
                    - name: mem.usage.max.bytes
                      type: long
                      format: bytes
                      description: >
                        The maximum memory used by processes in the cgroup (in bytes).
        
                    - name: mem.limit.bytes
                      type: long
                      format: bytes
                      description: >
                        The maximum amount of user memory in bytes (including file
                        cache) that tasks in the cgroup are allowed to use.
        
                    - name: mem.failures
                      type: long
                      description: >
                        The number of times that the memory limit (mem.limit.bytes) was
                        reached.
        
                    - name: memsw.usage.bytes
                      type: long
                      format: bytes
                      description: >
                        The sum of current memory usage plus swap space used by
                        processes in the cgroup (in bytes).
        
                    - name: memsw.usage.max.bytes
                      type: long
                      format: bytes
                      description: >
                        The maximum amount of memory and swap space used by processes in
                        the cgroup (in bytes).
        
                    - name: memsw.limit.bytes
                      type: long
                      format: bytes
                      description: >
                        The maximum amount for the sum of memory and swap usage
                        that tasks in the cgroup are allowed to use.
        
                    - name: memsw.failures
                      type: long
                      description: >
                        The number of times that the memory plus swap space limit
                        (memsw.limit.bytes) was reached.
        
                    - name: kmem.usage.bytes
                      type: long
                      format: bytes
                      description: >
                        Total kernel memory usage by processes in the cgroup (in bytes).
        
                    - name: kmem.usage.max.bytes
                      type: long
                      format: bytes
                      description: >
                        The maximum kernel memory used by processes in the cgroup (in
                        bytes).
        
                    - name: kmem.limit.bytes
                      type: long
                      format: bytes
                      description: >
                        The maximum amount of kernel memory that tasks in the cgroup are
                        allowed to use.
        
                    - name: kmem.failures
                      type: long
                      description: >
                        The number of times that the memory limit (kmem.limit.bytes) was
                        reached.
        
                    - name: kmem_tcp.usage.bytes
                      type: long
                      format: bytes
                      description: >
                        Total memory usage for TCP buffers in bytes.
        
                    - name: kmem_tcp.usage.max.bytes
                      type: long
                      format: bytes
                      description: >
                        The maximum memory used for TCP buffers by processes in the
                        cgroup (in bytes).
        
                    - name: kmem_tcp.limit.bytes
                      type: long
                      format: bytes
                      description: >
                        The maximum amount of memory for TCP buffers that tasks in the
                        cgroup are allowed to use.
        
                    - name: kmem_tcp.failures
                      type: long
                      description: >
                        The number of times that the memory limit (kmem_tcp.limit.bytes)
                        was reached.
        
                    - name: stats.active_anon.bytes
                      type: long
                      format: bytes
                      description: >
                        Anonymous and swap cache on active least-recently-used (LRU)
                        list, including tmpfs (shmem), in bytes.
        
                    - name: stats.active_file.bytes
                      type: long
                      format: bytes
                      description: File-backed memory on active LRU list, in bytes.
        
                    - name: stats.cache.bytes
                      type: long
                      format: bytes
                      description: Page cache, including tmpfs (shmem), in bytes.
        
                    - name: stats.hierarchical_memory_limit.bytes
                      type: long
                      format: bytes
                      description: >
                        Memory limit for the hierarchy that contains the memory cgroup,
                        in bytes.
        
                    - name: stats.hierarchical_memsw_limit.bytes
                      type: long
                      format: bytes
                      description: >
                        Memory plus swap limit for the hierarchy that contains the
                        memory cgroup, in bytes.
        
                    - name: stats.inactive_anon.bytes
                      type: long
                      format: bytes
                      description: >
                        Anonymous and swap cache on inactive LRU list, including tmpfs
                        (shmem), in bytes
        
                    - name: stats.inactive_file.bytes
                      type: long
                      format: bytes
                      description: >
                        File-backed memory on inactive LRU list, in bytes.
        
                    - name: stats.mapped_file.bytes
                      type: long
                      format: bytes
                      description: >
                        Size of memory-mapped mapped files, including tmpfs (shmem),
                        in bytes.
        
                    - name: stats.page_faults
                      type: long
                      description: >
                        Number of times that a process in the cgroup triggered a page
                        fault.
        
                    - name: stats.major_page_faults
                      type: long
                      description: >
                        Number of times that a process in the cgroup triggered a major
                        fault. "Major" faults happen when the kernel actually has to
                        read the data from disk.
        
                    - name: stats.pages_in
                      type: long
                      description: >
                        Number of pages paged into memory. This is a counter.
        
                    - name: stats.pages_out
                      type: long
                      description: >
                        Number of pages paged out of memory. This is a counter.
        
                    - name: stats.rss.bytes
                      type: long
                      format: bytes
                      description: >
                        Anonymous and swap cache (includes transparent hugepages), not
                        including tmpfs (shmem), in bytes.
        
                    - name: stats.rss_huge.bytes
                      type: long
                      format: bytes
                      description: >
                        Number of bytes of anonymous transparent hugepages.
        
                    - name: stats.swap.bytes
                      type: long
                      format: bytes
                      description: >
                        Swap usage, in bytes.
        
                    - name: stats.unevictable.bytes
                      type: long
                      format: bytes
                      description: >
                        Memory that cannot be reclaimed, in bytes.
        
                - name: blkio
                  type: group
                  description: Block IO metrics.
                  fields:
                    - name: id
                      type: keyword
                      description: ID of the cgroup.
        
                    - name: path
                      type: keyword
                      description: >
                        Path to the cgroup relative to the cgroup subsystems mountpoint.
        
                    - name: total.bytes
                      type: long
                      format: bytes
                      description: >
                        Total number of bytes transferred to and from all block devices
                        by processes in the cgroup.
        
                    - name: total.ios
                      type: long
                      description: >
                        Total number of I/O operations performed on all devices
                        by processes in the cgroup as seen by the throttling policy.
        - name: process.summary
          title: Process Summary
          type: group
          description: >
            Summary metrics for the processes running on the host.
          release: ga
          fields:
            - name: total
              type: long
              description: >
                Total number of processes on this host.
            - name: running
              type: long
              description: >
                Number of running processes on this host.
            - name: idle
              type: long
              description: >
                Number of idle processes on this host.
            - name: sleeping
              type: long
              description: >
                Number of sleeping processes on this host.
            - name: stopped
              type: long
              description: >
                Number of stopped processes on this host.
            - name: zombie
              type: long
              description: >
                Number of zombie processes on this host.
            - name: unknown
              type: long
              description: >
                Number of processes for which the state couldn't be retrieved or is unknown.
        - name: raid
          type: group
          description: >
            raid
          release: ga
          fields:
            - name: name
              type: keyword
              description: >
                Name of the device.
            - name: activity_state
              type: keyword
              description: >
                activity-state of the device.
            - name: disks.active
              type: long
              description: >
                 Number of active disks.
            - name: disks.total
              type: long
              description: >
                Total number of disks the device consists of.
            - name: blocks.total
              type: long
              description: >
                Number of blocks the device holds.
            - name: blocks.synced
              type: long
              description: >
                Number of blocks on the device that are in sync.
        - name: socket
          type: group
          description: >
            TCP sockets that are active.
          release: ga
          fields:
            - name: direction
              type: keyword
              example: incoming
              description: >
                How the socket was initiated. Possible values are incoming, outgoing,
                or listening.
        
            - name: family
              type: keyword
              example: ipv4
              description: >
                Address family.
        
            - name: local.ip
              type: ip
              example: 192.0.2.1 or 2001:0DB8:ABED:8536::1
              description: >
                Local IP address. This can be an IPv4 or IPv6 address.
        
            - name: local.port
              type: long
              example: 22
              description: >
                Local port.
        
            - name: remote.ip
              type: ip
              example: 192.0.2.1 or 2001:0DB8:ABED:8536::1
              description: >
                Remote IP address. This can be an IPv4 or IPv6 address.
        
            - name: remote.port
              type: long
              example: 22
              description: >
                Remote port.
        
            - name: remote.host
              type: keyword
              example: 76-211-117-36.nw.example.com.
              description: >
                PTR record associated with the remote IP. It is obtained via reverse
                IP lookup.
        
            - name: remote.etld_plus_one
              type: keyword
              example: example.com.
              description: >
               The effective top-level domain (eTLD) of the remote host plus one more
               label. For example, the eTLD+1 for "foo.bar.golang.org." is "golang.org.".
               The data for determining the eTLD comes from an embedded copy of the data
               from http://publicsuffix.org.
        
            - name: remote.host_error
              type: keyword
              description: >
                Error describing the cause of the reverse lookup failure.
        
            - name: process.pid
              type: long
              description: >
                ID of the process that opened the socket.
        
            - name: process.command
              type: keyword
              description: >
                Name of the command (limited to 20 chars by the OS).
        
            - name: process.cmdline
              type: keyword
              description: >
        
            - name: process.exe
              type: keyword
              description: >
                Absolute path to the executable.
        
            - name: user.id
              type: long
              description: >
                UID of the user running the process.
        
            - name: user.name
              type: keyword
              description: >
                Name of the user running the process.
        - name: uptime
          type: group
          description: >
            `uptime` contains the operating system uptime metric.
          release: ga
          fields:
            - name: duration.ms
              type: long
              format: duration
              input_format: milliseconds
              description: >
                The OS uptime in milliseconds.
- key: traefik
  title: "traefik"
  description: >
    Traefik reverse proxy / load balancer metrics
  release: beta
  fields:
    - name: traefik
      type: group
      description: >
        Traefik reverse proxy / load balancer metrics
      fields:
        - name: health
          type: group
          description: >
            Metrics obtained from Traefik's health API endpoint
          fields:
            - name: uptime.sec
              type: long
              description: >
                Uptime of Traefik instance in seconds
            - name: response
              type: group
              description: >
                Response metrics
              fields:
                - name: count
                  type: long
                  description: >
                    Number of responses
                - name: avg_time.us
                  type: long
                  description: >
                    Average response time in microseconds
                - name: status_code
                  type: object
                  object_type: long
                  description: >
                    Number of responses per status code
- key: uwsgi
  title: "uwsgi"
  description: >
    uwsgi module
  release: beta
  fields:
    - name: uwsgi
      type: group
      description: >
      fields:
        - name: status
          type: group
          release: beta
          description: >
            uwsgi.status metricset fields
          fields:
            - name: total.requests
              type: long
              description: >
                Total requests handled
            - name: total.exceptions
              type: long
              description: >
                Total exceptions
            - name: total.write_errors
              type: long
              description: >
                Total requests write errors
            - name: total.read_errors
              type: long
              description: >
                Total read errors
            - name: total.pid
              type: long
              description: >
                Process id
            - name: worker.id
              type: long
              description: >
                Worker id
            - name: worker.pid
              type: long
              description: >
                Worker process id
            - name: worker.accepting
              type: long
              description: >
                State of worker, 1 if still accepting new requests otherwise 0
            - name: worker.requests
              type: long
              description: >
                Number of requests served by this worker
            - name: worker.delta_requests
              type: long
              description: >
                Number of requests served by this worker after worker is reloaded when reached MAX_REQUESTS
            - name: worker.exceptions
              type: long
              description: >
                Exceptions raised
            - name: worker.harakiri_count
              type: long
              description: >
                Dropped requests by timeout
            - name: worker.signals
              type: long
              description: >
                Emitted signals count
            - name: worker.signal_queue
              type: long
              description: >
                Number of signals waiting to be handled
            - name: worker.status
              type: keyword
              description: >
                Worker status (cheap, pause, sig, busy, idle)
            - name: worker.rss
              type: keyword
              description: >
                Resident Set Size. memory currently used by a process. if always zero try `--memory-report` option of uwsgi
            - name: worker.vsz
              type: long
              description: >
                Virtual Set Size. memory size assigned to a process. if always zero try `--memory-report` option of uwsgi
            - name: worker.running_time
              type: long
              description: >
                Process running time
            - name: worker.respawn_count
              type: long
              description: >
                Respawn count
            - name: worker.tx
              type: long
              description: >
                Transmitted size
            - name: worker.avg_rt
              type: long
              description: >
                Average response time
            - name: core.id
              type: long
              description: >
                worker ID
            - name: core.worker_pid
              type: long
              description: >
                Parent worker PID
            - name: core.requests.total
              type: long
              description: >
                Number of total requests served
            - name: core.requests.static
              type: long
              description: >
                Number of static file serves
            - name: core.requests.routed
              type: long
              description: >
                Routed requests
            - name: core.requests.offloaded
              type: long
              description: >
                Offloaded requests
            - name: core.write_errors
              type: long
              description: >
                Number of failed writes
            - name: core.read_errors
              type: long
              description: >
                Number of failed reads
- key: vsphere
  title: "vSphere"
  description: >
    vSphere module
  release: beta
  fields:
    - name: vsphere
      type: group
      description: >
      fields:
        - name: datastore
          type: group
          description: >
            datastore
          release: beta
          fields:
            - name: name
              type: keyword
              description: >
                Datastore name
            - name: fstype
              type: keyword
              description: >
                Filesystem type
            - name: capacity.total.bytes
              type: long
              description: >
                Total bytes of the datastore
              format: bytes
            - name: capacity.free.bytes
              type: long
              description: >
                Free bytes of the datastore
              format: bytes
            - name: capacity.used.bytes
              type: long
              description: >
                Used bytes of the datastore
              format: bytes
            - name: capacity.used.pct
              type: long
              description: >
                Used percent of the datastore
              format: percent
        
        - name: host
          type: group
          description: >
            host
          release: beta
          fields:
            - name: name
              type: keyword
              description: >
                Host name
            - name: cpu.used.mhz
              type: long
              description: >
                Used CPU in Mhz
            - name: cpu.total.mhz
              type: long
              description: >
                Total CPU in Mhz
            - name: cpu.free.mhz
              type: long
              description: >
                Free CPU in Mhz
            - name: memory.used.bytes
              type: long
              description: >
                Used Memory in bytes
              format: bytes
            - name: memory.total.bytes
              type: long
              description: >
                Total Memory in bytes
              format: bytes
            - name: memory.free.bytes
              type: long
              description: >
                Free Memory in bytes
              format: bytes
            - name: network_names
              type: keyword
              description: >
                Network names
        - name: virtualmachine
          type: group
          description: >
            virtualmachine
          release: beta
          fields:
            - name: host
              type: keyword
              description: >
                Host name
            - name: name
              type: keyword
              description: >
                Virtual Machine name
            - name: cpu.used.mhz
              type: long
              description: >
                Used CPU in Mhz
            - name: memory.used.guest.bytes
              type: long
              description: >
                Used Memory of Guest in bytes
              format: bytes
            - name: memory.used.host.bytes
              type: long
              description: >
                Used Memory of Host in bytes
              format: bytes
            - name: memory.total.guest.bytes
              type: long
              description: >
                Total Memory of Guest in bytes
              format: bytes
            - name: memory.free.guest.bytes
              type: long
              description: >
                Free Memory of Guest in bytes
              format: bytes
            - name: custom_fields
              type: object
              object_type: keyword
              description: >
                Custom fields
            - name: network_names
              type: keyword
              description: >
                Network names
- key: windows
  title: "Windows"
  description: >
    beta[]
    Module for Windows
  short_config: false
  release: beta
  fields:
    - name: windows
      type: group
      description: >
      fields:
        - release: beta
        - name: service
          type: group
          description: >
            `service` contains the status for Windows services.
          release: beta
          fields:
            - name: id
              type: keyword
              example: hW3NJFc1Ap
              description: >
                A unique ID for the service. It is a hash of the machine's GUID and the
                service name.
        
            - name: name
              type: keyword
              example: Wecsvc
              description: >
                The service name.
        
            - name: display_name
              type: keyword
              example: Windows Event Collector
              description: >
                The display name of the service.
        
            - name: start_type
              type: keyword
              description: >
                The startup type of the service. The possible values are `Automatic`,
                `Boot`, `Disabled`, `Manual`, and `System`.
        
            - name: state
              type: keyword
              description: >
                The actual state of the service. The possible values are `Continuing`,
                `Pausing`, `Paused`, `Running`, `Starting`, `Stopping`, and `Stopped`.
        
            - name: exit_code
              type: keyword
              description: >
                For `Stopped` services this is the error code that service reports
                when starting to stopping. This will be the generic Windows service
                error code unless the service provides a service-specific error code.
        
            - name: pid
              type: long
              example: 1092
              description: >
                For `Running` services this is the associated process PID.
        
            - name: uptime.ms
              type: long
              format: duration
              input_format: milliseconds
              description: >
                The service's uptime specified in milliseconds.
- key: zookeeper
  title: "ZooKeeper"
  description: >
    ZooKeeper metrics collected by the four-letter monitoring commands.
  short_config: false
  release: ga
  fields:
    - name: zookeeper
      type: group
      description: >
        `zookeeper` contains the metrics reported by ZooKeeper
        commands.
      fields:
        - name: mntr
          type: group
          description: >
            `mntr` contains the metrics reported by the four-letter `mntr`
            command.
          release: ga
          fields:
            - name: hostname
              type: keyword
              description: >
                ZooKeeper hostname.
            - name: approximate_data_size
              type: long
              description: >
                Approximate size of ZooKeeper data.
            - name: latency.avg
              type: long
              description: >
                Average latency between ensemble hosts in milliseconds.
            - name: ephemerals_count
              type: long
              description: >
                Number of ephemeral znodes.
            - name: followers
              type: long
              description: >
                Number of followers seen by the current host.
            - name: max_file_descriptor_count
              type: long
              description: >
                Maximum number of file descriptors allowed for the ZooKeeper process.
            - name: latency.max
              type: long
              description: >
                Maximum latency in milliseconds.
            - name: latency.min
              type: long
              description: >
                Minimum latency in milliseconds.
            - name: num_alive_connections
              type: long
              description: >
                Number of connections to ZooKeeper that are currently alive.
            - name: open_file_descriptor_count
              type: long
              description: >
                Number of file descriptors open by the ZooKeeper process.
            - name: outstanding_requests
              type: long
              description: >
                Number of outstanding requests that need to be processed by the cluster.
            - name: packets.received
              type: long
              description: >
                Number of ZooKeeper network packets received.
            - name: packets.sent
              type: long
              description: >
                Number of ZooKeeper network packets sent.
            - name: pending_syncs
              type: long
              description: >
                Number of pending syncs to carry out to ZooKeeper ensemble followers.
            - name: server_state
              type: keyword
              description: >
                Role in the ZooKeeper ensemble.
            - name: synced_followers
              type: long
              description: >
                Number of synced followers reported when a node server_state is leader.
            - name: version
              type: keyword
              description: >
                ZooKeeper version and build string reported.
            - name: watch_count
              type: long
              description: >
                Number of watches currently set on the local ZooKeeper process.
            - name: znode_count
              type: long
              description: >
                Number of znodes reported by the local ZooKeeper process.
