Skip to content

Commit

Permalink
Update to ovnkube_controller_pod_creation_latency_seconds_bucket
Browse files Browse the repository at this point in the history
This PR updates to ovnkube_controller_pod_creation_latency_seconds_bucket
from ovnkube_master_pod_creation_latency_seconds_bucket

Signed-off-by: Krishna Harsha Voora <[email protected]>
  • Loading branch information
krishvoor committed May 27, 2024
1 parent 75ed3da commit e492612
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/ocp-performance/queries.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ local generateTimeSeriesQuery(query, legend) = [
},
ovnAnnotationLatency: {
query():
generateTimeSeriesQuery('histogram_quantile(0.99, sum(rate(ovnkube_master_pod_creation_latency_seconds_bucket[$interval])) by (pod,le)) > 0', '{{ pod }}')
generateTimeSeriesQuery('histogram_quantile(0.99, sum by (pod, le) (rate(ovnkube_controller_pod_creation_latency_seconds_bucket[$interval]))) > 0', '{{ pod }}')
},
ovnCNIAdd: {
query():
Expand Down
2 changes: 1 addition & 1 deletion assets/ovn-monitoring/queries.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ local generateTimeSeriesQuery(query, legend) = [

ovnAnnotationLatency: {
query():
generateTimeSeriesQuery('histogram_quantile(0.99, sum(rate(ovnkube_master_pod_creation_latency_seconds_bucket[2m])) by (pod,le)) > 0','{{pod}} - Pod Annotation latency')
generateTimeSeriesQuery('histogram_quantile(0.99, sum by (pod, le) (rate(ovnkube_controller_pod_creation_latency_seconds_bucket[2m]))) > 0','{{pod}} - Pod Annotation latency')
},

ovnCNIAdd: {
Expand Down
2 changes: 1 addition & 1 deletion templates/General/ocp-performance.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ local stackroxMem = genericGraphLegendPanel('Top 25 stackrox container RSS bytes
// OVN
local ovnAnnotationLatency = genericGraphPanel('99% Pod Annotation Latency', 's').addTarget(
prometheus.target(
'histogram_quantile(0.99, sum(rate(ovnkube_master_pod_creation_latency_seconds_bucket[$interval])) by (pod,le)) > 0',
'histogram_quantile(0.99, sum by (pod, le) (rate(ovnkube_controller_pod_creation_latency_seconds_bucket[$interval]))) > 0',
legendFormat='{{pod}}',
)
);
Expand Down
2 changes: 1 addition & 1 deletion templates/General/ovn-dashboard.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ local work_queue_unfinished_latency = genericGraphLegendPanel('OVNKube Master wo

local ovnAnnotationLatency = genericGraphLegendPanel('Pod Annotation Latency', 's').addTarget(
prometheus.target(
'histogram_quantile(0.99, sum(rate(ovnkube_master_pod_creation_latency_seconds_bucket[2m])) by (pod,le)) > 0',
'histogram_quantile(0.99, sum by (pod, le) (rate(ovnkube_controller_pod_creation_latency_seconds_bucket[2m]))) > 0',
legendFormat='{{pod}} - Pod Annotation latency',
)
);
Expand Down

0 comments on commit e492612

Please sign in to comment.