Skip to content

Commit

Permalink
Signed-off-by: Samiur Arif <[email protected]>
Browse files Browse the repository at this point in the history
added six new metrics for vcenter receiver VM performance related metrics

Signed-off-by: Samiur Arif <[email protected]>
  • Loading branch information
samiura committed Jan 25, 2025
1 parent 9841fe1 commit 8994147
Show file tree
Hide file tree
Showing 12 changed files with 1,892 additions and 354 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Use this changelog template to create an entry for release notes.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: enhancement

# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
component: vcenterreceiver

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Adds six more Vcenter virtual machine performance metrics

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
issues: [37488]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:

# If your change doesn't affect end users or the exported elements of any package,
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
# Optional: The change log or logs in which this entry should be included.
# e.g. '[user]' or '[user, api]'
# Include 'user' if the change is relevant to end users.
# Include 'api' if there is a change to a library API.
# Default: '[user]'
change_logs: [user]
90 changes: 90 additions & 0 deletions receiver/vcenterreceiver/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,62 @@ Total memory capacity of the host system.
| ---- | ----------- | ---------- | ----------------------- | --------- |
| MiBy | Sum | Double | Cumulative | false |
### vcenter.vm.cpu.idle.time
Total time that the CPU spent in an idle state.
| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| ms | Gauge | Int |
#### Attributes
| Name | Description | Values |
| ---- | ----------- | ------ |
| object | The object on the virtual machine or host that is being reported on. | Any Str |
### vcenter.vm.cpu.latency.avg
Percent of time the virtual machine is unable to run because it is contending for access to the physical CPU.
| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| ms | Gauge | Int |
#### Attributes
| Name | Description | Values |
| ---- | ----------- | ------ |
| object | The object on the virtual machine or host that is being reported on. | Any Str |
### vcenter.vm.cpu.ready.time
Milliseconds of CPU time spent in ready state.
| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| ms | Gauge | Int |
#### Attributes
| Name | Description | Values |
| ---- | ----------- | ------ |
| object | The object on the virtual machine or host that is being reported on. | Any Str |
### vcenter.vm.cpu.wait.time
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.
| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| ms | Gauge | Int |
#### Attributes
| Name | Description | Values |
| ---- | ----------- | ------ |
| object | The object on the virtual machine or host that is being reported on. | Any Str |
### vcenter.vm.memory.granted
The amount of memory that is granted to a VM.
Expand All @@ -828,6 +884,40 @@ The amount of memory that is granted to a VM.
| ---- | ----------- | ---------- | ----------------------- | --------- |
| MiBy | Sum | Int | Cumulative | false |
### vcenter.vm.network.broadcast.packet.rate
The rate of broadcast packets transmitted or received by each vNIC (virtual network interface controller) on the virtual machine.
As measured over the most recent 20s interval.
| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {packets/s} | Gauge | Double |
#### Attributes
| Name | Description | Values |
| ---- | ----------- | ------ |
| direction | The direction of network throughput. | Str: ``transmitted``, ``received`` |
| object | The object on the virtual machine or host that is being reported on. | Any Str |
### vcenter.vm.network.multicast.packet.rate
The rate of multicast packets transmitted or received by each vNIC (virtual network interface controller) on the virtual machine.
As measured over the most recent 20s interval.
| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| {packets/s} | Gauge | Double |
#### Attributes
| Name | Description | Values |
| ---- | ----------- | ------ |
| direction | The direction of network throughput. | Str: ``transmitted``, ``received`` |
| object | The object on the virtual machine or host that is being reported on. | Any Str |
## Resource Attributes
| Name | Description | Values | Enabled |
Expand Down
160 changes: 92 additions & 68 deletions receiver/vcenterreceiver/internal/metadata/generated_config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8994147

Please sign in to comment.