[tor-bugs] #25132 [Core Tor]: Add uptime messages to control protocol GETINFO

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 15 21:55:37 UTC 2018


#25132: Add uptime messages to control protocol GETINFO
-----------------------------------------------+---------------------------
 Reporter:  ageisp0lis                         |          Owner:  (none)
     Type:  enhancement                        |         Status:
                                               |  needs_review
 Priority:  Medium                             |      Milestone:  Tor:
                                               |  unspecified
Component:  Core Tor                           |        Version:  Tor:
                                               |  unspecified
 Severity:  Normal                             |     Resolution:
 Keywords:  control protocol, GETINFO, uptime  |  Actual Points:
Parent ID:                                     |         Points:
 Reviewer:                                     |        Sponsor:
-----------------------------------------------+---------------------------

Comment (by ageisp0lis):

 Replying to [comment:3 atagar]:
 > Hi ageisp0lis. I'd be happy for tor to add uptime but for what it's
 worth since you're using Stem you can also get it through...
 >
 >
 https://stem.torproject.org/api/util/system.html#stem.util.system.start_time

 Hey atagar, I since figured this out. Someone wrote a [more advanced
 Prometheus exporter](https://github.com/atx/prometheus-tor_exporter) than
 [mine](https://gist.github.com/ageis/bb45fe818e9fbce95c4f23ce31a7b0dc).
 But I'd talked this issue through with @arma and he had no problem with
 it. I'd really appreciate including this addition to the control protocol
 anyway.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25132#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list