Re: [tor-relays] tor prometheus metrics -> expected label value, got "INVALID"

2022-01-24 Thread Fran via tor-relays
Hej David, Thanks for reporting and investigating!! :) Thank you for fixing and implementing in the first place! Really looking forward to see some nice graphs showing how many people use our services via onion. BTW: Implementation of nusenu feature request[1] for exposing more relay health

Re: [tor-relays] tor prometheus metrics -> expected label value, got "INVALID"

2022-01-24 Thread David Goulet
On 23 Jan (11:36:05), Fran via tor-relays wrote: > Hej, > > taking another look and comparing it to onion_services exporter there is a > slight difference in the metrics output. > > prometheus-onion-service-exporter: > > onion_service_up{address="foobar:587",name="mail_v3_587",type="tcp"} 1 > >

Re: [tor-relays] tor prometheus metrics -> expected label value, got "INVALID"

2022-01-23 Thread Fran via tor-relays
Hej, taking another look and comparing it to onion_services exporter there is a slight difference in the metrics output. prometheus-onion-service-exporter: onion_service_up{address="foobar:587",name="mail_v3_587",type="tcp"} 1 vs output from tor: tor_hs_app_write_bytes_total{onion=foobar,po

[tor-relays] tor prometheus metrics -> expected label value, got "INVALID"

2022-01-23 Thread Fran via tor-relays
Hej, I just found out about the integrated prometheus exporter in tor - yay, thanks for that! I can scrape it with curl: $ curl http://:9035/metrics # HELP tor_hs_rdv_num_total Total number of rendezvous circuit created # TYPE tor_hs_rdv_num_total counter tor_hs_rdv_num_total{onion=} 4 # HELP