Commit Graph

5 Commits

Author SHA1 Message Date
Tolga Ceylan
57b24d63c3 fn: prometheus collector concurrent map access (#510)
* fn: prometheus collector concurrent map access

*) Added mutex to guard against concurrent access to maps

* fn: prometheus collector method receivers should be ptr

* fn: prometheus collector concurrent map access

*) Moved the mutex into getHistogramVec()
2017-11-17 12:46:53 -08:00
Nigel Deakin
910612d0b1 Docker stats to Prometheus (#486)
* Docker stats to Prometheus

* Fix compilation error in docker_test

* Refactor docker driver Run function to wait for  the container to have stopped before stopping the colleciton of statistics

* Fix go fmt errors

* Updates to sending docker stats to Prometheus

* remove new test TestWritResultImpl because we changes to support multiple waiters have been removed

* Update docker.Run to use channels not contextrs to shut down stats collector
2017-11-16 11:02:33 -08:00
Nigel Deakin
7bc64ecc0a Add protection against inconsistent cardinaliity errors 2017-10-26 19:38:46 +01:00
Nigel Deakin
e72cd55a4a Various changes in response to comments 2017-10-23 15:32:50 +01:00
Nigel Deakin
39feaf8b69 Send tracing spans to Prometheus 2017-10-20 16:30:19 +01:00