...
The above step will download the artifacts to
/tmp/<artifact_type>_downloads
directory. Use following command to explore and install these artifacts into the kfuse embedded grafana.
Note/Limitation: If uploading directory, make sure the your alerts are in directory structure like /tmp/alerts_downloads/assests/<any_folder_name>/alerts/
and then use the below command, other you may not see any alerts to select from.
Code Block |
---|
python3 catalog.py --explore --artifact_type=alerts --use_dir=/tmp/alerts_downloads --grafana_address=https://<target-cluster-addr> --grafana_username="SOURCE_GRAFANA_USERNAME" --grafana_password="SOURCE_GRAFANA_PASSWD" |
Note: If these commands can’t be executed from pod due to <target-cluster-addr>
reachability, you can use following instructions to extract the catalog tool used above to a location where <target-cluster-addr>
can be reached:
...