Function TRITONSERVER_ServerOptionsSetMetrics

Function Documentation

TRITONSERVER_Error *TRITONSERVER_ServerOptionsSetMetrics(TRITONSERVER_ServerOptions *options, bool metrics)

Enable or disable metrics collection in a server options.

Return

a TRITONSERVER_Error indicating success or failure.

Parameters
  • options: The server options object.

  • metrics: True to enable metrics, false to disable.