Math operations with fields

Recommendations:

  • Use the “Add field from calculation” transformation in Grafana to perform math operations between fields.
  • Consider using Flux (or other query language in the underlying data source) for more complex operations, especially when dealing with data from InfluxDB. Whenever you can push down a query to the database, it’s often more performant.
  • Normalize timestamps if your data points do not align perfectly in time, using Flux functions.
  • Share solutions and screenshots to help others with similar issues.

References