Let $[0,\infty]$ be equipped with the order topology. (That is, it is a subspace of the standard topology on the extended real)
Let $(X,\mathfrak{M},\mu)$ be a measure space.
Let $f:X\rightarrow [0,\infty]$ be a measurable function, which means that the inverse of each borel set of $[0,\infty]$ under $f$ is an element of $\mathfrak{M}$.
In measure theory, we define it's integration as the supremum of $\sum_{x\in s(X)} x\mu(s^{-1}(x))$ where $s$ is a simple measurable fuction such that $s≦f$.
The point is, the role of $\mu$ only acts on those simple functions $s$, not $f$ directly.
What would go wrong if one defines integration for an arbitrary function $f$?
That is, what's wrong with defining an integration of an arbitrary function $f$ as the supremum of $\sum_{x\in s(X)} x\mu(s^{-1}(x))$ over simple meadurable functions $s≦f$?