sql_exporter
sql_exporter copied to clipboard
add support to redact (hide) some of the labels in the metrics
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.