Commit Graph

3214 Commits

Author SHA1 Message Date
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