-
Notifications
You must be signed in to change notification settings - Fork 109
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
[metrics 4/x] Metrics exporter rules #732
base: master
Are you sure you want to change the base?
Conversation
Thanks for your PR,
To skip the vendors CIs use one of:
|
e1551a6
to
86719de
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
86719de
to
0069e5e
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
0069e5e
to
fed3f8c
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
fed3f8c
to
5ba65f8
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
5ba65f8
to
5b085ea
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
3eced4d
to
7b25cc6
Compare
7b25cc6
to
f004d91
Compare
Pull Request Test Coverage Report for Build 10470789795Details
💛 - Coveralls |
@@ -0,0 +1,38 @@ | |||
--- | |||
{{ if .IsPrometheusOperatorInstalled }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i recall we discussed having a separate env var for deploying rules right ?
from aug 06 2024 meeting notes:
Adding a new env variable to decide if deploy prometheus rules
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I'm fixing that
2504fcd
to
d8ce5ef
Compare
PrometheusRules allow recording pre-defined queries. Use `sriov_kubepoddevice` metric to add `pod|namespace` pair to the sriov metrics. Feature is enabled via the `METRICS_EXPORTER_PROMETHEUS_DEPLOY_RULE` environment variable. Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
d8ce5ef
to
9493e50
Compare
PrometheusRules allow recording pre-defined queries. Use
sriov_kubepoddevice
metric to addpod|namespace
pairto the sriov metrics.
Here is an example of the raw exported metrics:
Proposed prometheus rules allow to query the following new metrics:
network:sriov_vf_tx_packets
network:sriov_vf_rx_packets
network:sriov_vf_tx_bytes
network:sriov_vf_rx_bytes
network:sriov_vf_tx_dropped
network:sriov_vf_rx_dropped
network:sriov_vf_rx_broadcast
network:sriov_vf_rx_multicast