Open jkroepke opened 4 years ago
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.
as the amount of label
Do you have a number of it?
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.
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?
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).