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

fix(inputs.vsphere): Eliminated duplicate samples #12259

Merged
merged 17 commits into from
Dec 7, 2022

Conversation

prydin
Copy link
Contributor

@prydin prydin commented Nov 17, 2022

Resolves #11168 (Reporting duplicate points)

The logic for catching up with metrics that were posted late by vCenter was faulty and sometimes looked too far back in time. Made sure rounding of intervals never result in overlapping time ranges in metric queries.

@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Nov 17, 2022
@powersj powersj self-assigned this Nov 17, 2022
Copy link
Contributor

@powersj powersj left a comment

Choose a reason for hiding this comment

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

Thanks for your work on this plugin and for tracking this down! Were you working with @yogeshprasad to resolve this? I'd like to ensure it resolves his issue.

While I was surprised about the panic, we can deal with that at some point in the future.

One comment about the supported versions.

plugins/inputs/vsphere/README.md Outdated Show resolved Hide resolved
@prydin prydin closed this Dec 5, 2022
@prydin prydin reopened this Dec 5, 2022
@prydin
Copy link
Contributor Author

prydin commented Dec 5, 2022

@powersj The tests seem to fail in some unrelated plugin (sql output).

@powersj
Copy link
Contributor

powersj commented Dec 5, 2022

@powersj The tests seem to fail in some unrelated plugin (sql output).

thanks for the updates - I will re-run them or ignore them if they don't solve themselves.

@powersj
Copy link
Contributor

powersj commented Dec 6, 2022

@srebhan no idea why the circle ci tests are in the user's org and not influxdata, but the tests failed for reasons other than this PR.

@powersj powersj assigned srebhan and unassigned powersj Dec 6, 2022
@powersj powersj added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Dec 6, 2022
Copy link
Contributor

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for working on this @prydin!

@srebhan srebhan changed the title fix(vsphere): Eliminated duplicate samples fix(inputs.vsphere): Eliminated duplicate samples Dec 7, 2022
@srebhan srebhan added area/vsphere plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Dec 7, 2022
@srebhan srebhan merged commit dae0d82 into influxdata:master Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/vsphere fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

inputs.vsphere, reports duplicate points
3 participants