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

[receiver/vcenter] Adds Initial Support for VM Templates #32831

Merged

Conversation

StefanKurek
Copy link
Contributor

Description:

  • The Cluster vcenter.cluster.vm.count metric now does not include templates in the returned values.
  • A new (default disabled with warning) Cluster vcenter.cluster.vm_template.countmetric is added to count only VM templates.
  • VM Template Resource Attributes vcenter.vm_template.name and vcenter.vm_template.id have been added (default disabled with warning). If disabled, resources will no longer be created for VM templates.
  • Trimmed down VM Template metrics to a single expected metric.
  • Fixed integration test build tag that was accidentally removed in previous PR

Link to tracking Issue:
#32821

Testing:
Unit/integration tests updated and tested. Local environment tested.

Documentation:
New documentation generated based on the metadata.

@StefanKurek StefanKurek requested a review from crobert-1 May 3, 2024 13:57
Cluster vm count metric now does not include templates
New default disabled Cluster vm template count metric added
VM Template default disabled resource attributes added
Fix integration integration test build tag that was accidentally removed
@StefanKurek StefanKurek force-pushed the fix/vcenterreceiver_add_vm_templates branch from 2258b73 to fbe3eb7 Compare May 3, 2024 17:33
Copy link
Member

@crobert-1 crobert-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I don't have a lot of experience here, so a code owner will definitely need to take a look as well 👍

@djaglowski djaglowski merged commit e2388c2 into open-telemetry:main May 3, 2024
162 checks passed
@github-actions github-actions bot added this to the next release milestone May 3, 2024
@StefanKurek StefanKurek deleted the fix/vcenterreceiver_add_vm_templates branch May 6, 2024 13:23
rimitchell pushed a commit to rimitchell/opentelemetry-collector-contrib that referenced this pull request May 8, 2024
…try#32831)

**Description:** <Describe what has changed.>
- The Cluster `vcenter.cluster.vm.count` metric now does not include
templates in the returned values.
- A new (default disabled with warning) Cluster
`vcenter.cluster.vm_template.count`metric is added to count only VM
templates.
- VM Template Resource Attributes `vcenter.vm_template.name` and
`vcenter.vm_template.id` have been added (default disabled with
warning). If disabled, resources will no longer be created for VM
templates.
- Trimmed down VM Template metrics to a single expected metric.
- Fixed integration test build tag that was accidentally removed in
previous PR

**Link to tracking Issue:** <Issue number if applicable>
open-telemetry#32821 

**Testing:** <Describe what testing was performed and which tests were
added.>
Unit/integration tests updated and tested. Local environment tested.

**Documentation:** <Describe the documentation added.>
New documentation generated based on the metadata.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants