-
Notifications
You must be signed in to change notification settings - Fork 2
feat(observability): add d8_virtualization_virtualmachinesnapshot_info and d8_virtualization_virtualdisksnapshot_info prometheus metrics #1555
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
base: main
Are you sure you want to change the base?
Conversation
Reviewer's GuideThis PR enhances the virtual machine snapshot monitoring by adding a new ‘virtualmachinesnapshot_info_virtualmachine’ metric, integrating it into the data model, metric registry, and scraper implementation. Class diagram for updated dataMetric structureclassDiagram
class dataMetric {
string Name
string Namespace
string UID
v1alpha2.VirtualMachineSnapshotPhase Phase
string VirtualMachine
}
Class diagram for updated scraper methodsclassDiagram
class scraper {
Report(m *dataMetric)
updateMetricVMSnapshotStatusPhase(m *dataMetric)
updateMetricVMSnapshotVM(m *dataMetric)
defaultUpdate(descName string, value float64, m *dataMetric, labels ...string)
}
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Workflow has started. The target step completed with status: cancelled. |
ece7b3a
to
7e7b585
Compare
Workflow has started. The target step completed with status: failure. |
Description
Add d8_virtualization_virtualmachinesnapshot_info and d8_virtualization_virtualdisksnapshot_info prometheus metrics.
Checklist
Changelog entries