Jakub Sokołowski 714eb416d2 metrics: fix p2p_peers_count metrics labels
Because `p2p.Server.Name()` function started returning an abbreviated
name of the node this broke the parsing of the name in order to fill in
the labels for `p2p_peers_count` metric, resulting in metrics like this:
```sh
 > curl -sS localhost:9090/metrics | grep '^p2p_peers_count'
p2p_peers_count{platform="v0.79.0",type="Statusd",version="unknown"} 3
```
Caused by value returned from `Name()` to look like this:
```
Statusd/v0.79.0/linu...
```
By using `Fullname()` we are sure we are pasing all the segments.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-24 11:07:39 +02:00
2021-04-12 17:55:53 +05:30
2021-06-16 16:19:45 -04:00
2021-07-20 10:57:38 +02:00
2021-07-20 10:57:38 +02:00
2021-05-21 07:22:58 +02:00
2020-01-06 10:17:23 +01:00
2021-07-20 10:57:38 +02:00
2020-12-17 14:10:00 +01:00
2021-08-06 16:40:23 +01:00
2021-08-18 12:56:53 +02:00
2021-07-20 10:57:38 +02:00
2021-07-20 10:57:38 +02:00
2021-07-20 10:57:38 +02:00
2018-03-23 14:58:40 +01:00
2021-08-06 16:40:23 +01:00
2021-08-06 16:40:23 +01:00
2021-07-20 10:57:38 +02:00
2021-08-03 16:40:22 -04:00
2021-05-21 07:22:58 +02:00
2021-07-20 10:57:38 +02:00
2021-08-03 16:40:22 -04:00
2021-08-03 16:40:22 -04:00
2016-09-21 10:00:29 +08:00
2021-07-20 10:57:38 +02:00
2021-08-20 15:29:09 +02:00
Description
The Status module that consumes go-ethereum
https://status.im
Readme
Languages
Go 98.4%
Python 0.9%
Shell 0.4%
Makefile 0.1%
Groovy 0.1%