-
What Grafana version and what operating system are you using?
Grafana Enterprise , in conjunction with gcp instance group and Google GMP -
What are you trying to achieve?
-
How are you trying to achieve it?
Have the following query for instances within an instance group . however every time we update instances …new instances are created …so no visibility to historical data for terminated instances. This data is within the monarch db , and perhaps can be queried . How is the big question ?
Have this existing query :
sum by (instance, name)(rate(tfe_container_cpu_usage_kernel_ns{instance=“$node”,run_type=“”}[$rangeinterval]) + rate(tfe_container_cpu_usage_user_ns{instance=“$node”,run_type=“”}[$rangeinterval])) / 1e7) -
What happened?
-
What did you expect to happen?
Need to find a way to query the instance group metrics from monarch db -
Can you copy/paste the configuration(s) that you are having problems with?
sum by (instance, name)((rate(tfe_container_cpu_usage_kernel_ns{instance=“$node”,run_type=“”}[$rangeinterval]) + rate(tfe_container_cpu_usage_user_ns{instance=“$node”,run_type=“”}[$rangeinterval])) / 1e7) -
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
No since the instance group names change , we missing historic data for terminated instances .
- Did you follow any online instructions? If so, what is the URL?
n/a.