Prometheus data source, transform error data has no time field

I have a prometheus data source and a measurement syslog_ng_destination_messages_processed_total
I want to graph the diff or change over a time.
But I receive the error data has no time value

I found it, it was rate over time, as simple as,
rate(syslog_ng_destination_messages_processed_total[5m])