Upgraded from 7.5.4 to 8.0.3, Alerts throwing: input frame is not recognized as a time series grafana

  • What Grafana version and what operating system are you using?
    8.0.3, RHEL 8

  • What are you trying to achieve?
    Queries that were working for alerts in 7.5.4 are now throwing an error.

  • How are you trying to achieve it?
    Add alerts to a graph. I’ve tried the old and new version. Graph points to an InfluxDB datasource using Flux to pull data

  • What happened?
    Upgraded from 7.5.4 to 8.0.3

  • What did you expect to happen?
    The alerts we had before should work like they used to or be easily converted.

  • Can you copy/paste the configuration(s) that you are having problems with?
    Worked before:
    from(bucket: “-----------”)
    |> range(start: -15m)
    |> filter(fn: (r) =>
    r.host == “-----------”
    )
    |> group()
    |> count()

I tried changing it to this, but same result.
from(bucket: “-----------”)
|> range(start: -15m)
|> filter(fn: (r) =>
r.host == “-----------”
)
|> group()
|> count()
|> map(fn: (r) => ({
r with
_time: now()
}))

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

request handler failed to convert dataframe “” to plugins.DataTimeSeriesSlice: input frame is not recognized as a time series

Ok. So it appears that adding that map with did fix it. Not sure what I was looking at that made me think it was still busted.

I’m continuing to experiment.

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