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] Change Host Perf Metric Reported Datapoints From 5 to 1 #34708

Merged
merged 3 commits into from
Aug 16, 2024

Conversation

StefanKurek
Copy link
Contributor

Description:
This is something that I thought was a little odd for awhile, but didn't necessarily hurt anything until I ran into issues with the googlecloud exporter. It seems to have issues with the Host performance metrics sending historical data with timestamps 20s apart and reported it as a Duplicate error.

This also brings the Host performance metrics in line with what is being done with the VM performance metrics (only sending a single current datapoint vs 5 historical ones). Now we'll also generally avoid situations where timetamps at the tail end of these 5 datapoints would end up being picked up by the following collection as well.

Link to tracking Issue: NA

Testing:
Unit Tests Ran
Integration Tests Ran
Tested Against Live Environment

Documentation:
None needed

Copy link
Member

@djaglowski djaglowski left a comment

Choose a reason for hiding this comment

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

LGTM, just some suggestions to the changelog.

@StefanKurek StefanKurek force-pushed the fix/extra-host-metrics branch from e92eec4 to cd011b6 Compare August 15, 2024 20:19
@StefanKurek StefanKurek requested a review from djaglowski August 15, 2024 20:19
@djaglowski djaglowski merged commit 3660b5f into open-telemetry:main Aug 16, 2024
154 checks passed
@github-actions github-actions bot added this to the next release milestone Aug 16, 2024
@StefanKurek StefanKurek deleted the fix/extra-host-metrics branch August 16, 2024 17:14
f7o pushed a commit to f7o/opentelemetry-collector-contrib that referenced this pull request Sep 12, 2024
… to 1 (open-telemetry#34708)

**Description:** <Describe what has changed.>
This is something that I thought was a little odd for awhile, but didn't
necessarily hurt anything until I ran into issues with the googlecloud
exporter. It seems to have issues with the Host performance metrics
sending historical data with timestamps 20s apart and reported it as a
Duplicate error.

This also brings the Host performance metrics in line with what is being
done with the VM performance metrics (only sending a single current
datapoint vs 5 historical ones). Now we'll also generally avoid
situations where timetamps at the tail end of these 5 datapoints would
end up being picked up by the following collection as well.

**Link to tracking Issue:** NA

**Testing:**
Unit Tests Ran
Integration Tests Ran
Tested Against Live Environment

**Documentation:** <Describe the documentation added.>
None needed

---------

Co-authored-by: Daniel Jaglowski <[email protected]>
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.

3 participants