Skip to content

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

Open
gandalfmagic wants to merge 3 commits intojustwatchcom:masterfrom
gandalfmagic:feature/redacted_labels
Open

add support to redact (hide) some of the labels in the metrics#157
gandalfmagic wants to merge 3 commits intojustwatchcom:masterfrom
gandalfmagic:feature/redacted_labels

Conversation

@gandalfmagic
Copy link

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.

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.

1 participant