Skip to content

what is command for run prometheus-sql query on postgres DB .  #130

@prashantnitt07

Description

@prashantnitt07

I am using this command and getting error.

nohup ./prometheus-sql -queries queries.yml -host -port 9161 -service http://sqlagent:5002

error :
[link_count] 2022/09/13 11:22:02 Backing off for 1s
[link_count] 2022/09/13 11:22:08 Post "http://sqlagent:5002": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
[link_count] 2022/09/13 11:22:08 Backing off for 1.940509088s
[link_count] 2022/09/13 11:22:15 Post "http://sqlagent:5002": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
[link_count] 2022/09/13 11:22:15 Backing off for 2.993680159s
[link_count] 2022/09/13 11:22:23 Post "http://sqlagent:5002": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
[link_count] 2022/09/13 11:22:23 Backing off for 4.06399931s
[link_count] 2022/09/13 11:22:32 Post "http://sqlagent:5002": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
[link_count] 2022/09/13 11:22:32 Backing off for 7.369562456s
[link_count] 2022/09/13 11:22:44 Post "http://sqlagent:5002": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
[link_count] 2022/09/13 11:22:44 Backing off for 22.291515258s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions