Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you already have Grafana Dashboards and Alerts then they can be directly imported to the Kloudfuse platform using the following steps.

Using Kloudfuse catalog service

Please refer to the catalog service documentation here.

Using grafana apis

Dashboards

Grafana Dashboards can easily be exported and imported, either from the UI or the HTTP API

  • If using UI, the converted dashboards can be imported to Grafana in your environment by simply following instructions from Grafana found here.

  • If using the command line (using the HTTP API), you will need an API key with admin privilege. You can create an API key by following these instructions. Also, you will need a folder to have been created to which the alerts will be With the API key generated, use the following command to import the provided/converted Grafana dashboard:

    • Code Block
      # the curl command to import the dashboard
      curl -H 'Content-Type: application/json' \
           -H 'Authorization: Bearer <API_KEY>' \
           -X POST http://<cluster-address>/grafana/api/dashboards/db -d @<converted-file-location.json>

Alerts

Note that the following is intended to import to Grafana as per Grafana Alert Provisioning API. If you are importing the alerts definition to the Prometheus server directly, the input format (i.e., the converted file) is different. Please make sure to communicate with the Kloudfuse team prior to conversion to ensure that you have the correct format of the converted files.

...