Skip to content

Commit

Permalink
fix(): MSSQL database metric set
Browse files Browse the repository at this point in the history
  • Loading branch information
wilhuang committed Nov 7, 2024
1 parent 8f453b4 commit ccba83e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x-pack/metricbeat/module/mssql/database/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ func (m *MetricSet) Fetch(reporter mb.ReporterV2) {

dbCount += 1
if dbCount > m.dbCountLimit {
m.log.Warnf("The number of database switches exceeded the limit count: %d", m.dbCountLimit)
break
}
}
Expand Down

0 comments on commit ccba83e

Please sign in to comment.