Changes
Page history
prom: review monitoring and testing (
#41655
)
authored
Oct 07, 2024
by
anarcat
Show whitespace changes
Inline
Side-by-side
service/prometheus.md
View page @
27bc7987
...
@@ -2566,21 +2566,15 @@ details.
...
@@ -2566,21 +2566,15 @@ details.
## Monitoring and metrics
## Monitoring and metrics
The server is monitored for basic system-level metrics by Nagios. It
The server monitors itself for system-level metrics but also
also monitors itself for system-level metrics but also
application-specific metrics. There's a long-term plan for
application-specific metrics.
high-availability in
[
TPA-RFC-33-C
](
https://gitlab.torproject.org/groups/tpo/tpa/-/milestones/15
)
.
Actual metrics
*may*
contain PII, although it's quite unlikely:
typically, data is anonymized and aggregated at collection time. It
would still be able to deduce some activity patterns from the metrics
generated by Prometheus, and use it to leverage side-channel attacks,
which is why the external Prometheus server access is restricted.
Metrics are held for about a year or less, depending on the server,
Metrics are held for about a year or less, depending on the server,
see
[
ticket 29388
][]
for storage requirements and possible
see
[
ticket 29388
][]
for storage requirements and possible
alternatives for data retention policies.
alternatives for data retention policies.
Note that
[
TPA-RFC-33
][]
discusses alternative metrics retention
Note that
[
TPA-RFC-33
][]
also
discusses alternative metrics retention
policies.
policies.
[
TPA-RFC-33
]:
policy/tpa-rfc-33-monitoring
[
TPA-RFC-33
]:
policy/tpa-rfc-33-monitoring
...
@@ -2602,6 +2596,12 @@ Prometheus servers typically do not generate many logs, except when
...
@@ -2602,6 +2596,12 @@ Prometheus servers typically do not generate many logs, except when
errors and warnings occur. They should hold very little PII. The web
errors and warnings occur. They should hold very little PII. The web
frontends collect logs in accordance with our regular policy.
frontends collect logs in accordance with our regular policy.
Actual metrics
*may*
contain PII, although it's quite unlikely:
typically, data is anonymized and aggregated at collection time. It
would still be able to deduce some activity patterns from the metrics
generated by Prometheus, and use it to leverage side-channel attacks,
which is why the external Prometheus server access is restricted.
## Backups
## Backups
Prometheus servers should be fully configured through Puppet and
Prometheus servers should be fully configured through Puppet and
...
...
...
...