diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0df4042..f2085ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,8 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v2 + - name: Simulate Processing Delay + run: sleep 5 - name: Build Application run: echo "Building the application" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4e578b5..c2430a4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,5 +14,7 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v2 + - name: Simulate Processing Delay + run: sleep 10 - name: Test Application run: echo "Testing the application" \ No newline at end of file diff --git a/source/dump-ci-stats-to-gcp-metrics.js b/source/dump-ci-stats-to-gcp-metrics.js index b91ef74..6d03f02 100644 --- a/source/dump-ci-stats-to-gcp-metrics.js +++ b/source/dump-ci-stats-to-gcp-metrics.js @@ -22,7 +22,7 @@ async function sendMetricsToGCP(metricType, metricValue, labels) { timeSeries: [ // Ensure this field is present { metric: { - type: `custom.googleapis.com/${metricType}`, + type: `custom.googleapis.com/github/${metricType}`, labels: labels }, resource: {