-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
What would you like to be added:
Currently we are running 2 prometheus server endpoints in aws-network-policy-agent
container in aws-node
pod.
- Created by controller-runtime (
:8162/metrics
can see standard controller runtime and go metrics ) - Created in metrics package (
:61680/metrics
can see custom metrics and go metrics)func ServeMetrics() {
We can register our customer metrics to the same server created by controller-runtime (can get rid of our own created metric server).
Ref - https://book.kubebuilder.io/reference/metrics#publishing-additional-metrics
Why is this needed:
- Avoid duplication and efficient metric scraping (we only need to specify single metric endpoint for metric scraping for this container)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity