Re: [tor-relays] Active MetricsPort logs "Address already in use"

2021-03-25 Thread Alexander Dietrich
> David Goulet  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 mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Active MetricsPort logs "Address already in use"

2021-03-24 Thread David Goulet
On 23 Mar (23:18:32), Alexander Dietrich wrote:
> > David Goulet  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

-- 
XV9G5n2Z8S7JqTM4GHU9eKrLUI9POwB5m0+OohPUEsM=


signature.asc
Description: PGP signature
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Active MetricsPort logs "Address already in use"

2021-03-23 Thread Alexander Dietrich
> David Goulet  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
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Active MetricsPort logs "Address already in use"

2021-03-22 Thread David Goulet
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

-- 
IFgD210MlJt+yahijraRB/TGC29Q74yIQ65x9UnKnXs=


signature.asc
Description: PGP signature
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


[tor-relays] Active MetricsPort logs "Address already in use"

2021-03-19 Thread Alexander Dietrich
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
-- 
PGP Key: https://dietrich.cx/pgp | 0x52FA4EE1722D54EB___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays