Skip to content

Instantly share code, notes, and snippets.

View okgolove's full-sized avatar
🥑
be my destiny

Mikhail Naletov okgolove

🥑
be my destiny
View GitHub Profile
@okgolove
okgolove / prepare_dashboard.sh
Created January 15, 2019 10:56 — forked from aranair/prepare_dashboard.sh
Prepares exported Grafana JSON to be loaded by Prometheus Operator -> Grafana Watcher
# !/bin/bash
#
# Usage:
# 1. Copy the JSON from Grafana -> Export as JSON -> Clipboard
# 2. ./prepare_dashboard.sh new_dashboard_xxx
# - This will create new_dashboard_xxx-dashboard.json
#
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"