Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leejones/alfred-grafana-dashboards-workflow

An Alfred workflow to search your Grafana dashboards and open one
https://github.com/leejones/alfred-grafana-dashboards-workflow

alfred alfred-workflow grafana

Last synced: about 2 months ago
JSON representation

An Alfred workflow to search your Grafana dashboards and open one

Awesome Lists containing this project

README

        

# alfred-grafana-dashboards-workflow

An Alfred workflow to search your [Grafana](https://grafana.com) dashboards and select one to open in your default browser.

## Installation

Requirements:

* [Go](https://go.dev) (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
```