[tor-bugs] #31159 [Internal Services/Tor Sysadmin Team]: Monitor anti-censorship www services with prometheus
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Apr 27 19:17:39 UTC 2020
#31159: Monitor anti-censorship www services with prometheus
-------------------------------------------------+-------------------------
Reporter: phw | Owner: hiro
Type: task | Status:
| needs_review
Priority: Medium | Milestone:
Component: Internal Services/Tor Sysadmin Team | Version:
Severity: Normal | Resolution:
Keywords: tpa-roadmap-february tpa-roadmap- | Actual Points:
march |
Parent ID: #30152 | Points: 1
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Changes (by anarcat):
* status: needs_information => needs_review
Comment:
this is indeed a complex panel to create! i managed to make one using
"singlestat" - I couldn't figure how to make the "alert list" thing work -
but it's kind of clunky:
https://grafana2.torproject.org/d/fC77Nk6Wz/blackbox-probe-state
now after asking on #prometheus (freenode), i was told there's a Granafa
plugin specifically for that purpose. it's really heavy on the Javascript,
but it seems to actually work and provide a much better visualization.
here's the dashboard I created with the plugin:
https://grafana2.torproject.org/d/6shXNz6Wz/blackbox-target-availability
the plugin is:
https://grafana.com/grafana/plugins/flant-statusmap-panel/installation
i installed it with:
{{{
sudo -u grafana grafana-cli plugins install flant-statusmap-panel
service grafana-server stop
service grafana-server start
}}}
... which needs to be added into Puppet if we're happy with the results.
let me know how that looks for you.
(and yes, it does seem like all blackbox targets except bridges.tpo are
down.)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31159#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list