Skip to content

Adding Useful Vcenter Receiver VM Performace Metrics #37488

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

Closed
samiura opened this issue Jan 25, 2025 · 5 comments
Closed

Adding Useful Vcenter Receiver VM Performace Metrics #37488

samiura opened this issue Jan 25, 2025 · 5 comments

Comments

@samiura
Copy link
Contributor

samiura commented Jan 25, 2025

Component(s)

receiver/vcenter

Describe the issue you're reporting

Component(s)

receiver/vcenter

Describe the issue you're reporting

There are various metrics that we don't currently capture or could capture at a higher level as mentioned on this issue before.

Adding these six additional metrics to the Vcenter receiver and by default they are disabled. These six virtual machines related performance metrics are very useful for monitoring any Vcenter/ESXi server.

  1. vcenter.vm.cpu.idle.time
  2. vcenter.vm.cpu.wait.time
  3. vcenter.vm.cpu.ready.time
  4. vcenter.vm.cpu.latency.avg
  5. vcenter.vm.network.multicast.packet.rate
  6. vcenter.vm.network.broadcast.packet.rate
@samiura
Copy link
Contributor Author

samiura commented Jan 25, 2025

Please note I have an PR ready for this issue already here, so no need for someone to work on this at all.

Copy link
Contributor

Pinging code owners for receiver/vcenter: @schmikei @StefanKurek. See Adding Labels via Comments if you do not have permissions to add labels yourself. For example, comment '/label priority:p2 -needs-triaged' to set the priority and remove the needs-triaged label.

@crobert-1
Copy link
Member

Removing needs triage as a code owner has approved the PR implementing this change.

@crobert-1 crobert-1 removed the needs triage New item requiring triage label Jan 29, 2025
songy23 pushed a commit that referenced this issue Feb 5, 2025
…37489)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This PR adds the following VM performance metrics for vcenter.

1. `vcenter.vm.cpu.time`
2. `vcenter.vm.network.multicast.packet.rate`
3. `vcenter.vm.network.broadcast.packet.rate`

More information on these metrics can be found
[here](https://docs.vmware.com/en/vRealize-Operations/8.10/com.vmware.vcom.metrics.doc/GUID-41603CD6-453B-4E26-A237-34E733BAB00C.html).
and also succinctly described
[here](https://www.servicenow.com/docs/bundle/xanadu-it-operations-management/page/product/agent-client-collector/reference/vsphere-metrics.html)

<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#37488 


<!--Describe what testing was performed and which tests were added.-->
#### Testing
The metrics were scraped from a test vCenter environment, and golden
test files were updated accordingly to reflect the addition of the
metric.


<!--Describe the documentation added.-->
#### Documentation
Documentation was updated according to the metadata.yaml
<img width="1776" alt="evidence1"
src="https://github.com/user-attachments/assets/662d6ff5-dda5-4e56-b124-5b401992871a"
/>
<img width="650" alt="Screenshot 2025-01-29 at 10 48 33 AM"
src="https://github.com/user-attachments/assets/c421ed17-d718-4f78-b5d1-4b96627d7584"
/>
<img width="125" alt="Screenshot 2025-01-29 at 10 53 54 AM"
src="https://github.com/user-attachments/assets/12317bf0-d767-4d6d-ad2f-0daf07c18555"
/>
<img width="933" alt="Screenshot 2025-01-29 at 10 54 11 AM"
src="https://github.com/user-attachments/assets/331a31fb-0574-4465-8fc5-240be40e2684"
/>

Signed-off-by: Samiur Arif <[email protected]>
chengchuanpeng pushed a commit to chengchuanpeng/opentelemetry-collector-contrib that referenced this issue Feb 8, 2025
…pen-telemetry#37489)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This PR adds the following VM performance metrics for vcenter.

1. `vcenter.vm.cpu.time`
2. `vcenter.vm.network.multicast.packet.rate`
3. `vcenter.vm.network.broadcast.packet.rate`

More information on these metrics can be found
[here](https://docs.vmware.com/en/vRealize-Operations/8.10/com.vmware.vcom.metrics.doc/GUID-41603CD6-453B-4E26-A237-34E733BAB00C.html).
and also succinctly described
[here](https://www.servicenow.com/docs/bundle/xanadu-it-operations-management/page/product/agent-client-collector/reference/vsphere-metrics.html)

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
open-telemetry#37488 


<!--Describe what testing was performed and which tests were added.-->
#### Testing
The metrics were scraped from a test vCenter environment, and golden
test files were updated accordingly to reflect the addition of the
metric.


<!--Describe the documentation added.-->
#### Documentation
Documentation was updated according to the metadata.yaml
<img width="1776" alt="evidence1"
src="https://github.com/user-attachments/assets/662d6ff5-dda5-4e56-b124-5b401992871a"
/>
<img width="650" alt="Screenshot 2025-01-29 at 10 48 33 AM"
src="https://github.com/user-attachments/assets/c421ed17-d718-4f78-b5d1-4b96627d7584"
/>
<img width="125" alt="Screenshot 2025-01-29 at 10 53 54 AM"
src="https://github.com/user-attachments/assets/12317bf0-d767-4d6d-ad2f-0daf07c18555"
/>
<img width="933" alt="Screenshot 2025-01-29 at 10 54 11 AM"
src="https://github.com/user-attachments/assets/331a31fb-0574-4465-8fc5-240be40e2684"
/>

Signed-off-by: Samiur Arif <[email protected]>
Copy link
Contributor

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@github-actions github-actions bot added the Stale label Mar 31, 2025
zeck-ops pushed a commit to zeck-ops/opentelemetry-collector-contrib that referenced this issue Apr 23, 2025
…pen-telemetry#37489)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This PR adds the following VM performance metrics for vcenter.

1. `vcenter.vm.cpu.time`
2. `vcenter.vm.network.multicast.packet.rate`
3. `vcenter.vm.network.broadcast.packet.rate`

More information on these metrics can be found
[here](https://docs.vmware.com/en/vRealize-Operations/8.10/com.vmware.vcom.metrics.doc/GUID-41603CD6-453B-4E26-A237-34E733BAB00C.html).
and also succinctly described
[here](https://www.servicenow.com/docs/bundle/xanadu-it-operations-management/page/product/agent-client-collector/reference/vsphere-metrics.html)

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
open-telemetry#37488 


<!--Describe what testing was performed and which tests were added.-->
#### Testing
The metrics were scraped from a test vCenter environment, and golden
test files were updated accordingly to reflect the addition of the
metric.


<!--Describe the documentation added.-->
#### Documentation
Documentation was updated according to the metadata.yaml
<img width="1776" alt="evidence1"
src="https://github.com/user-attachments/assets/662d6ff5-dda5-4e56-b124-5b401992871a"
/>
<img width="650" alt="Screenshot 2025-01-29 at 10 48 33 AM"
src="https://github.com/user-attachments/assets/c421ed17-d718-4f78-b5d1-4b96627d7584"
/>
<img width="125" alt="Screenshot 2025-01-29 at 10 53 54 AM"
src="https://github.com/user-attachments/assets/12317bf0-d767-4d6d-ad2f-0daf07c18555"
/>
<img width="933" alt="Screenshot 2025-01-29 at 10 54 11 AM"
src="https://github.com/user-attachments/assets/331a31fb-0574-4465-8fc5-240be40e2684"
/>

Signed-off-by: Samiur Arif <[email protected]>
Copy link
Contributor

This issue has been closed as inactive because it has been stale for 120 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants