File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1656,12 +1656,12 @@ import triton_python_backend_utils as pb_utils
1656
1656
class TritonPythonModel :
1657
1657
def initialize (self , args ):
1658
1658
# Create a MetricFamily object to report the latency of the model
1659
- # execution. The 'kind' parameter must be either 'COUNTER' or
1660
- # 'GAUGE'.
1659
+ # execution. The 'kind' parameter must be either 'COUNTER',
1660
+ # 'GAUGE' or 'HISTOGRAM' .
1661
1661
self .metric_family = pb_utils.MetricFamily(
1662
1662
name = " preprocess_latency_ns" ,
1663
1663
description = " Cumulative time spent pre-processing requests" ,
1664
- kind = pb_utils.MetricFamily.COUNTER # or pb_utils.MetricFamily.GAUGE
1664
+ kind = pb_utils.MetricFamily.COUNTER
1665
1665
)
1666
1666
1667
1667
# Create a Metric object under the MetricFamily object. The 'labels'
You can’t perform that action at this time.
0 commit comments