Shimin Guo
1a867bdadd
expose RSS
2016-01-15 08:45:51 -08:00
Daniel Dao
e5b6bfa94f
add whitelisted env as container metadata
...
This add Envs to container spec as a metadata source. When using prometheus
exposition format, they will be merged into the list of metrics' labels.
Also changed the cli flag to docker_env_metadata_whitelist, and add refenrences
of whitelist envs to API
Signed-off-by: Daniel Dao <dqminh@cloudflare.com>
2016-01-13 11:22:13 +00:00
Daniel Dao
544b852a3b
satitize label name before setting them as prometheus label
...
Signed-off-by: Daniel Dao <dqminh@cloudflare.com>
2016-01-05 10:49:20 +00:00
Florian Pfitzer
009761cb53
Export image name and env variables as prometheus labels
2016-01-05 10:49:20 +00:00
Lei Xue
dbbe38dfed
re-order the import package
2015-11-30 16:43:22 +08:00
Vish Kannan
a38832f31f
Merge pull request #906 from jimmidyson/prometheus-container-name-to-labels
...
Registration of custom function to map container name to prometheus labels
2015-10-08 11:46:58 -07:00
Vish Kannan
64702e7202
Merge pull request #902 from jimmidyson/git-version
...
Expose git revision as well as version in version info, add Makefile
2015-10-08 11:42:12 -07:00
Jimmi Dyson
5db9f8674e
Registration of custom function to map container name to prometheus labels
2015-10-07 11:30:58 +01:00
Tomas Kral
bd61caf0c3
add failcnt
2015-10-02 14:24:22 +02:00
Jimmi Dyson
cf43fd2556
Expose git revision as well as version in version info, add Makefile
2015-10-02 10:26:33 +01:00
Jimmi Dyson
760a25b94f
Add machine memory & cpu cores to prometheus metrics
2015-09-10 11:59:16 +01:00
Jimmi Dyson
b8fc8cd2ae
Add container specs & cadvisor version info to prometheus metrics
2015-09-09 14:28:54 +01:00
Jimmi Dyson
80648f783e
Expose all interfaces in Prometheus metrics.
...
Fixes #871
2015-08-29 21:19:56 +01:00
Jimmi Dyson
ff0796712b
Add image name to container spec & prometheus metrics
...
Fixes #848
2015-08-28 12:38:16 +01:00
Miciah Masters
003125975c
glog.Warning -> glog.Warningf
...
Fix two places where glog.Warning is used with a formatted string.
2015-08-19 15:47:36 -04:00
Julius Volz
fa17966229
Clean up code around Prometheus metrics, more DRY.
...
With this change, all definitions and functionality for a given metric
are in a single place only instead of being distributed all over the
file. This makes it easier to inspect the code for correctness and
adding/changing metrics.
2015-03-13 17:00:07 +01:00
Julius Volz
bac3a5d839
Add Prometheus tests and fix metric type bug.
2015-03-13 01:25:20 +01:00
Julius Volz
661b174c1d
Fix Uinterruptible -> Uinterruptible typo.
2015-03-12 22:09:49 +01:00
Julius Volz
4f01599386
Fix Prometheus metrics and docstrings.
2015-03-12 22:09:45 +01:00
Johannes 'fish' Ziemke
822d60ba8a
Provide cadvisor stats as prometheus metrics
2015-03-11 20:51:06 +01:00