Skip to content

sharding-exporter: missing kube_shard_{info,state} metrics #634

@timebertt

Description

@timebertt

What happened:

The sharding-exporter no longer exposes the shard metrics documented here (kube_shard_{info,state}).
It still exposes the kube_controllerring_* metrics.

What you expected to happen:

The metrics should be exported as documented.

How to reproduce it (as minimally and precisely as possible):

count({job="sharding-exporter", __name__=~"kube_(shard|controllerring).*"}) by (__name__)

results in

kube_controllerring_metadata_generation
kube_controllerring_observed_generation
kube_controllerring_status_shards
kube_controllerring_status_available_shards

Anything else we need to know?:

It seems that this has been broken since #453, probably due to kubernetes/kube-state-metrics#2567.

Environment:

  • kubernetes-controller-sharding version:
  • Kubernetes version:
  • Others:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions