Rename measurement to sqlserver_volume_space (#7457)
This commit is contained in:
parent
cc927357a4
commit
53c86890af
|
@ -1577,7 +1577,7 @@ EngineEdition:
|
||||||
IF SERVERPROPERTY('EngineEdition') NOT IN (5,8)
|
IF SERVERPROPERTY('EngineEdition') NOT IN (5,8)
|
||||||
BEGIN
|
BEGIN
|
||||||
SELECT DISTINCT
|
SELECT DISTINCT
|
||||||
'sqlserver_disk_space' AS [measurement]
|
'sqlserver_volume_space' AS [measurement]
|
||||||
,SERVERPROPERTY('machinename') AS [server_name]
|
,SERVERPROPERTY('machinename') AS [server_name]
|
||||||
,REPLACE(@@SERVERNAME,'\',':') AS [sql_instance]
|
,REPLACE(@@SERVERNAME,'\',':') AS [sql_instance]
|
||||||
,IIF( RIGHT(vs.[volume_mount_point],1) = '\' /*Tag value cannot end with \ */
|
,IIF( RIGHT(vs.[volume_mount_point],1) = '\' /*Tag value cannot end with \ */
|
||||||
|
|
Loading…
Reference in New Issue