Commit Graph

2340 Commits

Author SHA1 Message Date
Fabian Reinartz 3552ee6904 Merge pull request #24 from gdvalle/add-pod-scheduled-test
Add test for kube_pod_status_scheduled
2016-09-20 11:10:46 +02:00
Greg Dallavalle e3e01ba831 Add test for kube_pod_status_scheduled 2016-09-19 12:08:46 -05:00
Frederic Branczyk 19178f79e8 Merge pull request #23 from gdvalle/add-scheduled-pod
Add kube_pod_status_scheduled metric
2016-09-19 18:39:06 +02:00
Greg Dallavalle 8596cce109 Add kube_pod_status_scheduled metric 2016-09-19 11:31:18 -05:00
Fabian Reinartz 8bf322a887 Fix changelog markdown 2016-09-14 18:01:51 +02:00
Fabian Reinartz 2d0e692107 Merge pull request #18 from brancz/add-changelog
add CHANGELOG.md
2016-09-14 18:01:12 +02:00
Frederic Branczyk 9c93d99d40 add CHANGELOG.md 2016-09-14 17:57:53 +02:00
Fabian Reinartz bfceb00fae Merge pull request #17 from brancz/k8s-client-go
use k8s.io/client-go
2016-09-14 17:38:47 +02:00
Frederic Branczyk 6af709b410 switch to k8s.io/client-go as kubernetes client 2016-09-14 10:23:02 +02:00
Frederic Branczyk 8babf35a64 vendor: k8s.io/client-go 2016-09-14 10:22:46 +02:00
Fabian Reinartz d138645ab1 Merge pull request #16 from brancz/cleanup
cleanup unused code
2016-09-13 11:58:23 +02:00
Frederic Branczyk 9e32ecd2dc cleanup unused code 2016-09-13 11:19:35 +02:00
Fabian Reinartz 4b42bda075 Merge pull request #15 from brancz/update-dev-docs
the `--dry-run` parameter was recently removed
2016-09-13 10:54:15 +02:00
Frederic Branczyk 9fff2a4d24 the `--dry-run` parameter was recently removed 2016-09-13 09:42:22 +02:00
Fabian Reinartz de4b0c13c6 Fix missing pipe escaping 2016-09-12 18:54:01 +02:00
Frederic Branczyk aecc2473b6 Merge pull request #14 from brancz/prefix-metrics
prefix metrics with `kube` and fix deployment docs
2016-09-12 18:52:12 +02:00
Frederic Branczyk 4be8c45125 prefix metrics with `kube` and fix deployment docs 2016-09-12 18:47:20 +02:00
Fabian Reinartz 1703dbe0fa Merge pull request #13 from brancz/pod-metrics
add more pod metrics
2016-09-12 18:03:04 +02:00
Frederic Branczyk e8e9c24a64 add more pod metrics 2016-09-12 17:38:28 +02:00
Fabian Reinartz bbd9bdc5a4 Fix missing pipe escaping 2016-09-09 13:16:27 +02:00
Fabian Reinartz 62c4057c05 Merge pull request #12 from kubernetes/node
Add more node metrics
2016-09-09 11:00:27 +02:00
Fabian Reinartz 3fa4f5d2a7 Merge pull request #11 from kubernetes/fabxc/depl
Add more deployment metrics
2016-09-09 10:58:09 +02:00
Fabian Reinartz 4c5c428f3e Add more deployment metrics 2016-09-09 10:31:22 +02:00
Fabian Reinartz 15d8fccf53 Add more node metrics.
This adds metrics on the current node phase, allocatable and capacity
resources, and the out-of-disk condition
2016-09-09 10:29:10 +02:00
Fabian Reinartz a7da0baf45 Allow filtering tested metrics
This allows to only verify metrics with specified names to test
a subset of exposed metrics.
2016-09-09 10:11:20 +02:00
Fabian Reinartz 5fbb042931 Merge pull request #10 from brancz/update-docs
update and extend metrics documentation
2016-09-07 15:51:23 +02:00
Frederic Branczyk 67fb7e26c6 update and extend metrics documentation 2016-09-07 14:50:30 +02:00
Fabian Reinartz d44025415f Merge pull request #8 from fabxc/node-metrics
Node metrics
2016-09-07 10:52:22 +02:00
Fabian Reinartz 53ddc0e346 Rework node metrics
This commit reworks node metrics in the same manner as deployment
metrics.
The node states are broken out into one time series for each possible
conditional state. One constant metric holds textual meta information
about cluster nodes.
2016-09-07 10:31:28 +02:00
Fabian Reinartz 890b5d3f0a Fix metric equality checks
This commit fixes the sorting of expected metrics to match that of the
instrumentation library.
On error the comparison output is easier to analyze.
2016-09-07 10:26:26 +02:00
Frederic Branczyk ed505ccd41 Container restart metric (#9)
* Rework container restart metric

This commit reworks the container restart metric in the same manner as
deployment metrics. The format remains unchanged to the previous format
as in one metric per container via labels.

* Normalize expected string representation

To be able to compare strings easier when a failure occurs, remove empty
lines and trim whitespace for each line of the expected metrics string.
2016-09-07 10:20:31 +02:00
Fabian Reinartz b15680d96d Rework deployment metrics (#6)
* Update prometheus client vendoring

* Rework deployment metrics

This change extracts the deployment metrics into their own
deployment collector. The metrics are collected synchronously with
each scrape rather than every 10 seconds.

The `deployment` label replaces the `name` label to avoid name
collisions further up in the monitoring chain.
2016-09-01 15:58:22 -07:00
Sam Ghods 37c53a52fb Update README (#2) 2016-05-26 13:42:46 -07:00
Vish Kannan 14dbf837ec Merge pull request #3 from ghodss/travis
Add Travis
2016-05-26 13:30:25 -07:00
Sam Ghods 902c21658d Add Travis 2016-05-26 13:14:30 -07:00
Sam Ghods 1d14b1c87d Merge pull request #1 from ghodss/kube-state-metrics
kube-state-metrics initial code
2016-05-09 17:40:37 -07:00
Sam Ghods 8f5b735162 Update README.md 2016-05-09 13:34:20 -07:00
Sam Ghods 3ee2b630af Add vendor/Godeps 2016-05-06 14:36:16 -07:00
Sam Ghods 795d6c51e7 Create kube-state-metrics 2016-05-06 14:36:03 -07:00
Brian Grant 9a97e41c42 Initial commit 2016-05-05 23:10:14 -07:00