Fix supervisord collector (#978)

* Replace supervisord xmlrpc library
* Use `github.com/mattn/go-xmlrpc` that doesn't leak goroutines.
* Fix uptime metric

* Use Prometheus best practices for uptime metric.
  * Use "start time" rather than "uptime".
  * Don't emit a start time if the process is down.
* Add changelog entry.
* Add example compatibility rules.

Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
Ben Kochie 2018-08-06 16:54:46 +02:00 committed by GitHub
commit 5d23ad0ca7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 477 additions and 1018 deletions

12
vendor/vendor.json vendored
View file

@ -64,18 +64,18 @@
"version": "v1.0.0",
"versionExact": "v1.0.0"
},
{
"checksumSHA1": "tw3ocqSpa9ikzUV6qhcKBAAO6WU=",
"path": "github.com/kolo/xmlrpc",
"revision": "0826b98aaa29c0766956cb40d45cf7482a597671",
"revisionTime": "2015-04-13T19:18:30Z"
},
{
"checksumSHA1": "IdBAvtVSv0sbi8sEsLovnZubims=",
"path": "github.com/lufia/iostat",
"revision": "9f7362b77ad333b26c01c99de52a11bdb650ded2",
"revisionTime": "2017-06-05T15:08:45Z"
},
{
"checksumSHA1": "8uAFFK5p8F39X1MOLsHrgTI0hzw=",
"path": "github.com/mattn/go-xmlrpc",
"revision": "b7a1b57d9142f44a3a8f5a80aadf8d2d6ea2ca22",
"revisionTime": "2018-04-20T00:08:13Z"
},
{
"checksumSHA1": "aodj/cITRyuaZSh84DDhrZjh76U=",
"path": "github.com/matttproud/golang_protobuf_extensions/pbutil",