Function TRITONSERVER_ServerMetrics

Function Documentation

TRITONSERVER_Error *TRITONSERVER_ServerMetrics(TRITONSERVER_Server *server, TRITONSERVER_Metrics **metrics)

Get the current metrics for the server.

The caller takes ownership of the metrics object and must call TRITONSERVER_MetricsDelete to release the object.

Return

a TRITONSERVER_Error indicating success or failure.

Parameters
  • server: The inference server object.

  • metrics: Returns the metrics.