Skip to content

Merge two metrics http server #699

@nayihz

Description

@nayihz

What would you like to be added:
Now we have two http listener to serve /metrics. One is controller-manager's default metric server, listening on port 8080. The other one is the metric server that we implemented ourselves which is listening on port 9090.

func registerMetricsHandler(mgr manager.Manager, port int, cfg *rest.Config) error {

Why is this needed:
We don't need two metric servers in one controller.

Metadata

Metadata

Assignees

Labels

triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions