Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File: pm/models/metricsettings.py (Line: 143)
- Function: get_effective_settings
- 136 return []
- 137 mt = {} # metric type -> metric item
- 138 mti = {} # metric type -> interval
- 139 for s in s_seq:
- 140 for ms in s.metric_sets:
- 141 if not ms.is_active:
- 142 continue
- 143 ==> for mi in ms.metric_set.get_effective_metrics():
- 144 mt[mi.metric_type] = mi
- 145 mti[mi.metric_type] = ms.metric_set.interval
- 146 r = []
- 147 cvars = {}
- 148 gc = getattr(object, "get_probe_config", None)
- 149 # Pass through router solution
- Variables:
- ps =
- trace = False
- s_seq = []
- p =
- object =
- p_field = 'object_profile'
- get_config =
- mt = {}
- s =
- mti = {}
- ms = repr() failed
- model_id = u'sa.ManagedObject'
- cls =
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement