Skip to content

Commit 56a3d45

Browse files
authored
Merge pull request #317 from andyxning/revert_add_componentstatus
Revert "add componentstatus metrics"
2 parents a55f56f + c797923 commit 56a3d45

5 files changed

Lines changed: 0 additions & 197 deletions

File tree

Documentation/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Any contribution to improving this documentation or adding sample usages will be
66

77
Per group of metrics there is one file for each metrics. See each file for specific documentation about the exposed metrics:
88

9-
* [ComponentStatus Metrics](componentstatus-metrics.md)
109
* [CronJob Metrics](cronjob-metrics.md)
1110
* [DaemonSet Metrics](daemonset-metrics.md)
1211
* [Deployment Metrics](deployment-metrics.md)

Documentation/componentstatus-metrics.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

collectors/componentstatus.go

Lines changed: 0 additions & 106 deletions
This file was deleted.

collectors/componentstatus_test.go

Lines changed: 0 additions & 83 deletions
This file was deleted.

main.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ const (
4949

5050
var (
5151
defaultCollectors = collectorSet{
52-
"componentstatuses": struct{}{},
5352
"daemonsets": struct{}{},
5453
"deployments": struct{}{},
5554
"limitranges": struct{}{},
@@ -69,7 +68,6 @@ var (
6968
"endpoints": struct{}{},
7069
}
7170
availableCollectors = map[string]func(registry prometheus.Registerer, kubeClient clientset.Interface, namespace string){
72-
"componentstatuses": kcollectors.RegisterComponentStatusCollector,
7371
"cronjobs": kcollectors.RegisterCronJobCollector,
7472
"daemonsets": kcollectors.RegisterDaemonSetCollector,
7573
"deployments": kcollectors.RegisterDeploymentCollector,

0 commit comments

Comments
 (0)