惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
博客园_首页
T
Tailwind CSS Blog
美团技术团队
博客园 - 叶小钗
Microsoft Security Blog
Microsoft Security Blog
有赞技术团队
有赞技术团队
Apple Machine Learning Research
Apple Machine Learning Research
大猫的无限游戏
大猫的无限游戏
Microsoft Azure Blog
Microsoft Azure Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
InfoQ
MongoDB | Blog
MongoDB | Blog
The Cloudflare Blog
J
Java Code Geeks
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
酷 壳 – CoolShell
酷 壳 – CoolShell
Blog — PlanetScale
Blog — PlanetScale
IT之家
IT之家
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Y
Y Combinator Blog

Netlify Developers

AI model comparison using Netlify's AI Gateway | Netlify Developers Build an AI agent to automatically process and summarize form submissions | Netlify Developers Build an AI agent to automatically generate relevant images for blog posts | Netlify Developers Prerendering SPA content pages to enable AI agent access | Netlify Developers Identify image optimization opportunities with Netlify Observability | Netlify Developers Fix top 404 page not found errors with Netlify Observability | Netlify Developers Introducing AI Gateway: built-in AI model access on Netlify | Netlify Developers Introducing Observability: your project insights on Netlify | Netlify Developers From first publish to first update with AI agents | Netlify Developers How to use Agent Runners on Netlify | Netlify Developers Add forms to your project with AI + Netlify | Netlify Developers Track Real User Metrics | Netlify Developers Lighthouse performance scores on Netlify | Netlify Developers Review your AI project before you ship | Netlify Developers Using environment variables in AI Projects on Netlify | Netlify Developers Build prototypes and MVPs fast with AI + Netlify | Netlify Developers Pause auto-publishing on Netlify | Netlify Developers Run serverless functions, storage, and more natively in Nuxt dev | Netlify Developers Netlify Office Hours: The AX Arcade challenge | Netlify Developers Netlify Office Hours: Prompting with style | Netlify Developers Netlify Office Hours: RAG Apps with OpenAI + Netlify DB | Netlify Developers How to build a RAG application with Neon, Netlify & OpenAI | Netlify Developers Netlify Office Hours: Netlify DB (powered by Neon) | Netlify Developers Netlify Office Hours: Netlify MCP Server | Netlify Developers Netlify Office Hours: Netlify Vite Plugin | Netlify Developers Building MCPs with Netlify | Netlify Developers Deploying sites from your AI tool | Netlify Developers Adding your domain using Netlify API | Netlify Developers Build a context driven chat bot with Netlify Blob and OpenAI | Netlify Developers Simplify deployments with Netlify’s branch-matching environment variables | Netlify Developers
Improve site performance with better serverless insights ...
2024-05-20 · via Netlify Developers

The more we include serverless and edge functions in the architecture of our sites and applications, the more vital it becomes that we have good insights into their use, performance, and any errors. Netlify Functions Metrics provide this information and lets you map changes in performance to individual deploys. Here’s how.

#TL;DR

Function Metrics are available through the Netlify UI. When zoomed to show three days of data or less, individual deploys are annotated against the metrics to let you associate any changes in performance to specific changes in deployed code.

#Just show me

For those who prefer to watch, rather than to read, here’s very short video to show where to find Function Metrics and how to see the associated deploys.

Play

#How can I inspect my functions?

Netlify has always provided access to the logs generated by your functions, either through our Functions Logs or piped to the service you prefer via our Log Drains.

Now, in a addition to being able to explore the data your functions logs, you can also explore the metrics which show invocations. response types, error rates, and execution durations. The metrics are filterable by branch, function, and time.

#How do I set up Functions Metrics?

You don’t need to do anything to enable Functions Metrics. Netlify will begin recording the data for as soon as you have serverless functions or edge functions deployed in your site and receiving requests. This is available on all pricing tiers including the starter tier where the latest 7 days of data are available for inspection. Longer retention periods are available on the paid tiers.

#How can I see which deployment impacted function errors?

By reviewing the chart of response types or success/error rates, changes in characteristics can be spotted. Zooming in on the chart to a view that includes 3 or fewer days of data will make deploy markers visible allowing you to visually inspect correlations between code deployments and changes in functions performance.

#More information