lib/dynflow/execution_plan.rb
def toggle_telemetry_state(original, new)
      return if original == new
      @label = root_plan_step.action_class if @label.nil?
      Dynflow::Telemetry.with_instance do |t|
        t.set_gauge(:dynflow_active_execution_plans, '-1',
                    telemetry_common_options.merge(:state => original)) unless original.nil?
        t.set_gauge(:dynflow_active_execution_plans, '+1',
                    telemetry_common_options.merge(:state => new)) unless new.nil?
      end
    end
# a fallback object representing a plan with some corrupted data,
# preventing to load the whole plan properly, this can be used for presenting
# at least some data and not running into internal server errors
a fallback object representing a plan with some corrupted data,
preventing to load the whole plan properly, this can be used for presenting
at least some data and not running into internal server errors
a fallback object representing a plan with some corrupted data preventing to load the whole plan properly this can be used for presenting at least some data and not running into internal server errors
def toggle_telemetry_state(original, new)
      return if original == new
      @label = root_plan_step.action_class if @label.nil?
      Dynflow::Telemetry.with_instance do |t|
        t.set_gauge(:dynflow_active_execution_plans, '-1',
                    telemetry_common_options.merge(:state => original)) unless original.nil?
        t.set_gauge(:dynflow_active_execution_plans, '+1',
                    telemetry_common_options.merge(:state => new)) unless new.nil?
      end
    end
def toggle_telemetry_state ( original , new ) return if original == new @label = root_plan_step . action_class if @label . nil? Dynflow :: Telemetry . with_instance do | t | t . set_gauge ( :dynflow_active_execution_plans , '-1' , telemetry_common_options . merge ( :state => original ) ) unless original . nil? t . set_gauge ( :dynflow_active_execution_plans , '+1' , telemetry_common_options . merge ( :state => new ) ) unless new . nil? end end
a fallback object representing a plan with some corrupted data,
preventing to load the whole plan properly, this can be used for presenting
at least some data and not running into internal server errors
a fallback object representing a plan with some corrupted data preventing to load the whole plan properly this can be used for presenting at least some data and not running into internal server errors
original
new