You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by zk...@apache.org on 2022/11/25 06:33:06 UTC

[incubator-devlake-website] 02/03: docs: update pics for pr metrics

This is an automated email from the ASF dual-hosted git repository.

zky pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git

commit 682bb58c79f2bb4a198ddb9cc9dc8592170e37da
Author: Startrekzky <ka...@merico.dev>
AuthorDate: Fri Nov 25 04:11:19 2022 +0800

    docs: update pics for pr metrics
---
 docs/Metrics/PRCodingTime.md                  |   2 +-
 docs/Metrics/PRDeployTime.md                  |   6 +-----
 docs/Metrics/PRPickupTime.md                  |   2 +-
 docs/Metrics/PRReviewTime.md                  |   2 +-
 static/img/Metrics/pr-deploy-time-monthly.png | Bin 0 -> 26905 bytes
 5 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/docs/Metrics/PRCodingTime.md b/docs/Metrics/PRCodingTime.md
index 4d2f69e01..f9fca0889 100644
--- a/docs/Metrics/PRCodingTime.md
+++ b/docs/Metrics/PRCodingTime.md
@@ -39,7 +39,7 @@ FROM
 
 If you want to measure the monthly trend of `PR coding time` in the screenshot below, please run the following SQL in Grafana. 
 
-![](/img/Metrics/pr-cycle-time-monthly.png)
+![](/img/Metrics/pr-coding-time-monthly.png)
 
 ```
 SELECT 
diff --git a/docs/Metrics/PRDeployTime.md b/docs/Metrics/PRDeployTime.md
index d0de7d9aa..ca3046bf1 100644
--- a/docs/Metrics/PRDeployTime.md
+++ b/docs/Metrics/PRDeployTime.md
@@ -40,10 +40,6 @@ This metric relies on two sources:
    - Releases and PR/MRs from GitHub, GitLab APIs, etc.
 
 
-<b>Transformation Rules Required</b>
-
-N/A
-
 <b>SQL Queries</b>
 
 The following SQL shows how to find the `deploy time` of a specific PR. DevLake pre-calculates the metric and stores it in table.pull_requests.
@@ -58,7 +54,7 @@ FROM
 
 If you want to measure the monthly trend of `PR deploy time` in the screenshot below, please run the following SQL in Grafana. 
 
-![](/img/Metrics/pr-cycle-time-monthly.png)
+![](/img/Metrics/pr-deploy-time-monthly.png)
 
 ```
 SELECT 
diff --git a/docs/Metrics/PRPickupTime.md b/docs/Metrics/PRPickupTime.md
index 47783f282..d22f77714 100644
--- a/docs/Metrics/PRPickupTime.md
+++ b/docs/Metrics/PRPickupTime.md
@@ -39,7 +39,7 @@ FROM
 
 If you want to measure the monthly trend of `PR pickup time` in the screenshot below, please run the following SQL in Grafana. 
 
-![](/img/Metrics/pr-cycle-time-monthly.png)
+![](/img/Metrics/pr-pickup-time-monthly.png)
 
 ```
 SELECT 
diff --git a/docs/Metrics/PRReviewTime.md b/docs/Metrics/PRReviewTime.md
index 6221d5bf7..5754d2555 100644
--- a/docs/Metrics/PRReviewTime.md
+++ b/docs/Metrics/PRReviewTime.md
@@ -43,7 +43,7 @@ FROM
 
 If you want to measure the monthly trend of `PR review time` in the screenshot below, please run the following SQL in Grafana. 
 
-![](/img/Metrics/pr-cycle-time-monthly.png)
+![](/img/Metrics/pr-review-time-monthly.png)
 
 ```
 SELECT 
diff --git a/static/img/Metrics/pr-deploy-time-monthly.png b/static/img/Metrics/pr-deploy-time-monthly.png
new file mode 100644
index 000000000..2baf355e8
Binary files /dev/null and b/static/img/Metrics/pr-deploy-time-monthly.png differ