A comparison framework for runtime monitoring approaches