<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Full list of serving endpoint metrics returned by api/2.0/serving-endpoints/[ENDPOINT_NAME]/metrics in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/full-list-of-serving-endpoint-metrics-returned-by-api-2-0/m-p/142873#M4512</link>
    <description>&lt;P&gt;Hello! Looking at the documentation for this metric endpoint:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/machine-learning/model-serving/metrics-export-serving-endpoint" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/machine-learning/model-serving/metrics-export-serving-endpoint&lt;/A&gt;&lt;BR /&gt;It does not include a sample API response, and the code examples given don't have the full list of possible metric keys that can be returned.&lt;BR /&gt;These are the keys that I was able to find:&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;cpu_usage_percentage&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;mem_usage_percentage&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;provisioned_concurrent_requests_total&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;request_4xx_count_total&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;request_5xx_count_total&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;request_count_total&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;request_latency_ms - histogram (request_latency_ms_bucket,&amp;nbsp;request_latency_ms_count,&amp;nbsp;request_latency_ms_sum)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;However this is missing the following GPU metrics:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KyraHinnegan_0-1767388845438.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/22648iF56F73D50CB58F1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KyraHinnegan_0-1767388845438.png" alt="KyraHinnegan_0-1767388845438.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What would the keys and the response structure look like for those? An output example would be very helpful.&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jan 2026 21:24:56 GMT</pubDate>
    <dc:creator>KyraHinnegan</dc:creator>
    <dc:date>2026-01-02T21:24:56Z</dc:date>
    <item>
      <title>Full list of serving endpoint metrics returned by api/2.0/serving-endpoints/[ENDPOINT_NAME]/metrics</title>
      <link>https://community.databricks.com/t5/machine-learning/full-list-of-serving-endpoint-metrics-returned-by-api-2-0/m-p/142873#M4512</link>
      <description>&lt;P&gt;Hello! Looking at the documentation for this metric endpoint:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/machine-learning/model-serving/metrics-export-serving-endpoint" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/machine-learning/model-serving/metrics-export-serving-endpoint&lt;/A&gt;&lt;BR /&gt;It does not include a sample API response, and the code examples given don't have the full list of possible metric keys that can be returned.&lt;BR /&gt;These are the keys that I was able to find:&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;cpu_usage_percentage&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;mem_usage_percentage&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;provisioned_concurrent_requests_total&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;request_4xx_count_total&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;request_5xx_count_total&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;request_count_total&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;request_latency_ms - histogram (request_latency_ms_bucket,&amp;nbsp;request_latency_ms_count,&amp;nbsp;request_latency_ms_sum)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;However this is missing the following GPU metrics:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KyraHinnegan_0-1767388845438.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/22648iF56F73D50CB58F1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KyraHinnegan_0-1767388845438.png" alt="KyraHinnegan_0-1767388845438.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What would the keys and the response structure look like for those? An output example would be very helpful.&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 21:24:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/full-list-of-serving-endpoint-metrics-returned-by-api-2-0/m-p/142873#M4512</guid>
      <dc:creator>KyraHinnegan</dc:creator>
      <dc:date>2026-01-02T21:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Full list of serving endpoint metrics returned by api/2.0/serving-endpoints/[ENDPOINT_NAME]/metr</title>
      <link>https://community.databricks.com/t5/machine-learning/full-list-of-serving-endpoint-metrics-returned-by-api-2-0/m-p/143021#M4514</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/202721"&gt;@KyraHinnegan&lt;/a&gt;&amp;nbsp;, I did some digging and here is what I found: Based on the Databricks documentation, GPU metrics exposed by the Serving Endpoint Metrics API follow a clear and consistent naming convention. Once you know the pattern, the response is very predictable and easy to work with.&lt;/P&gt;
&lt;P class="p1"&gt;GPU metric keys&lt;/P&gt;
&lt;P class="p1"&gt;The API exposes two GPU-specific metrics, each broken out per individual GPU on the serving instance.&lt;/P&gt;
&lt;P class="p1"&gt;GPU usage&lt;/P&gt;
&lt;P class="p1"&gt;You’ll see GPU utilization reported using the following key pattern:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;gpu_usage_percentage{gpu=“gpu0”}&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;gpu_usage_percentage{gpu=“gpu1”}&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;gpu_usage_percentage{gpu=“gpuN”}&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p1"&gt;Each GPU is tracked independently using the gpu label. Values like gpu0, gpu1, and so on correspond to the physical GPUs attached to the instance.&lt;/P&gt;
&lt;P class="p1"&gt;GPU memory usage&lt;/P&gt;
&lt;P class="p1"&gt;GPU memory utilization follows the same labeling approach:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;gpu_memory_usage_percentage{gpu=“gpu0”}&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;gpu_memory_usage_percentage{gpu=“gpu1”}&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;gpu_memory_usage_percentage{gpu=“gpuN”}&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p1"&gt;Again, memory usage is reported per GPU device, making it straightforward to see how evenly (or unevenly) memory pressure is distributed.&lt;/P&gt;
&lt;P class="p1"&gt;Response format&lt;/P&gt;
&lt;P class="p1"&gt;All metrics are returned using the Prometheus / OpenMetrics exposition format. In practice, a response containing GPU metrics will look something like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;# TYPE gpu_usage_percentage gauge
gpu_usage_percentage{gpu="gpu0",endpoint="your-endpoint-name"} 45.2
gpu_usage_percentage{gpu="gpu1",endpoint="your-endpoint-name"} 52.8

# TYPE gpu_memory_usage_percentage gauge
gpu_memory_usage_percentage{gpu="gpu0",endpoint="your-endpoint-name"} 68.5
gpu_memory_usage_percentage{gpu="gpu1",endpoint="your-endpoint-name"} 71.3&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P class="p1"&gt;This structure makes it easy to scrape, aggregate, and visualize the metrics using standard Prometheus tooling.&lt;/P&gt;
&lt;P class="p1"&gt;Important notes and gotchas&lt;/P&gt;
&lt;P class="p1"&gt;A few practical details are worth keeping in mind:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;These values are averages across all server replicas and are sampled once per minute.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;Because of the relatively low sampling frequency, the metrics are most accurate when the endpoint is under steady, sustained load.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;GPU_SMALL → 1× T4&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;GPU_MEDIUM → 1× A10G&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="p1"&gt;GPU_MEDIUM_4X → 4× A10G&lt;/P&gt;
&lt;P class="p1"&gt;The number of gpu labels you see depends on the workload size. For example:&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="p1"&gt;Put simply: the metric schema scales naturally with the hardware you provision, and each GPU shows up as its own labeled time series.&lt;/P&gt;
&lt;P class="p1"&gt;As always, if you’re planning alerts or capacity decisions, it’s worth correlating these metrics with request volume and latency to get the full picture.&lt;/P&gt;
&lt;P class="p1"&gt;Hope this helps, Louis.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2026 12:13:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/full-list-of-serving-endpoint-metrics-returned-by-api-2-0/m-p/143021#M4514</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2026-01-05T12:13:26Z</dc:date>
    </item>
  </channel>
</rss>

