dora-team / fourkeys

Platform for monitoring the four key software delivery metrics of software delivery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Service Unavailable while Generating Data

Sbhalsing0 opened this issue · comments

Getting service unavailable error while generating mock data.
The event-handler parser is not working, Can you please suggest how to resolve this issue??

fourkeys_error

Hi! That's unintended. :) I'm not sure what's going on here, but if you'd like to debug it together, you should join us at our biweekly office hours (next one is Apr 12): https://github.com/GoogleCloudPlatform/fourkeys/blob/main/CONTRIBUTING.md#office-hours

Hope to see you there!

Try generating data outside of the set-up script:

  1. Set environment variables for WEBHOOK and SECRET
  2. From root of repo, run: python data_generator/generate_data.py --vc_system=github

This command does not set any value to WEBHOOK variable.
export WEBHOOK=gcloud run services list --project $PROJECT_ID | grep event-handler | awk '{print $4}'

Below is the output of command gcloud run services list --project $PROJECT_ID | grep event-handler

image

I tried setting the value directly export WEBHOOK=https://event-handler-fpoXXXXXXXXc.a.run.app, but still getting the same error.