bitbar-grafana
Version, currently master branch1 version
- master branchlatestNov 11, 2019
github.com/waj/bitbar-grafana
BitBar plugin to show Grafana active alerts
Installation
# Add this to your shard.yml
dependencies:
bitbar-grafana:
github: waj/bitbar-grafana
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.31.1- License
- MIT
- Author
- Juan Wajnerman
- Target
grafanafrom src/grafana.cr
Dependencies
This version declares no dependencies.
README
bitbar-grafana
BitBar plugin to show Grafana active alerts
Installation
To build the plugin, make sure the hostname is set in the environment variable GRAFANA_HOST. For example:
$ GRAFANA_HOST=my.grafana.host shards build
After that, copy the generated binary bin/grafana into the BitBar plugins directory.
This plugin looks for the Grafana API key from the macOS keychain. Make sure to add an entry using the hostname as the entry name, and apikey as the account name. Once the item is created, make sure to run the plugin executable at least once and give permanent access to the keychain entry.
You can customise the alert's prefix by setting GRAFANA_ALERT_PREFIX environment variable when building. It defaults to Grafana: (whitespace included so you can omit it if you want).
Contributing
- Fork it (https://github.com/waj/bitbar-grafana/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Juan Wajnerman - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Nov 11, 2019
- Crystal
0.31.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/waj/bitbar-grafana
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 1