grafana/synthetic-monitoring-app

Show generated MultiHTTP script

rdubrock opened this issue · 0 comments

We should allow users access to the script that gets generated under the hood when a MultiHTTP check is created. This could be done in one of two ways:

  1. Get the api/agent to return the generated script. This will result in the user having the exact same script that is running in synthetics, but would require backend work to accommodate.

  2. Use har-to-k6 on the frontend to generate the script. Since the data structure of multihttp config is based on the k6 HAR format, this should just be plug and play. This will result in a script that is syntactically different, but should be functionally identical, and wouldn't require any work on the backend.