Skip to content

[receiver/mysql] Issues converting floating value to int #38276

Open
@atoulme

Description

@atoulme

Component(s)

receiver/mysql

What happened?

Description

With 0.119.0, the receiver shows errors:

"error": "sql: Scan error on column index 6, name \"SUM_TIMER_DELETE/1000\": converting driver.Value type []uint8 (\"0.0000\") to a int64: inva │
│ lid syntax; sql: Scan error on column index 3, name \"SUM_TIMER_WAIT/1000\": converting driver.Value type []uint8 (\"464493117.0000\") to a int64: invalid syntax; sql: Scan error on column index 12, name \"SUM_TIMER_READ_NORMAL/1000\" │
│ : converting driver.Value type []uint8 (\"0.0000\") to a int64: invalid syntax"}

Collector version

v0.119.0

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")

OpenTelemetry Collector configuration

Log output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions