Rename measurement to sqlserver_volume_space (#7457)

This commit is contained in:
Giovanni Luisotto 2020-05-05 19:56:03 +02:00 committed by GitHub
parent cc927357a4
commit 53c86890af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 \ */