Arithmetic binary operators in Prometheus are used to perform standard math operations on two operands, which can be scalars or vectors.
Operators include addition (+), subtraction (-), multiplication (*), division (/), remainder (%), and exponentiation (^).
These operations are defined for scalar to scalar, vector to scalar, and vector to vector (with matching labels) scenarios.
Arithmetic operators are crucial for transforming raw metrics into actionable insights in Prometheus, facilitating analysis of system metrics like memory usage, CPU load adjustments, and threshold evaluation.