diff --git a/lib/influxdb/rails/middleware/sql_subscriber.rb b/lib/influxdb/rails/middleware/sql_subscriber.rb index 982ed21..cae0117 100644 --- a/lib/influxdb/rails/middleware/sql_subscriber.rb +++ b/lib/influxdb/rails/middleware/sql_subscriber.rb @@ -21,6 +21,7 @@ def tags class_name: query.class_name, name: query.name, location: :raw, + cached: query.cached, } end