Skip to content

An Alfred workflow to search your Grafana dashboards and open one

Notifications You must be signed in to change notification settings

leejones/alfred-grafana-dashboards-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alfred-grafana-dashboards-workflow

An Alfred workflow to search your Grafana dashboards and select one to open in your default browser.

Installation

Requirements:

  • Go (see go.mod for recommended minimum version)

Clone this repo and run:

make install

Configuration

During installation, set the following required variables:

  • GRAFANA_HOST - required (e.g. https://example.com/)

If your Grafana instance is protected by HTTP basic auth, set the following variables:

  • GRAFANA_BASIC_AUTH_USER - optional
  • GRAFANA_BASIC_AUTH_PASSWORD - optional

Alternatively, you can define your Grafana basic auth username and password in your ~/.netrc file:

machine example.com
login my-username
password my-password

If you don't have a ~/.netrc, you can create one with:

# create the file
touch ~/.netrc
# set the file permissions so that other users cannot read it
chmod 600 ~/.netrc

About

An Alfred workflow to search your Grafana dashboards and open one

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published