chaos_genius
chaos_genius copied to clipboard
feat(cli): add command to import KPIs from a JSON
Changes
The kpi-import
command reads a JSON file given as input and adds all the KPIs in it. The JSON must have a list of KPIs in the specified format (similar to JSON of the API endpoint - some field names may differ).
If a KPI addition fails, it's logged and the script moves on to the next one.
✔️ Deploy Preview for frontend-sb canceled.
🔨 Explore the source changes: e562d84428c46382da0a477f807bc3ed946dbdce
🔍 Inspect the deploy log: https://app.netlify.com/sites/frontend-sb/deploys/61e560d2523b06000739f7d5
I will be adding a data source import command to this same PR.
@kartikay-bagla @Samyak2 Any reason as to why we are not resolving conflicts and merging this?