Skip to content

Conversation

@AndrewChubatiuk
Copy link
Contributor

@AndrewChubatiuk AndrewChubatiuk commented Dec 6, 2025

PR built on #1671
unify child objects managenent for VMAgent, VMAuth, VMAlert and VMAlertsmanager

AsKey(bool) string
}

type ChildObjects[T scrapeObjectWithStatus] struct {
Copy link
Collaborator

Choose a reason for hiding this comment

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

There is no any kind of documentation to the public exported methods.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added comments

@AndrewChubatiuk AndrewChubatiuk changed the title added a single operator_bad_objects_count for bad objects managed by VMAgent, VMAuth, VMAlert and VMAlertmanager added a single operator_bad_objects_total for bad objects managed by VMAgent, VMAuth, VMAlert and VMAlertmanager Dec 9, 2025
@AndrewChubatiuk AndrewChubatiuk force-pushed the add-more-metrics branch 5 times, most recently from 2102ece to bb34914 Compare December 11, 2025 18:26
 This commit adds object_namespace label to the metrics:
* operator_alertmanager_bad_objects_count
* operator_vmalert_bad_objects_count

 It helps to route alerts on object_namespace label.
@AndrewChubatiuk AndrewChubatiuk merged commit 1b40e31 into master Dec 11, 2025
6 checks passed
@AndrewChubatiuk AndrewChubatiuk deleted the add-more-metrics branch December 11, 2025 19:06
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.

3 participants