Skip to content

PS-10576 [9.x] Percona telemetry — safe non-default sysvars, global status#5933

Merged
inikep merged 1 commit into
percona:trunkfrom
kamil-holubicki:PS-10576-9.x
May 15, 2026
Merged

PS-10576 [9.x] Percona telemetry — safe non-default sysvars, global status#5933
inikep merged 1 commit into
percona:trunkfrom
kamil-holubicki:PS-10576-9.x

Conversation

@kamil-holubicki
Copy link
Copy Markdown
Contributor

https://perconadev.atlassian.net/browse/PS-10576

Extend the percona_telemetry component so periodic reports include how the server is configured and exercise

Configuration (server_config_info)
Report non-default global system variables whose
provenance is not COMPILED, using performance_schema.variables_info joined to global_variables. Only explicitly allowlisted names are collected; values that look like paths (containing / or ) are dropped.

Global status (server_status_info)
Add a separate JSON subtree for allowlisted
performance_schema.global_status rows (name + value), again with path-like value filtering. This keeps counters and usage signals (including Threads_running and Libcoredumper_enabled) out of the config blob.

Server: libcoredumper introspection
Expose a read-only global status Libcoredumper_enabled (ON when built with libcoredumper and the feature is enabled, otherwise OFF).

…tatus

https://perconadev.atlassian.net/browse/PS-10576

Extend the percona_telemetry component so periodic reports include how
the server is configured and exercise

Configuration (server_config_info)
Report non-default global system variables whose
provenance is not COMPILED, using performance_schema.variables_info
joined to global_variables. Only explicitly allowlisted names are
collected; values that look like paths (containing / or \) are dropped.

Global status (server_status_info)
Add a separate JSON subtree for allowlisted
performance_schema.global_status rows (name + value), again with
path-like value filtering. This keeps counters and usage signals
(including Threads_running and Libcoredumper_enabled) out of the config
blob.

Server: libcoredumper introspection
Expose a read-only global status Libcoredumper_enabled (ON when built
with libcoredumper and the feature is enabled, otherwise OFF).
Copy link
Copy Markdown
Contributor

@jankowsk jankowsk left a comment

Choose a reason for hiding this comment

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

LGTM

@inikep inikep merged commit c95f715 into percona:trunk May 15, 2026
13 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants