Skip to content

[don't merge] Vsphere metrics #13907

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
5 changes: 5 additions & 0 deletions packages/vsphere/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.19.0"
changes:
- description: Add new metrics to vSphere Virtual Machine dataset (CPU usage percentage, disk average usage, disk read/write rate, number of disk reads/writes, memory usage percentage).
type: enhancement
link: https://github.com/elastic/integrations/pull/13907
- version: "1.18.2"
changes:
- description: Updated vSphere supported versions in documentation.
Expand Down
33 changes: 32 additions & 1 deletion packages/vsphere/data_stream/virtualmachine/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
metric_type: counter
description: >
Total Reserved CPU in Mhz.
- name: cpu.usage.percent
type: scaled_float
description: >
CPU usage as a percentage.
- name: cpu.free.mhz
type: long
metric_type: gauge
Expand Down Expand Up @@ -78,6 +82,10 @@
description: >
Free memory of Guest in bytes.
format: bytes
- name: memory.usage.percent
type: scaled_float
description: >
Memory usage as percent of total configured or available memory.
- name: custom_fields
type: object
object_type: keyword
Expand Down Expand Up @@ -172,4 +180,27 @@
- name: warning.names
type: keyword
description: >
List of all the warnings on this virtualmachine.
List of all the warnings on this virtualmachine.
- name: disk
type: group
fields:
- name: average.bytes
type: long
description: >
Aggregated disk I/O rate.
- name: read.average.bytes
type: long
description: >
Rate at which data is read from each virtual disk on the virtual machine.
- name: write.average.bytes
type: long
description: >
Rate at which data is written to each virtual disk on the virtual machine.
- name: numberRead.count
type: long
description: >
Number of times data was read.
- name: numberWrite.count
type: long
description: >
Number of disk writes.
7 changes: 7 additions & 0 deletions packages/vsphere/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1220,15 +1220,22 @@ Please refer to the following [document](https://www.elastic.co/guide/en/ecs/cur
| vsphere.virtualmachine.alert.names | List of all the alerts on this virtualmachine. | keyword | | |
| vsphere.virtualmachine.cpu.free.mhz | Available CPU in Mhz. | long | | gauge |
| vsphere.virtualmachine.cpu.total.mhz | Total Reserved CPU in Mhz. | long | | counter |
| vsphere.virtualmachine.cpu.usage.percent | CPU usage as a percentage. | scaled_float | | |
| vsphere.virtualmachine.cpu.used.mhz | Used CPU in Mhz. | long | | gauge |
| vsphere.virtualmachine.custom_fields | Custom fields. | object | | |
| vsphere.virtualmachine.datastore.count | Number of datastores associated to this virtualmachine. | long | | gauge |
| vsphere.virtualmachine.datastore.names | Names of the datastore associated to this virtualmachine. | keyword | | |
| vsphere.virtualmachine.disk.average.bytes | Aggregated disk I/O rate. | long | | |
| vsphere.virtualmachine.disk.numberRead.count | Number of times data was read. | long | | |
| vsphere.virtualmachine.disk.numberWrite.count | Number of disk writes. | long | | |
| vsphere.virtualmachine.disk.read.average.bytes | Rate at which data is read from each virtual disk on the virtual machine. | long | | |
| vsphere.virtualmachine.disk.write.average.bytes | Rate at which data is written to each virtual disk on the virtual machine. | long | | |
| vsphere.virtualmachine.host.hostname | Hostname of the host. | keyword | | |
| vsphere.virtualmachine.host.id | Host id. | keyword | | |
| vsphere.virtualmachine.id | Unique virtual machine ID. | keyword | | |
| vsphere.virtualmachine.memory.free.guest.bytes | Free memory of Guest in bytes. | long | byte | gauge |
| vsphere.virtualmachine.memory.total.guest.bytes | Total memory of Guest in bytes. | long | byte | gauge |
| vsphere.virtualmachine.memory.usage.percent | Memory usage as percent of total configured or available memory. | scaled_float | | |
| vsphere.virtualmachine.memory.used.guest.bytes | Used memory of Guest in bytes. | long | byte | gauge |
| vsphere.virtualmachine.memory.used.host.bytes | Used memory of Host in bytes. | long | byte | gauge |
| vsphere.virtualmachine.name | Virtual machine name. | keyword | | |
Expand Down
2 changes: 1 addition & 1 deletion packages/vsphere/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: VMware vSphere
format_version: "3.0.2"
name: vsphere
version: "1.18.2"
version: "1.19.0"
description: This Elastic integration collects metrics and logs from vSphere/vCenter servers
type: integration
categories:
Expand Down