Skip to content

Enable query tracing & limits in Query Node #5088

@kdembler

Description

@kdembler

Recently we've had a lot of issues with our QN instances being unavailable or very slow to respond. This is most likely caused by some expensive queries running for a long time basically blocking all the other queries. To fix this situation I think we should do 2 things:

  1. Add ability to track queries that took more than X seconds to execute - query body, request headers so we can see what apps are making those. Ideally we would save that to some log file so it's easy to inspect later.
  2. Ability to abort queries that take longer than X seconds

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions