Skip to content

Remove prometheus dependencies from k/k codebase #89267

@serathius

Description

@serathius

As part of Metrics Stability KEP we migrated from Prometheus client to Kubernetes Metrics Framework. So we no longer need to depend on promethues client directly.

I configured Bazel to forbid importing prometheus directly. https://github.com/kubernetes/kubernetes/blob/master/hack/verify-prometheus-imports.sh (EDITED)

Example PR that removes reference #85289

There are still couple of directories that need to be cleaned up:

/sig instrumentation
/kind cleanup
/cc @logicalhan

Please volunteer if your interested in working on certain directory.
/help

Metadata

Metadata

Labels

kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.kind/featureCategorizes issue or PR as related to a new feature.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.sig/instrumentationCategorizes an issue or PR as relevant to SIG Instrumentation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions