  Originally, the noncommutative residue was studied in the 80's by Wodzicki in
his thesis and Guillemin. In this article we give a definition of the Wodzicki
residue, using the langage of r-fibered distributions in the context of
filtered manifolds. We show that this groupoidal residue behaves like a trace
on the algebra of pseudodifferential operators on filtered manifolds and
coincides with the usual residue Wodzicki in the case where the manifold is
trivially filtered. Moreover, in the context of Heisenberg calculus, we show
that the groupoidal residue coincides with Ponge's definition for contact and
codimension 1 foliation Heisenberg manifolds.
