ChenQingya
0a9365b238
add advance tcp stats, like netstat -s
2020-01-03 15:25:52 +08:00
Sahil Rihan
a09cdda5cf
Add ulimit metrics
2019-12-06 15:38:02 -08:00
qinng
83240cc997
add socket number for process stat ( #2260 )
2019-07-15 09:33:09 -07:00
Kiel Chan
2ccad4b42f
add pids stats ( #2257 )
...
Add thread stats
2019-07-03 08:03:53 -07:00
luhualin
e88534ca70
fix timestamp error for container_last_seen
2019-01-04 10:12:38 +08:00
luhualin
5c41c694a8
add prometheus metrics timestamp
2018-12-11 11:44:17 +08:00
hangongithub
70b83b9ac4
Ensure tcp6 and udp6 metrics are published via Prometheu ( #2102 )
...
add tcp6 and udp6 metrics to the prometheus endpoint
Change-Id: I17bcfee653527fe07d4791019e0e864ca88aeda3
2018-12-07 10:27:46 -08:00
Sashank Appireddy
02ecf721f5
Emit number of processes and file descriptors of a container
2018-10-29 16:55:34 -07:00
Sashank Appireddy
e98f28b7c0
Rename extraLabel "type" to "failure_type" for memory_failures_total
2018-09-26 18:25:54 +00:00
Gijs Kunze
9e175e9ea9
Adds mapped_file metric
2018-08-09 15:14:46 +02:00
nielsole
08f0c2397c
Adding /proc/<pid>/schedstat ( #1872 )
...
Add /proc/<pid>/schedstat metrics for scheduler metrics
2018-03-08 09:27:06 -08:00
Bryan Boreham
ec6da3acae
Prometheus metrics: optionally export total CPU instead of per-CPU
...
Per-CPU stats are more expensive to transport and store, and that
level of detail is not required in many cases.
We export overall total cpu in the same metric as per-cpu, so that
dashboards which previously summed over cpu will work identically.
2018-02-20 13:58:44 +00:00
Rohit Agarwal
126fb2232e
Add accelerator metrics to the API.
...
The structure is generic to support most hardware accelerators like
GPUs, TPUs etc.
Note that the prometheus label for id is called acc_id, so that it
doesn't conflict with some other label that maybe called id.
2017-11-01 14:41:35 -07:00
Derek Carr
9ea61176bf
Expose memory.max_usage_in_bytes in container stats
2017-10-10 17:31:31 -04:00
David Ashpole
1dcd0cee2b
update description of memory usage
2017-09-28 10:48:07 -07:00
wujiaxing
8aed6e9cae
Add cpu load,tcp\udp usage statistics in prom /metrics
endpoint.
2017-06-14 00:54:17 +09:00
Micah Hausler
a9bb292b52
Add inodes to /metrics endpoint
2016-08-27 18:39:53 -04:00
Florian Koch
3ce98a46c4
add cgropu swap usage and export as prometheus metric
2016-08-09 07:33:37 +02:00
Tobias Schmidt
1653733ea7
Expose cpu cgroup CFS prometheus metrics
...
If CPU quota is configured (cpu.cfs_quota != -1) the CFS will provide
stats about elapsed periods and throtting in cpu.stats. This change
makes these information available as container_cpu_cfs_* metrics.
2016-08-06 18:08:26 -04:00
Jimmi Dyson
f1d8b2da70
Prefix Docker labels & env vars in Prometheus metrics to prevent conflicts
2016-08-01 21:33:31 +01:00
Alexander Staubo
f8f474e791
This fixes a bug where any errors encountered during Prometheus metric
...
collection would stay counted in the gauge "container_scrape_errors",
making that particular metric useless. Instead, it must be reset on
every scrape.
2016-07-21 20:04:21 -04:00
Florian Koch
669bc4abfa
add cgroup quota and period support / add missing tests
2016-02-02 20:33:11 +01:00
Shimin Guo
d656ffb0db
Add unit tests.
2016-01-15 08:53:30 -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
Daniel Dao
9131bcb315
fix prometheus regex matching
...
the previous regex wasnt able to match anything. This regex should hopefully do
better.
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
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
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
Julius Volz
bac3a5d839
Add Prometheus tests and fix metric type bug.
2015-03-13 01:25:20 +01:00