Skip to content

Commit

Permalink
[receiver/mysql] fix error message for scrapeStatementEventsStats (#3…
Browse files Browse the repository at this point in the history
…4152)

**Description:** 
Fix what looks like a copy/paste of the error message from another
method.

**Link to tracking Issue:**
n.a.

**Testing:**
n.a.

**Documentation:**
n.a.
  • Loading branch information
cristiangreco authored Jul 18, 2024
1 parent a4ddd9f commit f8f7116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/mysqlreceiver/scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ func (m *mySQLScraper) scrapeIndexIoWaitsStats(now pcommon.Timestamp, errs *scra
func (m *mySQLScraper) scrapeStatementEventsStats(now pcommon.Timestamp, errs *scrapererror.ScrapeErrors) {
statementEventsStats, err := m.sqlclient.getStatementEventsStats()
if err != nil {
m.logger.Error("Failed to fetch index io_waits stats", zap.Error(err))
m.logger.Error("Failed to fetch statement events stats", zap.Error(err))
errs.AddPartial(8, err)
return
}
Expand Down

0 comments on commit f8f7116

Please sign in to comment.