Jakob Borg 22ebc80329 cmd/stdiscosrv: Expose process metrics
Like this:

    $ curl -s http://localhost:9098/metrics | egrep '^syncthing_discovery_process'
    syncthing_discovery_process_cpu_seconds_total 12.92
    syncthing_discovery_process_max_fds 10240
    syncthing_discovery_process_open_fds 51
    syncthing_discovery_process_resident_memory_bytes 1.3674496e+08
    syncthing_discovery_process_start_time_seconds 1.52034731837e+09
    syncthing_discovery_process_virtual_memory_bytes 1.40324864e+08
2018-03-06 15:43:36 +01:00
..
2018-02-09 11:40:57 +01:00
2018-02-24 08:51:29 +01:00
2018-01-16 20:46:48 +01:00
2018-02-24 08:51:29 +01:00

stdiscosrv

This is the global discovery server for the syncthing project.

Usage

https://docs.syncthing.net/users/stdiscosrv.html