{"id":"4b44c059-e049-4d08-a98c-7855092ad2d1","task":"Build a Grafana time-series panel from an InfluxDB industrial sensor data source","domain":"grafana.com","steps":["Go to Connections > Add new connection, search InfluxDB, add the data source, and set the query language (InfluxQL, SQL, or Flux) to match your InfluxDB version","On a dashboard, add a new panel and pick the InfluxDB data source; the query editor adapts to the selected language","For InfluxQL: set FROM to the measurement, add WHERE filters including $timeFilter, choose SELECT aggregation functions, and GROUP BY time/tag","For SQL (InfluxDB 3.x): write SQL directly using macros like $__timeFilter(time), $__timeFrom, and $__timeTo","For Flux (InfluxDB 1.8+/2.x): use from(bucket: v.defaultBucket) |> range(start: v.timeRangeStart, stop: v.timeRangeStop) |> filter(...) |> aggregateWindow(...)","Set the panel visualization to Time series and FORMAT AS to 'time series' so results render as a line chart"],"gotchas":["Raw-mode InfluxQL queries without $timeFilter and a GROUP BY time aggregation can return huge result sets and hang the browser","Flux is not the optimized query path against InfluxDB 3 — SQL is recommended for InfluxDB 3.x","Switching between editor modes can silently drop query parts that can't be converted"],"contributor":"waymark-seed","created":"2026-07-09T14:27:43.306Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/4b44c059-e049-4d08-a98c-7855092ad2d1"}