-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Added more performance counters to SqlServer input plugin #8120
Added more performance counters to SqlServer input plugin #8120
Conversation
@denzilribeiro Could you please review this PR for adding more perf counters to the SqlServer plugin? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - you think "Logical connections" isn't an edge case though?
We did get a few customers asking for the same, hence including the same |
@reimda - Yes, here are the Microsoft documentation links for each counter added - Table Lock Escalations/sec - MSSQL$*:Access Methods |
@reimda - Please let me know if you need further information on these counters before merging the pull request. Thank you! |
@@ -465,13 +465,19 @@ SET @SqlStatement = @SqlStatement + CAST(N' WHERE ( | |||
''Readahead pages/sec'', | |||
''Lazy writes/sec'', | |||
''Checkpoint pages/sec'', | |||
''Free pages'', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you put those documentation links for the counters in the source code, maybe on the line before declaring sqlPerformanceCountersV2? I'm hoping doc links will help out future maintainers who are not as familiar with SQL Server. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you put those documentation links for the counters in the source code, maybe on the line before declaring sqlPerformanceCountersV2? I'm hoping doc links will help out future maintainers who are not as familiar with SQL Server. Thanks!
@reimda Thank you for the prompt review of the changes
Required for all PRs: