Skip to content

Commit 816b219

Browse files
committed
Signed-off-by: Samiur Arif <[email protected]>
added six new metrics for vcenter receiver VM performance related metrics Signed-off-by: Samiur Arif <[email protected]>
1 parent 9841fe1 commit 816b219

File tree

12 files changed

+1894
-354
lines changed

12 files changed

+1894
-354
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: enhancement
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
7+
component: vcenterreceiver
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Adds six more Vcenter virtual machine performance metrics
11+
12+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13+
issues: [37488]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext:
19+
20+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
22+
# Optional: The change log or logs in which this entry should be included.
23+
# e.g. '[user]' or '[user, api]'
24+
# Include 'user' if the change is relevant to end users.
25+
# Include 'api' if there is a change to a library API.
26+
# Default: '[user]'
27+
change_logs: [user]

receiver/vcenterreceiver/documentation.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,62 @@ Total memory capacity of the host system.
820820
| ---- | ----------- | ---------- | ----------------------- | --------- |
821821
| MiBy | Sum | Double | Cumulative | false |
822822
823+
### vcenter.vm.cpu.idle.time
824+
825+
Total time that the CPU spent in an idle state.
826+
827+
| Unit | Metric Type | Value Type |
828+
| ---- | ----------- | ---------- |
829+
| ms | Gauge | Int |
830+
831+
#### Attributes
832+
833+
| Name | Description | Values |
834+
| ---- | ----------- | ------ |
835+
| object | The object on the virtual machine or host that is being reported on. | Any Str |
836+
837+
### vcenter.vm.cpu.latency.avg
838+
839+
Percent of time the virtual machine is unable to run because it is contending for access to the physical CPU.
840+
841+
| Unit | Metric Type | Value Type |
842+
| ---- | ----------- | ---------- |
843+
| ms | Gauge | Int |
844+
845+
#### Attributes
846+
847+
| Name | Description | Values |
848+
| ---- | ----------- | ------ |
849+
| object | The object on the virtual machine or host that is being reported on. | Any Str |
850+
851+
### vcenter.vm.cpu.ready.time
852+
853+
Milliseconds of CPU time spent in ready state.
854+
855+
| Unit | Metric Type | Value Type |
856+
| ---- | ----------- | ---------- |
857+
| ms | Gauge | Int |
858+
859+
#### Attributes
860+
861+
| Name | Description | Values |
862+
| ---- | ----------- | ------ |
863+
| object | The object on the virtual machine or host that is being reported on. | Any Str |
864+
865+
### vcenter.vm.cpu.wait.time
866+
867+
Total CPU time spent in wait state.The wait total includes time spent the CPU Idle, CPU Swap Wait, and CPU I/O Wait states.
868+
869+
| Unit | Metric Type | Value Type |
870+
| ---- | ----------- | ---------- |
871+
| ms | Gauge | Int |
872+
873+
#### Attributes
874+
875+
| Name | Description | Values |
876+
| ---- | ----------- | ------ |
877+
| object | The object on the virtual machine or host that is being reported on. | Any Str |
878+
823879
### vcenter.vm.memory.granted
824880
825881
The amount of memory that is granted to a VM.
@@ -828,6 +884,40 @@ The amount of memory that is granted to a VM.
828884
| ---- | ----------- | ---------- | ----------------------- | --------- |
829885
| MiBy | Sum | Int | Cumulative | false |
830886
887+
### vcenter.vm.network.broadcast.packet.rate
888+
889+
The rate of broadcast packets transmitted or received by each vNIC (virtual network interface controller) on the virtual machine.
890+
891+
As measured over the most recent 20s interval.
892+
893+
| Unit | Metric Type | Value Type |
894+
| ---- | ----------- | ---------- |
895+
| {packets/s} | Gauge | Double |
896+
897+
#### Attributes
898+
899+
| Name | Description | Values |
900+
| ---- | ----------- | ------ |
901+
| direction | The direction of network throughput. | Str: ``transmitted``, ``received`` |
902+
| object | The object on the virtual machine or host that is being reported on. | Any Str |
903+
904+
### vcenter.vm.network.multicast.packet.rate
905+
906+
The rate of multicast packets transmitted or received by each vNIC (virtual network interface controller) on the virtual machine.
907+
908+
As measured over the most recent 20s interval.
909+
910+
| Unit | Metric Type | Value Type |
911+
| ---- | ----------- | ---------- |
912+
| {packets/s} | Gauge | Double |
913+
914+
#### Attributes
915+
916+
| Name | Description | Values |
917+
| ---- | ----------- | ------ |
918+
| direction | The direction of network throughput. | Str: ``transmitted``, ``received`` |
919+
| object | The object on the virtual machine or host that is being reported on. | Any Str |
920+
831921
## Resource Attributes
832922
833923
| Name | Description | Values | Enabled |

receiver/vcenterreceiver/internal/metadata/generated_config.go

Lines changed: 92 additions & 68 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)