influxdata / influxdata/influxdb

Use Flux query profiling and expose through header

Open
#16,690 0 comments 0 reactions 0 assignees View on GitHub
team/compute
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

As we did for forced tracing, we want to force profiling of a query (see https://github.com/influxdata/flux/issues/2443) in InfluxDB by setting some header into the Query Request.

See https://github.com/influxdata/influxdb/pull/16559 for an example on how to do it.

Contributor guide

Open the contributing guide

Research direction

Start by reading Flux issue 2443 and the linked InfluxDB pull request 16559, which shows the analogous forced-tracing change. Trace that implementation to identify the query request entry point; done means a request header can force Flux query profiling as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.