Skip to content

Commit 3fe930c

Browse files
committed
addressed previous PR comments
Signed-off-by: Samiur Arif <[email protected]>
1 parent bfe79f6 commit 3fe930c

File tree

12 files changed

+1711
-353
lines changed

12 files changed

+1711
-353
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: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,21 @@ Total memory capacity of the host system.
820820
| ---- | ----------- | ---------- | ----------------------- | --------- |
821821
| MiBy | Sum | Double | Cumulative | false |
822822
823+
### vcenter.vm.cpu.time
824+
825+
CPU time spent in idle, ready or idle state.
826+
827+
| Unit | Metric Type | Value Type |
828+
| ---- | ----------- | ---------- |
829+
| % | Gauge | Double |
830+
831+
#### Attributes
832+
833+
| Name | Description | Values |
834+
| ---- | ----------- | ------ |
835+
| spent_state | Whether the CPU time was spent in idle, ready or wait state. | Str: ``idle``, ``ready``, ``wait`` |
836+
| object | The object on the virtual machine or host that is being reported on. | Any Str |
837+
823838
### vcenter.vm.memory.granted
824839
825840
The amount of memory that is granted to a VM.
@@ -828,6 +843,40 @@ The amount of memory that is granted to a VM.
828843
| ---- | ----------- | ---------- | ----------------------- | --------- |
829844
| MiBy | Sum | Int | Cumulative | false |
830845
846+
### vcenter.vm.network.broadcast.packet.rate
847+
848+
The rate of broadcast packets transmitted or received by each vNIC (virtual network interface controller) on the virtual machine.
849+
850+
As measured over the most recent 20s interval.
851+
852+
| Unit | Metric Type | Value Type |
853+
| ---- | ----------- | ---------- |
854+
| {packets/s} | Gauge | Double |
855+
856+
#### Attributes
857+
858+
| Name | Description | Values |
859+
| ---- | ----------- | ------ |
860+
| direction | The direction of network throughput. | Str: ``transmitted``, ``received`` |
861+
| object | The object on the virtual machine or host that is being reported on. | Any Str |
862+
863+
### vcenter.vm.network.multicast.packet.rate
864+
865+
The rate of multicast packets transmitted or received by each vNIC (virtual network interface controller) on the virtual machine.
866+
867+
As measured over the most recent 20s interval.
868+
869+
| Unit | Metric Type | Value Type |
870+
| ---- | ----------- | ---------- |
871+
| {packets/s} | Gauge | Double |
872+
873+
#### Attributes
874+
875+
| Name | Description | Values |
876+
| ---- | ----------- | ------ |
877+
| direction | The direction of network throughput. | Str: ``transmitted``, ``received`` |
878+
| object | The object on the virtual machine or host that is being reported on. | Any Str |
879+
831880
## Resource Attributes
832881
833882
| Name | Description | Values | Enabled |

receiver/vcenterreceiver/internal/metadata/generated_config.go

Lines changed: 80 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)