-
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
Sql Server - Disk Space Measurement #7214
Conversation
Looks like something like this exists in version 1 of the queries, it's called "VolumeSpace", since this PR adds the same thing to v2 queries is probably better to rename it to match the name in v1. (I will do it later) |
the name has been changed to match the query v1 name (VolumeSpace). |
@denzilribeiro can you take a look? |
@Trovalo this isn't relevant for managed instances and that isn't excluded as of now - Also somewhere in readme collecting this at 10 second interval is totally overkill, as it isn't something that changes often so should be collected with much lower frequency. |
I will exclude the SQL Managed Instance from the execution. I will add something more in the readme specifying both those points |
Required for all PRs:
This is a new measurement (only for query v2) which returns disk space data for the disks related to Sql Server (in which there is at least one db or log file)
The measurement has the following structure
Measurement: sqlserver_disk_space
Tags:
Fields:
The measurement has the same naming convention and calculation rules (for tag values) of the other measurements.
Note that this measurement does not work (and does not make sense) on Azure SQL DB since the queried tables do not exist. If enabled on Azure SQL DB nothing will happen (the query won't be executed)
Why is it useful
Readme update
The readme has been updated to add this new query in the available query list, and other slight changes have been made, i.e. the list now shows which queries are available in which version
Tests
it has been tested on: