-
Notifications
You must be signed in to change notification settings - Fork 902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to confirm MetricsEndpoints (port and path) for Karmada components with ServiceMonitor or PodMonitor? #5955
Comments
@weidalin In release v1.11.0, Karmada defined metrices port name in container field of related karmada components, so that the port name can be specified in PodMonitor to form prothumes metrics dashboard. More info can refer to #5166 |
Are you using Karmada version v1.10.4? |
Yes. Do I have to upgrade to v1.11.0 to use PodMonitor? |
If you do not wish to upgrade, you can also define the metrics name in the manifest of the related components according to #5166.
How about |
I for one use this
Replace with your controller IP. I use the prometheus helm chart, so when installing it you have to apply this as:
Hope it helps! |
@weidalin Hello, has your problem been resolved? If so, could you share your solution? |
Please provide an in-depth description of the question you have:
According to the documentation (Karmada Metrics Reference), Karmada provides many useful metrics.
Here is an example of my PodMonitor configuration:
I have referred to the Karmada Metrics documentation, but the specific port and path settings are not clearly mentioned. Could you confirm the correct values for these fields?
What do you think about this question?
Clear documentation or guidelines on the correct port and path for metrics scraping would be very helpful, especially for integrating with Prometheus.
Environment:
Karmada version: 1.10.4
Kubernetes version: v1.27.x
Others: The Karmada cluster already has Prometheus installed and running. @zhzhuang-zju
The text was updated successfully, but these errors were encountered: