--- alias: tutorials-exception-management-inspection-plan-settings glightbox: false description: "Defines a reusable plan for sampling operations and triggering protocols based on defect thresholds" --- # Inspection Plans The **Inspection Plan** is a reusable object that represents a sampling method applied in a given operation context. The **Inspection Plan** has a configuration parameter where you can define a **Protocol** to be triggered if the parameters being collected have surpassed the threshold of the maximum number of acceptable defects. In the video below, you can see that the execution of an **Inspection Plan** has surpassed the maximum number of acceptable defects, triggering a **Protocol Instance** that has been previously configured to be executed in case of failure. {% set video_id = 'ddc59d2d63b447085a5b46b4f010c126' %} {% include-markdown 'includes/cloudflare_stream.md' %} !!! info To continue learning, see other use cases: * [[tutorials-exception-management-manage-chart-rules]] * [[tutorials-exception-management-manage-error-limits]]