Skip to content

Conversation

@octonautcal
Copy link
Contributor

The Number of target namespaces allows us to infer how many watched agents we have

@octonautcal
Copy link
Contributor Author

Whimsical

Copy link
Collaborator

@liam-mackie liam-mackie left a comment

Choose a reason for hiding this comment

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

LGTM! Action comment at your leisure (or never) :)

return nil
}

func (c *OctopusMetricsCollector) collectTargetNamespaceMetrics(ch chan<- prometheus.Metric) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: consider adding another metric around whether namespace detection is enabled, or if the namespaces are statically defined

@octonautcal octonautcal merged commit b771f3f into main Nov 3, 2025
10 checks passed
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