Skip to content

to a float64: invalid syntax #850

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Alexufo opened this issue Jun 28, 2023 · 2 comments
Closed

to a float64: invalid syntax #850

Alexufo opened this issue Jun 28, 2023 · 2 comments

Comments

@Alexufo
Copy link

Alexufo commented Jun 28, 2023

v0.13.1
pg: v15
ubuntu

In log:
pg_exporter | ts=2023-06-28T21:12:09.788Z caller=collector.go:190 level=error msg="collector failed" name=replication duration_seconds=0.000349425 err="sql: Scan error on column index 0, name "pg_postmaster_start_time": converting driver.Value type time.Time ("2023-06-27 21:20:59.88301 +0000 UTC") to a float64: invalid syntax"
pg_exporter | ts=2023-06-28T21:12:09.795Z caller=collector.go:190 level=error msg="collector failed" name=postmaster duration_seconds=0.007301787 err="sql: Scan error on column index 0, name "pg_postmaster_start_time": converting driver.Value type time.Time ("2023-06-27 21:20:59.88301 +0000 UTC") to a float64: invalid syntax"

@baerwang
Copy link

baerwang commented Jul 5, 2023

logger time output and error time inconsistency

image

@sysadmind
Copy link
Contributor

This was fixed in #828 and will be part of the next release.

@SuperQ SuperQ closed this as completed Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants