Skip to content
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

[vSphere][datastore] Add support for additional metrics #10911

Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
2004252
update event
lucian-ioan Aug 28, 2024
a2c2591
update fields.yml
lucian-ioan Aug 28, 2024
d81254b
add changelog entry
lucian-ioan Aug 28, 2024
e9147ab
update sample event
lucian-ioan Aug 28, 2024
2eb74a8
elastic-package build
lucian-ioan Aug 28, 2024
11a135b
fix sample event
lucian-ioan Aug 28, 2024
8ce790b
fix vsphere name and fstype
lucian-ioan Aug 28, 2024
321a5e2
follow changelog guidelines
lucian-ioan Sep 2, 2024
0cbd1bc
update fields
lucian-ioan Sep 2, 2024
0677108
better field descriptions
lucian-ioan Sep 2, 2024
3b98122
update sample event
lucian-ioan Sep 2, 2024
38b42aa
package build
lucian-ioan Sep 2, 2024
2cb93db
add metric types
lucian-ioan Sep 3, 2024
9f6b19f
revert dockerfile
lucian-ioan Sep 3, 2024
73366a7
add dockerfile newline
lucian-ioan Sep 3, 2024
6a47c43
add period
lucian-ioan Sep 18, 2024
57aad0b
add triggered alarms
lucian-ioan Sep 18, 2024
4c5186f
Merge branch 'main' into update_vsphere_datastore_integration
lucian-ioan Sep 18, 2024
4c457aa
add disk capacity fields
lucian-ioan Sep 18, 2024
7bb821b
add metric types
lucian-ioan Sep 18, 2024
7cad138
update tag
lucian-ioan Sep 18, 2024
5333a11
update version to 1.15.0-next
lucian-ioan Sep 19, 2024
73a1b47
update kibana version to 8.15.2
lucian-ioan Sep 19, 2024
4afc186
remove global period
lucian-ioan Sep 19, 2024
ac62604
remove latency and iops fields
lucian-ioan Sep 19, 2024
9c7ae05
update triggered alarms to group
lucian-ioan Sep 19, 2024
1bdac8d
add tags in stream.yml.hbs
lucian-ioan Sep 19, 2024
47317a7
add system tests
lucian-ioan Sep 19, 2024
0b87f5b
Merge remote-tracking branch 'origin' into update_vsphere_datastore_i…
lucian-ioan Sep 19, 2024
9c15224
update readme
lucian-ioan Sep 19, 2024
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
Prev Previous commit
update readme
  • Loading branch information
lucian-ioan committed Sep 19, 2024
commit 9c15224b38e6df3e2e16abda67ed9b3bbca93fde
93 changes: 64 additions & 29 deletions packages/vsphere/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,50 +172,52 @@ An example event for `datastore` looks as following:

```json
{
"@timestamp": "2023-06-29T08:03:30.114Z",
"@timestamp": "2024-09-02T10:04:25.122Z",
"agent": {
"ephemeral_id": "8b019ff3-cbda-41fa-b1ff-974d482b9694",
"id": "5096d7cc-1e4b-4959-abea-7355be2913a7",
"name": "docker-fleet-agent",
"ephemeral_id": "4da294a3-ad54-47f4-92c7-544e1356a0d8",
"id": "b01ab3cf-51ad-4c4d-87bd-fc2d4aa59d8a",
"name": "elastic-agent-76236",
"type": "metricbeat",
"version": "8.8.1"
"version": "8.16.0"
},
"data_stream": {
"dataset": "vsphere.datastore",
"namespace": "ep",
"namespace": "86691",
"type": "metrics"
},
"ecs": {
"version": "8.11.0"
},
"elastic_agent": {
"id": "5096d7cc-1e4b-4959-abea-7355be2913a7",
"snapshot": false,
"version": "8.8.1"
"id": "b01ab3cf-51ad-4c4d-87bd-fc2d4aa59d8a",
"snapshot": true,
"version": "8.16.0"
},
"event": {
"agent_id_status": "verified",
"dataset": "vsphere.datastore",
"duration": 23155458,
"ingested": "2023-06-29T08:03:31Z",
"duration": 190147614,
"ingested": "2024-09-02T10:04:27Z",
"module": "vsphere"
},
"host": {
"architecture": "aarch64",
"containerized": false,
"hostname": "docker-fleet-agent",
"id": "d08b346fbb8f49f5a2bb1a477f8ceb54",
"architecture": "x86_64",
"containerized": true,
"hostname": "elastic-agent-76236",
"id": "e744630f9d4f43dc818e497d221bd0b2",
"ip": [
"172.23.0.7"
"172.18.0.4",
"172.21.0.2"
],
"mac": [
"02-42-AC-17-00-07"
"02-42-AC-12-00-04",
"02-42-AC-15-00-02"
],
"name": "docker-fleet-agent",
"name": "elastic-agent-76236",
"os": {
"codename": "focal",
"family": "debian",
"kernel": "5.10.104-linuxkit",
"kernel": "5.15.153.1-microsoft-standard-WSL2",
"name": "Ubuntu",
"platform": "ubuntu",
"type": "linux",
Expand All @@ -227,25 +229,56 @@ An example event for `datastore` looks as following:
"period": 10000
},
"service": {
"address": "https://elastic-package-service_vsphere-metrics_1:8989/sdk",
"address": "https://svc-vsphere-metrics:8989/sdk",
"type": "vsphere"
},
"vsphere": {
"datastore": {
"disk": {
"capacity": {
"usage": {
"bytes": 520505786368
},
"bytes": 1610344300544
},
"provisioned": {
"bytes": 520505786368
}
},
"capacity": {
"free": {
"bytes": 47869427712
"bytes": 37120094208
},
"total": {
"bytes": 62725623808
"bytes": 74686664704
},
"used": {
"bytes": 14856196096,
"pct": 0.237
"bytes": 37566570496,
"pct": 0.502988996026061
}
},
"fstype": "OTHER",
"name": "LocalDS_0"
"host": {
"count": 1,
"names": "DC0_H0"
},
"name": "LocalDS_0",
"read": {
"bytes": 1024
},
"status": "green",
"vm": {
"count": 4,
"names": [
"DC0_C0_RP0_VM0",
"DC0_C0_RP0_VM1",
"DC0_H0_VM0",
"DC0_H0_VM1"
]
},
"write": {
"bytes": 450560
}
}
}
}
Expand Down Expand Up @@ -287,16 +320,18 @@ Please refer to the following [document](https://www.elastic.co/guide/en/ecs/cur
| 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 | | |
| vsphere.datastore.iops | Storage I/O Control aggregated Input/Output Operations Per Second. | long | | gauge |
| vsphere.datastore.name | Datastore name. | keyword | | |
| vsphere.datastore.read.bytes | Rate of reading data from the datastore. | long | byte | gauge |
| vsphere.datastore.read.latency.total.ms | Average amount of time for a read operation from the datastore in milliseconds. | long | ms | gauge |
| vsphere.datastore.status | Status of the datastore. | keyword | | |
| vsphere.datastore.triggerd_alarms.\* | List of all the triggerd alarms. | object | | |
| vsphere.datastore.triggered_alarms.description | Description of the alarm. | keyword | | |
| vsphere.datastore.triggered_alarms.entity_name | Name of the entity associated with the alarm. | keyword | | |
| vsphere.datastore.triggered_alarms.id | Unique identifier for the alarm. | keyword | | |
| vsphere.datastore.triggered_alarms.name | Name of the alarm. | keyword | | |
| vsphere.datastore.triggered_alarms.status | Status of the alarm. | keyword | | |
| vsphere.datastore.triggered_alarms.triggered_time | Time when the alarm was triggered. | date | | |
| vsphere.datastore.vm.count | Number of VMs associated with the datastore. | long | | gauge |
| vsphere.datastore.vm.names | List of all the VM names associated with the datastore. | keyword | | |
| vsphere.datastore.write.bytes | Rate of writing data to the datastore. | long | byte | gauge |
| vsphere.datastore.write.latency.total.ms | Average amount of time for a write operation from the datastore in milliseconds. | long | ms | gauge |


### Host
Expand Down