Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
naman47vyas committed Jul 24, 2024
1 parent 1280ee0 commit ee6c7e9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions receiver/mysqlreceiver/scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ func (m *mySQLScraper) scrape(context.Context) (pmetric.Metrics, error) {
// collect global status metrics.
m.scrapeGlobalStats(now, errs)

// collect row operation stats from performance schema as sometimes
// innodb row stats are unreliable
m.scrapeRowOperationStats(now, errs)
// colect replicas status metrics.
m.scrapeReplicaStatusStats(now)

Expand All @@ -114,10 +117,6 @@ func (m *mySQLScraper) scrape(context.Context) (pmetric.Metrics, error) {
// collect total errors
m.scrapeTotalErrors(now, errs)

// collect row operation stats from performance schema as sometimes
// innodb row stats are unreliable
m.scrapeRowOperationStats(now, errs)

m.scraperInnodbMetricsForDBM(now, errs)

rb := m.mb.NewResourceBuilder()
Expand Down

0 comments on commit ee6c7e9

Please sign in to comment.