You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both the functions collect_pv_capacity_metrics() & collect_pv_utilization_metrics() first clear the respective textfiles holding the metrics info before recreating them with latest updated info. However, the procedure to derive these metrics involves kubectl commands and/or system calls with some output parsing. Under cases where these take more than a few seconds & if the prometheus scrape interval is such that it coincides with this state of the textfiles (empty), then the dashboards are prone to show a few seconds worth of "no-metrics". This manifests itself like shown below:
This should be fixed. The changes may occur in two phases:
The existing bash script will be updated to replace metrics over clearing files
The collection approach maybe rewritten in golang
The text was updated successfully, but these errors were encountered:
Both the functions
collect_pv_capacity_metrics()
&collect_pv_utilization_metrics()
first clear the respective textfiles holding the metrics info before recreating them with latest updated info. However, the procedure to derive these metrics involveskubectl
commands and/or system calls with some output parsing. Under cases where these take more than a few seconds & if the prometheus scrape interval is such that it coincides with this state of the textfiles (empty), then the dashboards are prone to show a few seconds worth of "no-metrics". This manifests itself like shown below:This should be fixed. The changes may occur in two phases:
The text was updated successfully, but these errors were encountered: