Commit Graph

65 Commits

Author SHA1 Message Date
Ferran Rodenas ac716b14dc Fix loading kubeconfig file
* Don't set a default --kubeconfig flag value so NewDefaultClientConfigLoadingRules
will pick up the default locations

* Set an ExplicitPath using --kubeconfig flag value
2016-12-20 22:28:45 +01:00
slaws cc49cb4468 Add resource quotas metrics (#51) 2016-12-15 13:13:28 -08:00
Dominik Schulz 6622d0a6e6 Add DaemonSet metrics (#54) 2016-12-12 12:55:45 -08:00
Fabian Reinartz 07e4d4f5b0 Merge pull request #30 from brancz/clientgo15
use kubernetes informer framework
2016-10-18 13:49:52 +02:00
Frederic Branczyk 67bf6b9c09 don't panic when requesting help (#42) 2016-10-17 15:32:29 +02:00
Frederic Branczyk 9bbd1af70d
use kubernetes informer framework 2016-10-17 14:32:51 +02:00
Frederic Branczyk f689aa5f04
vendor: k8s.io/client-go/1.5 2016-10-17 13:32:20 +02:00
Fabian Reinartz 031eb8da34 Add Makefile (#25)
* Remove canonical import path

This either causes issues for the CI or people having the
repo checked out into the correct k8s.io/kube-state-metrics directory

.

* Add Makefile
2016-09-20 12:12:20 +02:00
Daniel Sachse 1cce9e63cc Added docker image and kubernetes files 2016-09-20 11:11:53 +02:00
Frederic Branczyk 6af709b410 switch to k8s.io/client-go as kubernetes client 2016-09-14 10:23:02 +02:00
Frederic Branczyk 9e32ecd2dc cleanup unused code 2016-09-13 11:19:35 +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
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 795d6c51e7 Create kube-state-metrics 2016-05-06 14:36:03 -07:00