sql_exporter icon indicating copy to clipboard operation
sql_exporter copied to clipboard

add support to redact (hide) some of the labels in the metrics

Open gandalfmagic opened this issue 8 months ago • 0 comments

We use sql_exporter in our environments, but for us the following labels can be sensitive data:

  • host
  • database
  • user

With this patch we add a global configuration entry redacted_labels, which specifies which labels can be omitted from metrics.

gandalfmagic avatar May 09 '25 13:05 gandalfmagic