-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Component(s)
receiver/mysql
What happened?
2025-03-07T17:25:13.135+0800 error [email protected]/scraper.go:443 Failed to fetch table io_waits stats {"otelcol.component.id": "mysql/mysqlv_1897931734926893056", "otelcol.component.kind": "Receiver", "otelcol.signal": "metrics", "error": "sql: Scan er
ror on column index 6, name "SUM_TIMER_DELETE/1000": converting driver.Value type []uint8 ("0.0000") to a int64: invalid syntax"}
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver.(*mySQLScraper).scrapeTableIoWaitsStats
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/[email protected]/scraper.go:443
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver.(*mySQLScraper).scrape
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/[email protected]/scraper.go:90
go.opentelemetry.io/collector/scraper.ScrapeMetricsFunc.ScrapeMetrics
go.opentelemetry.io/collector/[email protected]/metrics.go:24
this commit cause this bug :ad60f51
Collector version
v0.121.0
Environment information
No response
OpenTelemetry Collector configuration
Log output
2025-03-07T17:25:13.135+0800 error [email protected]/scraper.go:443 Failed to fetch table io_waits stats {"otelcol.component.id": "mysql/mysqlv_1897931734926893056", "otelcol.component.kind": "Receiver", "otelcol.signal": "metrics", "error": "sql: Scan er
ror on column index 6, name \"SUM_TIMER_DELETE/1000\": converting driver.Value type []uint8 (\"0.0000\") to a int64: invalid syntax"}
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver.(*mySQLScraper).scrapeTableIoWaitsStats
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/[email protected]/scraper.go:443
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlreceiver.(*mySQLScraper).scrape
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/[email protected]/scraper.go:90
go.opentelemetry.io/collector/scraper.ScrapeMetricsFunc.ScrapeMetrics
go.opentelemetry.io/collector/[email protected]/metrics.go:24
Additional context
No response