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/iis] Do not pass metrics details to pkg/winperfcounters #9789

Merged
merged 1 commit into from
May 10, 2022

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented May 7, 2022

This is refactoring of the iisreceiver to make it use pkg/winperfcounters just as a source of perf counter values and do not pass metric details back and forth.

pkg/winperfcounters uses user configuration structures from windowsperfcounters receiver as its API interface which seems unnecessary. This is one of the steps in bigger refactoring to make the pkg/winperfcounters interface concise and not dependent on user setting structures from windowsperfcounters receiver.

@dmitryax dmitryax requested a review from a team May 7, 2022 16:08
@dmitryax dmitryax requested a review from djaglowski as a code owner May 7, 2022 16:08
@dmitryax dmitryax added the Skip Changelog PRs that do not require a CHANGELOG.md entry label May 7, 2022
@dmitryax dmitryax force-pushed the refactor-iisreceiver branch 14 times, most recently from 3443b6d to 26d200d Compare May 9, 2022 16:16
This is refactoring of the iisreceiver to make it use pkg/winperfcounters just as a source of perf counter values and do not pass metric details back and forth.

`pkg/winperfcounters` uses user configuration structures from `windowsperfcounters` receiver as its API interface which seems unnecessary. This is one of the steps in bigger refactoring to make the pkg/winperfcounters interface concise and not dependent on user setting structures from windowsperfcounters receiver.
@dmitryax
Copy link
Member Author

@djaglowski can you please take a look at this one and #9787 once you have a chance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants