From e36181229e55ff0b07e12d4cb49949cd55a008b6 Mon Sep 17 00:00:00 2001 From: Yingge He Date: Fri, 16 Aug 2024 11:48:59 -0700 Subject: [PATCH] Add new metric type to docs --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eee6af39..913034a8 100644 --- a/README.md +++ b/README.md @@ -1656,12 +1656,12 @@ import triton_python_backend_utils as pb_utils class TritonPythonModel: def initialize(self, args): # Create a MetricFamily object to report the latency of the model - # execution. The 'kind' parameter must be either 'COUNTER' or - # 'GAUGE'. + # execution. The 'kind' parameter must be either 'COUNTER', + # 'GAUGE' or 'HISTOGRAM'. self.metric_family = pb_utils.MetricFamily( name="preprocess_latency_ns", description="Cumulative time spent pre-processing requests", - kind=pb_utils.MetricFamily.COUNTER # or pb_utils.MetricFamily.GAUGE + kind=pb_utils.MetricFamily.COUNTER ) # Create a Metric object under the MetricFamily object. The 'labels'