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/riak] - Fix issue where user configured metric settings were ignored #9561

Merged
merged 15 commits into from May 2, 2022

Conversation

armstrmi
Copy link
Contributor

Description: Fixing minor bug, issue with Riak receiver newScraper method, would only implement DefaultMetricSettings

Link to tracking Issue:
(#9560)

Testing:

Documentation:

Copy link
Contributor

@dehaansa dehaansa left a comment

Choose a reason for hiding this comment

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

Looks like you should be able to add a relatively straightforward test in your scraper tests with some metrics disabled to validate the fix. 👍

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.

@armstrmi, a couple minor points of feedback. Also, please note that issues and pull requests in this repository should be titled as [receiver/riak] - Fix issue where user configured metric settings were ignored

receiver/riakreceiver/scraper_test.go Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@armstrmi armstrmi changed the title Riak scraper fix [receiver/riak] - Fix issue where user configured metric settings were ignored May 2, 2022
@armstrmi armstrmi requested a review from djaglowski May 2, 2022 13:38
@armstrmi armstrmi requested a review from djaglowski May 2, 2022 15:10
@armstrmi armstrmi requested a review from djaglowski May 2, 2022 17:51
@djaglowski djaglowski merged commit 8b948ed into open-telemetry:main May 2, 2022
djaglowski added a commit to djaglowski/opentelemetry-collector-contrib that referenced this pull request May 10, 2022
…e ignored (open-telemetry#9561)

* empty commit

* empty commit

* quick fix for newScraper method, e.g. no default

* added missing dependencies

* make gotidy

* added changelog

* empty commit, relaunch flaky test

* empty commit, rerun tests

* added scraper test with some metrics disabled

* cleaned up unnecessary tests

* implemented recommended changes

* removed metricsDisabled boolean from scraper_test

* implemented feedback

* removed space after newline

Co-authored-by: Daniel Jaglowski <jaglows3@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants