Skip to content

Display query duration in logs #303

@reubano

Description

@reubano

Is your feature request related to a problem? Please describe.

I'm always frustrated when I'm not able to figure out how long it took a job to run its queries.

Describe the solution you'd like

I want to be able to see the total query duration in the logs so that I can know what value to set scrape_timeout.

Describe alternatives you've considered

When I get a timeout error, I have to use trial and error to figure out the maximum number of queries I can run without timing out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions