---
title: "New Netlify Feature: Function Metrics"
description: "Learn how you can optimize performance and troubleshoot issues with Function Metrics"
source: "https://www.netlify.com/blog/optimize-performance-and-troubleshoot-issues-with-function-metrics/"
last_updated: "2026-07-10T21:28:18.000Z"
---
Function Metrics is now available within the Metrics dropdown in the primary navigation at a site level. This new feature offers an analytics solution designed to help you optimize the performance of your site’s functions.

Function Metrics provide a wealth of insights into the performance, reliability, and utilization of specific functions within applications. Now, developers are no longer reliant on third-party tools for such insights. By analyzing success and error rates, invocation count, and duration, developers can optimize performance, troubleshoot issues, and make data-driven decisions to improve overall application quality and user experience.

## **Viewing granular data**

Function Metrics offers several filter options that allow for a more granular view of data.

-   The branch selection allows tracking data from a specific branch, focusing on the performance of a particular development or feature branch.
    
-   The function selection monitors invocation and error rates of a specific function within the chosen branch. This granular focus aids in pinpointing issues or performance bottlenecks.
    
-   The time frame selection defines the time frame for data analysis. View data for the last 24 hours, 7 days, or 30 days, tracking short-term trends or long-term patterns in invocation and error metrics.
    

![](https://cdn.sanity.io/images/o0o2tn5x/production/d0e180addd3840accedf859f6f8b9fbe6d60e79c-1800x1020.png?auto=format)

Function Metrics also provides an overview of HTTP status codes, helping identify the timing and gives an option to navigate to the Function log.

![](https://cdn.sanity.io/images/o0o2tn5x/production/01c9f92a3439b347c6a60179d11d2a93be96dc17-1800x1020.png?auto=format)

The Distribution by function table lists all functions along with their invocations, errors, average duration and duration percentiles (P50, P95 and P99) metrics. This data assists in understanding which functions perform well and which ones fail.

![](https://cdn.sanity.io/images/o0o2tn5x/production/2a9531dec295ef1b26f35e94214b1c6bc761eec9-1800x1020.png?auto=format)

## **Navigating to the Function log**

Developers now have the ability to delve deeper into errors by accessing the Function log. You can navigate to the Function log in two ways: either by clicking on errors in the “Distribution by function” table or by selecting “Go to logs” from the Invocations graph.

## **Use cases and benefits**

Function Metrics are practical for a variety of use cases:

-   Performance optimization Identify performance bottlenecks by analyzing the average duration, duration percentiles (P50, P95, P99), and error rates of specific functions.
    
-   Troubleshooting errors Quickly identify and address issues within the application by monitoring errors for specific functions.
    
-   Prioritize development efforts Allocate resources efficiently by understanding function invocations.
    

## Is this feature available on my pricing plan?

Yes! This feature is now available across all plans, with the Starter plan offering a 7-day data history and Paid plans extending to 30 days.

## Additional support and resources:

[Visit Netlify Docs](https://docs.netlify.com/monitor-sites/function-metrics/)

### Share

-   [X (fka Twitter)](https://twitter.com/intent/tweet?text=Optimize performance and troubleshoot issues with Function Metrics&url=https://www.netlify.com/blog/optimize-performance-and-troubleshoot-issues-with-function-metrics/)
-   [LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.netlify.com%2Fblog%2Foptimize-performance-and-troubleshoot-issues-with-function-metrics%2F)
-   [Facebook](https://www.facebook.com/sharer.php?u=https://www.netlify.com/blog/optimize-performance-and-troubleshoot-issues-with-function-metrics/)
-   [Bluesky](https://bsky.app/intent/compose?text=Optimize performance and troubleshoot issues with Function Metrics+https://www.netlify.com/blog/optimize-performance-and-troubleshoot-issues-with-function-metrics/)

* * *

### Tags

-   [changelog](/blog/tags/changelog/)
-   [Functions](/blog/tags/functions/)

## Keep reading

![](/_astro/df24a07bddae0c4c52fdb2fffc8af1304e349329-1200x630_2fG3sh.webp)

News & Announcements April 10, 2024

[

### Introducing Account usage insights: Gain a deeper understanding of your Netlify usage

](/blog/introducing-account-usage-insights)

-   ![Profile picture of Ritesh Kewlani](/_astro/fa6bd2c7ed698617a36d7644b031e678a7869898-600x600_29myuG.webp)
    
    Ritesh Kewlani
    

![](/_astro/ccaad6ec76ce35f8e24ac538c19c2d7ac5426841-2400x1260_1Gg3iA.webp)

News & Announcements May 7, 2024

[

### Introducing Private Connectivity

](/blog/introducing-private-connectivity)

-   ![Profile picture of Sterling Davis](/_astro/25db515ddb19d6367a394b20f4f87d98eae5381c-800x800_ZFjFzJ.webp)
    
    Sterling Davis
    
-   ![Profile picture of Ivan Zarea](/_astro/451968a8e873f95cf69c7edd78eb29a9035541eb-1024x1024_15GUd.webp)
    
    Ivan Zarea
    

## Recent posts

News & Announcements June 25, 2026

[

### Netlify Functions, designed for Agent Experience

](/blog/netlify-functions-designed-for-agent-experience)

-   ![Profile picture of Eduardo Bouças](/_astro/52958f21e8450baf6d8e60302341a984e220c0cd-512x512_13VDlu.webp)
    
    Eduardo Bouças
    

News & Announcements June 24, 2026

[

### How we measure Netlify’s Agent Experience

](/blog/how-we-measure-netlify-agent-experience)

-   ![Profile picture of Sean Roberts](/_astro/bbf2243f8171dbddd80ab2103622106cef84d125-512x512_Z1d2LKE.webp)
    
    Sean Roberts
    

Guides & Tutorials May 15, 2026

[

### How to build a real-time AI chatbot in minutes with Netlify Agent Runners (no backend)

](/blog/how-to-build-a-real-time-ai-chatbot-in-minutes-with-netlify-agent-runners-no-backend)

-   ![Profile picture of Nahrin Jalal](/_astro/f0e7c8f227a03fe58340c99ef5439d5a896c0733-272x272_Z23kDpD.webp)
    
    Nahrin Jalal
    

![](/_astro/3f255b372fa958df35802666ee33b4609b2d71bd-1200x1586_1VtE2D.webp)

### How do the best dev and marketing teams work together?

[Access the report](https://www.netlify.com/reports/2024-leadership-trend-report/access/)