I have taken a course on measure theory, learned all the important limit theorems, construction of the Lebesgue integral and so forth, but what I have never encountered is, how I actually compute a Lebesgue integral w.r.t. a specific given measure. I.e., how the definition of the measure with respect to which we integrate comes into play when computing the integral. On $\mathbb{R}$, for example, consider the Borel Lebesgue measure $\lambda((a, b])=b - a$ or the counting measure $\nu(A)=|A|$ (if $A$ is a measurable set). How do you compute the integral of a function $f$ with respect to these measures and where and how do their definitions come into play?
I am aware that on compact intervals integrating a function $f$ w.r.t. the Borel-Lebesgue measure is the same as just computing the Riemann Integral, but that is not what I mean. I mean how do you use the specific definition of your measure in the (Lebesgue) integral to compute that integral without resorting to the Riemann Integral (which is anyway only possible if your measure is the Borel-Lebesgue one)?
Also, the Borel-Lebesgue measure is defined for intervals, but how do you compute the integral w.r.t. the Borel-Lebesgue measure for an arbitrary measurable set?