chaos_genius icon indicating copy to clipboard operation
chaos_genius copied to clipboard

feat(cli): add command to import KPIs from a JSON

Open Samyak2 opened this issue 3 years ago • 3 comments

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.

Samyak2 avatar Dec 29 '21 12:12 Samyak2

✔️ Deploy Preview for frontend-sb canceled.

🔨 Explore the source changes: e562d84428c46382da0a477f807bc3ed946dbdce

🔍 Inspect the deploy log: https://app.netlify.com/sites/frontend-sb/deploys/61e560d2523b06000739f7d5

netlify[bot] avatar Dec 29 '21 12:12 netlify[bot]

I will be adding a data source import command to this same PR.

Samyak2 avatar Jan 17 '22 17:01 Samyak2

@kartikay-bagla @Samyak2 Any reason as to why we are not resolving conflicts and merging this?

varunp2k avatar Apr 13 '22 13:04 varunp2k