Skip to content

Frontend: Parameter 'LogQueriesLongerThan' does not behave as described in the docs #4610

Closed
@matej-g

Description

@matej-g

Hello 👋

At Thanos, we have noticed that the LogQueriesLongerThan does not behave as is described in the docs:
Log queries that are slower than the specified duration. Set to 0 to disable. Set to < 0 to enable on all queries.

In particular, setting the parameter to < 0 does not make it to log all queries, it actually disables logging (quick glance at the code seem to confirm this).

What is the correct way to handle this? Should the functionality be adjusted to adhere to the docs or should the docs be amended to describe current behavior?

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