[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-03。"],[[["\u003cp\u003eCloud Deploy metrics track the number of deployments and their success or failure over time for a specific delivery pipeline.\u003c/p\u003e\n"],["\u003cp\u003eAll metrics are measured specifically for deployments to the designated production target within the delivery pipeline and cover a 30-day rolling period.\u003c/p\u003e\n"],["\u003cp\u003eThe "Deployments" metric counts both successful and failed deployments, with success defined by pods reaching a ready state.\u003c/p\u003e\n"],["\u003cp\u003eThe "Deployment frequency" metric, a key DORA metric, indicates how often a delivery pipeline successfully deploys to production, calculated per day, week, or month based on deployment days.\u003c/p\u003e\n"],["\u003cp\u003eThe "Deployment failure rate" metric calculates the percentage of failed deployments out of all deployment attempts.\u003c/p\u003e\n"]]],[],null,["# Viewing metrics in Cloud Deploy\n\nCloud Deploy shows metrics for how many deployments occur for a given\ndelivery pipeline, over time, and how many of those deployments succeed.\n\nAbout Cloud Deploy metrics\n--------------------------\n\nAll deployment metrics in Cloud Deploy have the following\ncharacteristics:\n\n- All metrics are measured per delivery pipeline.\n\n- All metrics are for deployments to your *production* target.\n\n The final target in your delivery pipeline [progression](/deploy/docs/terminology#progression)\n is considered to be the production target.\n- All metrics are measured for a rolling 30-day period.\n\n For example, the Deployments metric counts the number of successful and failed\n deployments over the last 30 days.\n- Metrics consider *successful* deployments, and some also report failed\n deployments.\n\n A successful deployment is one for which the pod or pods report a ready state.\n The Deployment failure rate metric counts failures as a percentage of all\n deployment attempts.\n\nCloud Deploy makes the following deployment metrics available in\nGoogle Cloud console:\n\n- [Deployments](#the_deployments_metric)\n- [Deployment frequency](#the_deployment_frequency_metric)\n- [Deployment failure rate](#the_deployment_failure_rate_metric)\n\nThe Deployments metric\n----------------------\n\nThe *Deployments* metric shows the number of successful and failed deployments\nfrom the selected delivery pipeline to your production cluster.\n\nThe Deployment frequency metric\n-------------------------------\n\nThe *Deployment frequency* metric shows how often the delivery pipeline\nsuccessfully deploys to the production target per day. This is one of the four\nkey metrics defined by the [DevOps Research and Assessment](https://dora.dev/)\n(DORA) research program.\n\n### How Deployment frequency is calculated\n\nDeployment frequency is calculated based on the number of deployment *days*, not\nthe number of deployments. That is, if the delivery pipeline generates four\ndeployments to production on a given day, that's counted as one deployment day.\n\nThis metric is expressed per day, per week, or per month, depending on how many\ndeployments there are:\n\n- If the median number of deployment days per week is greater than or equal to\n 3, then the frequency is expressed as daily:\n\n \".8 times per day.\"\n- Otherwise, if more than 2 weeks have more than 0 deployment days then it's\n expressed as weekly:\n\n \"2 days per week.\"\n- Otherwise, if there's at least one deployment day per month, then it's\n expressed as monthly:\n\n \"2 days per month.\"\n\nThe Deployment failure rate metric\n----------------------------------\n\nThe *Deployment failure rate* metric shows the percentage of deployments that\nhave failed."]]