Skip to content

Commit 152b89f

Browse files
committed
sleep added;
1 parent 350a8fa commit 152b89f

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
steps:
1515
- name: Checkout Code
1616
uses: actions/checkout@v2
17+
- name: Simulate Processing Delay
18+
run: sleep 5
1719
- name: Build Application
1820
run: echo "Building the application"
1921

.github/workflows/test.yml

+2
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@ jobs:
1414
steps:
1515
- name: Checkout Code
1616
uses: actions/checkout@v2
17+
- name: Simulate Processing Delay
18+
run: sleep 10
1719
- name: Test Application
1820
run: echo "Testing the application"

source/dump-ci-stats-to-gcp-metrics.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async function sendMetricsToGCP(metricType, metricValue, labels) {
2222
timeSeries: [ // Ensure this field is present
2323
{
2424
metric: {
25-
type: `custom.googleapis.com/${metricType}`,
25+
type: `custom.googleapis.com/github/${metricType}`,
2626
labels: labels
2727
},
2828
resource: {

0 commit comments

Comments
 (0)