Skip to content

Add ClusterSummary.Status metrics and update monitoring functionality#830

Closed
DanaIzadpanah wants to merge 1 commit intoprojectsveltos:mainfrom
DanaIzadpanah:di-fix
Closed

Add ClusterSummary.Status metrics and update monitoring functionality#830
DanaIzadpanah wants to merge 1 commit intoprojectsveltos:mainfrom
DanaIzadpanah:di-fix

Conversation

@DanaIzadpanah
Copy link
Copy Markdown

@DanaIzadpanah DanaIzadpanah commented Nov 18, 2024

Added a cluster_summary_status gauge to track ClusterSummary.Status and updated metrics for resource and chart deployment durations. Improved error handling and logging for Prometheus metrics. Let me know what you think and if anything needs to be adjusted!

prometheus.GaugeOpts{
Namespace: "projectsveltos",
Name: "cluster_summary_status",
Help: "Status of ClusterSummary for managed clusters (1=Ready, 0=NotReady)",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am guessing here you want to check whether SveltosCluster are ready. In such case, the CRD is SveltosCluster and the repo where this needs to be tracked is sveltoscluster-manager controller (it has a reconciler for SveltosCluster instances)

@gianlucam76
Copy link
Copy Markdown
Member

Closing this as taken care of by other PRs.

@gianlucam76 gianlucam76 closed this Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants