Skip to content

Commit

Permalink
add metric types
Browse files Browse the repository at this point in the history
  • Loading branch information
lucian-ioan committed Sep 18, 2024
1 parent 4c457aa commit 7bb821b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
17 changes: 3 additions & 14 deletions packages/vsphere/data_stream/datastore/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@
description: Filesystem type.
- name: disk.capacity.bytes
type: long
metric_type: gauge
description: >
Configured size of the datastore.
format: bytes
- name: disk.capacity.usage.bytes
type: long
metric_type: gauge
description: >
The amount of storage capacity currently being consumed by datastore.
format: bytes
- name: disk.provisioned.bytes
type: long
metric_type: gauge
description: >
Amount of storage set aside for use by a datastore.
format: bytes
- name: capacity.total.bytes
type: long
Expand Down Expand Up @@ -59,67 +59,56 @@
metric_type: gauge
description: >
Number of hosts associated with the datastore.
- name: host.names
type: keyword
description: >
List of all the host names associated with the datastore.
- name: iops
type: long
metric_type: gauge
description: >
Storage I/O Control aggregated Input/Output Operations Per Second.
- name: read.bytes
type: long
metric_type: gauge
unit: byte
description: >
Rate of reading data from the datastore.
format: bytes
- name: read.latency.total.ms
type: long
metric_type: gauge
unit: ms
description: >
Average amount of time for a read operation from the datastore in milliseconds.
- name: status
type: keyword
description: >
Status of the datastore.
- name: triggerd_alarms.*
type: object
object_type: keyword
description: >
List of all the triggerd alarms.
- name: vm.count
type: long
metric_type: gauge
description: >
Number of VMs associated with the datastore.
- name: vm.names
type: keyword
description: >
List of all the VM names associated with the datastore.
- name: write.bytes
type: long
metric_type: gauge
unit: byte
description: >
Rate of writing data to the datastore.
format: bytes
- name: write.latency.total.ms
metric_type: gauge
unit: ms
type: long
description: >
Average amount of time for a write operation from the datastore in milliseconds.
6 changes: 3 additions & 3 deletions packages/vsphere/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,9 @@ Please refer to the following [document](https://www.elastic.co/guide/en/ecs/cur
| vsphere.datastore.capacity.total.bytes | Total bytes of the datastore. | long | byte | gauge |
| vsphere.datastore.capacity.used.bytes | Used bytes of the datastore. | long | byte | gauge |
| vsphere.datastore.capacity.used.pct | Percentage of datastore capacity used. | scaled_float | percent | gauge |
| vsphere.datastore.disk.capacity.bytes | Configured size of the datastore. | long | | |
| vsphere.datastore.disk.capacity.usage.bytes | The amount of storage capacity currently being consumed by datastore. | long | | |
| vsphere.datastore.disk.provisioned.bytes | Amount of storage set aside for use by a datastore. | long | | |
| vsphere.datastore.disk.capacity.bytes | Configured size of the datastore. | long | | gauge |
| vsphere.datastore.disk.capacity.usage.bytes | The amount of storage capacity currently being consumed by datastore. | long | | gauge |
| vsphere.datastore.disk.provisioned.bytes | Amount of storage set aside for use by a datastore. | long | | gauge |
| vsphere.datastore.fstype | Filesystem type. | keyword | | |
| vsphere.datastore.host.count | Number of hosts associated with the datastore. | long | | gauge |
| vsphere.datastore.host.names | List of all the host names associated with the datastore. | keyword | | |
Expand Down

0 comments on commit 7bb821b

Please sign in to comment.