Skip to content

[log]: Add slow query log for Flux #22881

Open
@timhallinflux

Description

@timhallinflux

Proposal:
Provide a configuration option to capture all Flux queries which are longer than X seconds to be logged.

Current behavior:
Flux profiling can be used on individual queries. However, if InfluxDB is being used by a team...there is no centralized way to capture "slow queries" and identifying who is creating them.

Desired behavior:
Capture slow Flux queries and log them with enough context to allow them to be traced back to a resource (dashboard) or user (Ad hoc queries).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/2.xOSS 2.0 related issues and PRsarea/fluxIssues related to the Flux query enginearea/logging

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions