Insights error handling for config file reading

To allow a better experience when using insights we could check the insights config file when it is loaded after a request from the frontend. The current problem with the config file can then be displayed to the user

  • Check file formatting
    • Valid yml
    • Valid fields
  • Check chart types
  • Check query types

The insights frontend will display a message field from the payload in case of an unsuccessful request: