metric_inc
Applicability
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For
For
Function Description
Records the increment of a metric class.
Prototype
1 | def metric_inc(self, metric_name, metric_value) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
metric_name |
Input |
Metric name. |
metric_value |
Input |
Increment. A negative value indicates a decrease. |
Returns
The profiler returns the current object. Chain calls are supported.
Parent topic: Serving Tuning