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 vCenter VSAN Host metrics #34063

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

BominRahmani
Copy link
Contributor

Description:

The following PR adds VSAN host metric collection. The following metrics are collected

vcenter.host.vsan.throughput          (direction={read/write})
vcenter.host.vsan.iops                (direction={read/write})
vcenter.host.vsan.congestions
vcenter.host.vsan.cache.hit_rate
vcenter.host.vsan.latency.avg         (direction={read/write})

Link to tracking Issue: #33556

Testing:
Added mock data fields in order to test vsan host metric scraping. Updated golden test file output.

Documentation:
Updated documentation using make generate

receiver/vcenterreceiver/client.go Outdated Show resolved Hide resolved
receiver/vcenterreceiver/client.go Outdated Show resolved Hide resolved
receiver/vcenterreceiver/client.go Outdated Show resolved Hide resolved
receiver/vcenterreceiver/client.go Outdated Show resolved Hide resolved
receiver/vcenterreceiver/client.go Outdated Show resolved Hide resolved
receiver/vcenterreceiver/scraper.go Outdated Show resolved Hide resolved
receiver/vcenterreceiver/metadata.yaml Outdated Show resolved Hide resolved
receiver/vcenterreceiver/metadata.yaml Outdated Show resolved Hide resolved
receiver/vcenterreceiver/metrics.go Outdated Show resolved Hide resolved
receiver/vcenterreceiver/metrics.go Outdated Show resolved Hide resolved
Copy link
Contributor

@StefanKurek StefanKurek left a comment

Choose a reason for hiding this comment

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

Close. A few small changes left, but looking pretty good.

@StefanKurek StefanKurek force-pushed the feat/add-vsan-host-metrics branch from b92c3eb to 448f852 Compare July 25, 2024 04:56
@github-actions github-actions bot added the cmd/otelcontribcol otelcontribcol command label Jul 25, 2024
@BominRahmani BominRahmani marked this pull request as ready for review July 25, 2024 13:16
@BominRahmani BominRahmani requested a review from a team July 25, 2024 13:16
@StefanKurek StefanKurek force-pushed the feat/add-vsan-host-metrics branch from 448f852 to 8aa554b Compare July 25, 2024 18:51
remove golden.write

refactor client.go, introduce more abstraction, reduce duplication

Cleaned up client.go, use metric.interval for metrics collection

added changelog, removed clusterRefs

update int to float on congestion, update error handling calls
@StefanKurek StefanKurek force-pushed the feat/add-vsan-host-metrics branch from 8aa554b to 490d016 Compare July 26, 2024 14:17
@djaglowski djaglowski merged commit 8c25e9f into open-telemetry:main Jul 26, 2024
154 checks passed
@github-actions github-actions bot added this to the next release milestone Jul 26, 2024
@StefanKurek StefanKurek deleted the feat/add-vsan-host-metrics branch July 26, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants