-
Notifications
You must be signed in to change notification settings - Fork 2.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 metrics with the existing query #37883
Added more performance metrics with the existing query #37883
Conversation
2462990
to
177bb5d
Compare
2f5a71a
to
79464d2
Compare
581d037
to
614e96e
Compare
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.
I think the naming and format of the newly introduced metrics should be changed pretty considerably to match the spec.
I think the first thing we want to do is to break metrics down into namespaces, so related metrics can be found more easily.
We also want to have one metric for multi-directional, or multi-state information. View sqlserver.database.count
as an example, it's one metric with a datapoint for each possible state.
The spec has quite a few rules around metric naming and organization that are not being met here, so it would be helpful to take a look and address as many as possible.
Overall we just want to make sure these metrics are as easy to find and understand as possible.
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.
@crobert-1 Yes! I was not happy with the naming either and will work on it along with the valuable issues addressed below by Stefan.
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.
I have pushed a new commit and tried to follow the guidelines regarding naming style but open to suggestion.
.chloggen/added-more-sqlserver-receiver-preformace-metrics.yaml
Outdated
Show resolved
Hide resolved
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.
I plan on looking through all of the names soon.
.chloggen/added-more-sqlserver-receiver-preformace-metrics.yaml
Outdated
Show resolved
Hide resolved
99510f0
to
46aa8c9
Compare
a65b5d9
to
5ebf603
Compare
5ebf603
to
311311e
Compare
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.
I think just one more change (which is actually me going back on a previous comment as seen here #37883 (comment) and then I'm happy with it. Thanks for the work!
eb6204f
to
6162b63
Compare
@StefanKurek I have already changed it to gauge from the comment you made. Do you want me to revert to |
38da9d1
to
696acc9
Compare
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.
I think this looks good! Thanks for all the work.
eb8832f
to
f7b966e
Compare
Signed-off-by: Samiur Arif <samiur.arif@sumologic.com> Update .chloggen/added-more-sqlserver-receiver-preformace-metrics.yaml Co-authored-by: Curtis Robert <crobert@splunk.com> Signed-off-by: Samiur Arif <samiur.arif@sumologic.com> Signed-off-by: Samiur Arif <samiur.arif@sumologic.com> Signed-off-by: Samiur Arif <samiur.arif@sumologic.com> Signed-off-by: Samiur Arif <samiur.arif@sumologic.com> Addressing previous PR comments Signed-off-by: Samiur Arif <samiur.arif@sumologic.com> Addressing previous PR comments Signed-off-by: Samiur Arif <samiur.arif@sumologic.com> fixed unit tests Signed-off-by: Samiur Arif <samiur.arif@sumologic.com> minor name changes Signed-off-by: Samiur Arif <samiur.arif@sumologic.com> addressing previous PR comments Signed-off-by: Samiur Arif <samiur.arif@sumologic.com> addressing previous PR comments Signed-off-by: Samiur Arif <samiur.arif@sumologic.com>
f7b966e
to
1415621
Compare
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.
LGTM, codeowner approved.
Description
Added more performance metrics with the existing query. These metrics were already fetched with the existing query but were not registered as metrics.
Link to tracking issue
Fixes
Testing
Tested against Micrsoft SQL Server Standard 2022
Documentation
Updated the documentation.