Getting an Endpoint's Metrics

Get metrics for an endpoint in OCI Generative AI.

    1. On the Endpoints list page, select the endpoint that you want to work with. If you need help finding the list page for endpoints, see Listing Endpoints.
    2. On the details page, select Endpoint metrics.
      For details about the Endpoint metrics and to use the Monitoring service to create custom charts and get notified when these metrics meet alarm-specific triggers, see Metric Details in Generative AI.
  • Use the endpoint get command and required parameters to get an endpoint's details including its metrics:

    oci generative-ai endpoint get 
    --endpoint-id <endpoint-OCID> [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the GetEndpoint operation to get an endpoint's details including its metrics.