Introduce MAC collision metric and alert#342
Conversation
|
/hold until the alert is merged and bumped to CNAO |
|
example of how the diagnoses should look like: |
d092889 to
0cf2d0f
Compare
0cf2d0f to
a1da150
Compare
|
/hold cancel @sradco all feature content has been merged. We can proceed with this PR. |
a1da150 to
1ae0f84
Compare
|
Change: Rebase |
docs/metrics.md
Outdated
| | ssp-operator | `kubevirt_ssp_operator_up` | Recording rule | Gauge | The total number of running ssp-operator pods | | ||
| | ssp-operator | `kubevirt_ssp_template_validator_rejected_increase` | Recording rule | Gauge | The increase in the number of rejected template validators, over the last hour | | ||
| | ssp-operator | `kubevirt_ssp_template_validator_up` | Recording rule | Gauge | The total number of running virt-template-validator pods | | ||
| | kubemacpool | `kmp_mac_collisions` | Gauge | Count of running objects sharing the same MAC address (collision when > 1) | |
There was a problem hiding this comment.
this should be added automatically once it's added to the repo, so add kubemacpool here: https://github.com/kubevirt/monitoring/blob/main/tools/metricsdocs/types.go#L26 and run the workflow
|
Hi @sradco this runbook and metric is not under kubevirt org it's here: https://github.com/k8snetworkplumbingwg/kubemacpool/blob/main/pkg/monitoring/rules/alerts/alerts.go#L39 I wonder if it's the right place to add this runbook and metric documentation. WDTY? |
1ae0f84 to
8910bc3
Compare
IMO since this repo is deployed by HCO (by extention by CNAO) - we should treat it as one deployed by the product... |
Move the GitHub org from a hardcoded global "kubevirt" string to a
per-project field on projectInfo and project structs. All existing
projects use the new defaultOrg constant ("kubevirt"), so there is
no change in behavior.
This prepares for adding projects hosted outside the kubevirt org.
Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Ram Lavi <ralavi@redhat.com>
Add kubemacpool as a tracked project in the metrics documentation generator. Since kubemacpool is hosted under the k8snetworkplumbingwg GitHub org (not kubevirt), this uses the per-project org support introduced in the previous commit. Regenerate docs/metrics.md to include the new KMP metrics. Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Ram Lavi <ralavi@redhat.com>
This commit introduces a new alert for running objects MAC collision. It also references the new alert on the deprecated alert. Signed-off-by: Ram Lavi <ralavi@redhat.com>
8910bc3 to
109eacd
Compare
|
Change: Rebase |
|
@RamLavi please add to the PR description the link to the PR of the new alert and metric. Thank you |
What this PR does / why we need it:
This PR introduces:
It also references the new alert on the deprecated alert.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Assisted by Claude
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.
Release note: