Skip to content

Commit

Permalink
Added New counter - Lock Timeouts (timeout>0)/sec
Browse files Browse the repository at this point in the history
Incorporating changes from - influxdata#7808
  • Loading branch information
denzilribeiro committed Aug 10, 2020
1 parent 2dbdcc5 commit 9c9c085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/inputs/sqlserver/azuresqlqueries.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ WITH PerfCounters AS
instance_name IN ('_Total')
AND counter_name IN (
'Lock Timeouts/sec',
'Lock Timeouts (timeout > 0)/sec',
'Number of Deadlocks/sec',
'Lock Waits/sec',
'Latch Waits/sec'
Expand Down
1 change: 1 addition & 0 deletions plugins/inputs/sqlserver/sqlqueriesV2.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ SET @SqlStatement = @SqlStatement + CAST(N' WHERE (
instance_name IN (''_Total'')
AND counter_name IN (
''Lock Timeouts/sec'',
''Lock Timeouts (timeout > 0)/sec'',
''Number of Deadlocks/sec'',
''Lock Waits/sec'',
''Latch Waits/sec''
Expand Down

0 comments on commit 9c9c085

Please sign in to comment.