Hello,
when I activate the "MetricsPort" feature, the Tor log reports that it is going to open the port, then it says "Address already in use". According to "netstat", the address is indeed in use, but by "tor". Sending GET requests to the address returns empty responses.
Any ideas?
Kind regards, Alexander
On 19 Mar (21:11:25), Alexander Dietrich wrote:
Hello,
when I activate the "MetricsPort" feature, the Tor log reports that it is going to open the port, then it says "Address already in use". According to "netstat", the address is indeed in use, but by "tor".
Thanks for this report! I'll open a ticket about this "already in use".
Sending GET requests to the address returns empty responses.
You should be able to get the metrics with a GET on /metrics.
Let us know if this works for you!
David
David Goulet dgoulet@torproject.org hat am 22.03.2021 13:24 geschrieben:
Sending GET requests to the address returns empty responses.
You should be able to get the metrics with a GET on /metrics.
Let us know if this works for you!
The empty 200 response is returned from "/metrics", I guess due to the "address already in use" problem. Requests to "/" return a 404.
Kind regards, Alexander
On 23 Mar (23:18:32), Alexander Dietrich wrote:
David Goulet dgoulet@torproject.org hat am 22.03.2021 13:24 geschrieben:
Sending GET requests to the address returns empty responses.
You should be able to get the metrics with a GET on /metrics.
Let us know if this works for you!
The empty 200 response is returned from "/metrics", I guess due to the "address already in use" problem. Requests to "/" return a 404.
At the moment, the only metrics exported are those of onion services. We still need to implement exporting relay and client metrics.
If you set an onion service, you should get more stuff :) else we have a bug!
Cheers! David
David Goulet dgoulet@torproject.org hat am 24.03.2021 13:07 geschrieben:
At the moment, the only metrics exported are those of onion services. We still need to implement exporting relay and client metrics.
If you set an onion service, you should get more stuff :) else we have a bug!
I just checked, an instance with an Onion Service does return metrics!
Thanks, Alexander
tor-relays@lists.torproject.org