Skip to content

feat: report user query bytes (#27188)#27198

Merged
davidby-influx merged 1 commit into1.12from
DSB/UserQueryBytes_1.12
Feb 6, 2026
Merged

feat: report user query bytes (#27188)#27198
davidby-influx merged 1 commit into1.12from
DSB/UserQueryBytes_1.12

Conversation

@davidby-influx
Copy link
Contributor

In SHOW STATS, include per-user query response
bytes. The httpd service, returns a new statistics object. userquerybytes.

Off by default, it can be turned on with the
environment variable
INFLUXDB_HTTP_USER_QUERY_BYTES_ENABLED
or the configuration parameter
UserQueryBytesEnabled
in the HTTP section.

This is available through SHOW STATS either
when all statistics are reported, or alone
with FOR 'userquerybytes'

It is returned by /debug/vars, and stored in
the _internal database when that is enabled.

(cherry picked from commit 858a2c6)

Fixes #27195

In SHOW STATS, include per-user query response
bytes. The httpd service, returns a new statistics
object. userquerybytes.

Off by default, it can be turned on with the
environment variable
INFLUXDB_HTTP_USER_QUERY_BYTES_ENABLED
or the configuration parameter
UserQueryBytesEnabled
in the HTTP section.

This is available through SHOW STATS either
when all statistics are reported, or alone
with `FOR 'userquerybytes'`

It is returned by /debug/vars, and stored in
the _internal database when that is enabled.

(cherry picked from commit 858a2c6)

Fixes #27195
Copy link

@devanbenz devanbenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM pretty much clean

@davidby-influx davidby-influx merged commit 4dcc877 into 1.12 Feb 6, 2026
9 checks passed
@davidby-influx davidby-influx deleted the DSB/UserQueryBytes_1.12 branch February 6, 2026 23:03
govambam added a commit to govambam/influxdb that referenced this pull request Feb 12, 2026
In SHOW STATS, include per-user query response
bytes. The httpd service, returns a new statistics
object. userquerybytes.

Off by default, it can be turned on with the
environment variable
INFLUXDB_HTTP_USER_QUERY_BYTES_ENABLED
or the configuration parameter
UserQueryBytesEnabled
in the HTTP section.

This is available through SHOW STATS either
when all statistics are reported, or alone
with `FOR 'userquerybytes'`

It is returned by /debug/vars, and stored in
the _internal database when that is enabled.

(cherry picked from commit 858a2c6)

Fixes influxdata#27195
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

report user query bytes [ port to 1.12]

2 participants