Skip to content

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.percent
type: long
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.percent
type: long
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.kiloBytesPerSecond
type: long
description: >
Aggregated disk I/O rate.
- name: read.average.kiloBytesPerSecond
type: long
description: >
Rate at which data is read from each virtual disk on the virtual machine.
- name: write.average.kiloBytesPerSecond
type: long
description: >
Rate at which data is written to each virtual disk on the virtual machine.
- name: numberRead
type: long
description: >
Number of times data was read.
- name: numberWrite
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 @@ -1219,15 +1219,22 @@ Please refer to the following [document](https://www.elastic.co/guide/en/ecs/cur
| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword | | |
| 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.percent | CPU usage as a percentage. | long | | |
| vsphere.virtualmachine.cpu.total.mhz | Total Reserved CPU in Mhz. | long | | counter |
| 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.kiloBytesPerSecond | Aggregated disk I/O rate. | long | | |
| vsphere.virtualmachine.disk.numberRead | Number of times data was read. | long | | |
| vsphere.virtualmachine.disk.numberWrite | Number of disk writes. | long | | |
| vsphere.virtualmachine.disk.read.average.kiloBytesPerSecond | Rate at which data is read from each virtual disk on the virtual machine. | long | | |
| vsphere.virtualmachine.disk.write.average.kiloBytesPerSecond | 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.percent | Memory usage as percent of total configured or available memory. | long | | |
| vsphere.virtualmachine.memory.total.guest.bytes | Total memory of Guest in bytes. | long | byte | gauge |
| 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 |
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