From 69f6612c2a427d90ef3799b7dd4edc52366dbec7 Mon Sep 17 00:00:00 2001 From: Tracy Boggiano Date: Wed, 26 Sep 2018 22:02:29 -0400 Subject: [PATCH] Fix hardware_type may be truncated in sqlserver input (#4750) --- plugins/inputs/sqlserver/sqlserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/sqlserver/sqlserver.go b/plugins/inputs/sqlserver/sqlserver.go index a4b5fc701..bf1fb9af7 100644 --- a/plugins/inputs/sqlserver/sqlserver.go +++ b/plugins/inputs/sqlserver/sqlserver.go @@ -393,7 +393,7 @@ const sqlServerPropertiesV2 = `DECLARE @sys_info TABLE ( server_memory BIGINT, sku NVARCHAR(64), engine_edition SMALLINT, - hardware_type VARCHAR(15), + hardware_type VARCHAR(16), total_storage_mb BIGINT, available_storage_mb BIGINT, uptime INT