[tor-bugs] #31159 [Internal Services/Tor Sysadmin Team]: Monitor anti-censorship www services with prometheus
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Jul 24 12:38:34 UTC 2019
#31159: Monitor anti-censorship www services with prometheus
-------------------------------------------------+---------------------
Reporter: phw | Owner: tpa
Type: task | Status: new
Priority: Medium | Milestone:
Component: Internal Services/Tor Sysadmin Team | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: #30152 | Points: 1
Reviewer: | Sponsor:
-------------------------------------------------+---------------------
Comment (by hiro):
Hi,
There are a few things about what you are asking that we might be able to
do with prometheus, and some others that we can't do at the moment.
Like we cannot semd an email and parsing the result because Prometheus
scrapes http endpoints. Also we are not doing alerting yet, only
monitoring.
There is also another aspect to consider, in the case of a service like
gettor, monitoring the https endpoint will only give us some info about
the static html we are serving with apache. Gettor itself (the service
sending emails) is a twisted service instead.
Maybe we can consider an approach in which services expose an http
endpoint that we can use to know that the service is alive. Otherwise I
think we could do some other monitoring via nagios checks.
More about what can be done on prometheus (and the instance I am setting
up atm) on https://trac.torproject.org/projects/tor/ticket/29863 where we
discuss the idea of monitoring disk space for snowflake.
Also https://help.torproject.org/tsa/howto/prometheus/ for some more
information.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31159#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list