Skip to content

Commit

Permalink
Use proportional memory size when available for process monitoring
Browse files Browse the repository at this point in the history
This use WIP as it depend on forks of process-exporter & procfs.
See ncabatoff/process-exporter#140
  • Loading branch information
PierreF committed Apr 8, 2020
1 parent 80c3726 commit 48bf358
Show file tree
Hide file tree
Showing 5 changed files with 300 additions and 54 deletions.
17 changes: 8 additions & 9 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ require (
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
github.com/Microsoft/go-winio v0.4.14 // indirect
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cockroachdb/apd v1.1.0 // indirect
github.com/containerd/containerd v1.3.3 // indirect
github.com/docker/distribution v2.7.1+incompatible // indirect
Expand All @@ -19,33 +16,31 @@ require (
github.com/docker/go-units v0.4.0 // indirect
github.com/eclipse/paho.mqtt.golang v1.2.0
github.com/go-chi/chi v4.0.4+incompatible
github.com/go-kit/kit v0.10.0
github.com/go-ole/go-ole v1.2.4 // indirect
github.com/go-redis/redis v6.15.7+incompatible // indirect
github.com/go-sql-driver/mysql v1.5.0 // indirect
github.com/gobuffalo/packr/v2 v2.7.1
github.com/gobwas/glob v0.2.3 // indirect
github.com/gofrs/uuid v3.2.0+incompatible // indirect
github.com/google/go-cmp v0.4.0 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
github.com/imdario/mergo v0.3.9 // indirect
github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d
github.com/influxdata/telegraf v0.10.2-0.20200225205246-ffabd6b5cffa
github.com/jackc/fake v0.0.0-20150926172116-812a484cc733 // indirect
github.com/jackc/pgx v3.6.2+incompatible // indirect
github.com/json-iterator/go v1.1.9 // indirect
github.com/lib/pq v1.3.0 // indirect
github.com/morikuni/aec v1.0.0 // indirect
github.com/ncabatoff/process-exporter v0.6.0
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
github.com/opencontainers/image-spec v1.0.1 // indirect
github.com/prometheus/client_golang v0.9.3
github.com/prometheus/client_golang v1.4.1
github.com/prometheus/client_model v0.2.0
github.com/prometheus/common v0.4.1
github.com/prometheus/node_exporter v0.18.1
github.com/prometheus/common v0.9.1
github.com/prometheus/node_exporter v1.0.0-rc.0
github.com/rs/cors v1.7.0
github.com/shirou/gopsutil v2.20.2+incompatible
github.com/shopspring/decimal v0.0.0-20200227202807-02e2044944cc // indirect
github.com/smartystreets/goconvey v1.6.4 // indirect
github.com/tidwall/gjson v1.6.0 // indirect
github.com/vektah/gqlparser v1.3.1
github.com/vektah/gqlparser/v2 v2.0.1
Expand All @@ -60,3 +55,7 @@ require (
k8s.io/apimachinery v0.18.0
k8s.io/client-go v0.18.0
)

replace github.com/ncabatoff/process-exporter => github.com/PierreF/process-exporter v0.6.1-0.20200408081929-b5a3a32568ae

replace github.com/prometheus/procfs => github.com/PierreF/procfs v0.0.12-0.20200408075604-52118802aeee
Loading

0 comments on commit 48bf358

Please sign in to comment.