Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

Anonymize common names #37

Open
jkroepke opened this issue Jul 31, 2020 · 4 comments
Open

Anonymize common names #37

jkroepke opened this issue Jul 31, 2020 · 4 comments

Comments

@jkroepke
Copy link

HI,

it's possible to anonymize common names? e.g by hashing them?

We want to track some statistics to ensure our VPN servers running stable but since the metrics are associated with a personal user it might be problematic in german (german law).

@NotAFile
Copy link

If you have more than a few connections you should be turning off per-connection statistics anyway as the amount of label churn will kill your prometheus.

@jkroepke
Copy link
Author

as the amount of label

Do you have a number of it?

@NotAFile
Copy link

It is impossible to say how much, as that depends on your exact prometheus setup. But it is always a bad idea to use labels in any case where there is no upper limit to the number of values. As the Prometheus docs say:

CAUTION: Remember that every unique combination of key-value label pairs represents a new time series, which can dramatically increase the amount of data stored. Do not use labels to store dimensions with high cardinality (many different label values), such as user IDs, email addresses, or other unbounded sets of values.

@Seitanas
Copy link

Seitanas commented Feb 4, 2021

If you have more than a few connections you should be turning off per-connection statistics anyway as the amount of label churn will kill your prometheus.

How do you turn off per-connection statistics?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants