metric_scope
Function |
def metric_scope(self, scope_name, scope_value=0) |
|---|---|
Function Description |
Defines the scope of a metric class. It defaults to global. |
Input |
scope_name: metric scope name. scope_value: (optional) scope ID. The default value is 0. |
Return Value |
The profiler returns the current object. Chain calls are supported. |
Parent topic: msServiceProfiler Profiling