Not seeing all data records when using flux query in Grafana 7.2.1

  • What Grafana version and what operating system are you using? - 7.2.1

  • What are you trying to achieve?
    I was using below query to pull data based on POD memory Bytes for Kubernetes. There are nearly 200+ pods available in cluster

from(bucket: “telegraf”)

|> range(start: v.timeRangeStart, stop: v.timeRangeStop)

|> filter(fn: (r) => r["_measurement"] == “kubernetes_pod_container”)

|> filter(fn: (r) => r["_field"] == “memory_usage_bytes”)

|> filter(fn: (r) => r[“pod_name”] != “”)

|>keep(columns: ["_time","_value",“pod_name”])

|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)

|> yield(name: “mean”)

but when run this query in grafana, it returns data for nearly 50 pods, however when running same query in chronograf, getting data for all 200+ pods. So is there any limitations in grafana to show limited records? what is the resolution to get data for all pods.

This topic was automatically closed after 365 days. New replies are no longer allowed.