Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/weaveworks/weavecloud-browser-extension

Browser extension to integrate Grafana dashboards with Weave Cloud
https://github.com/weaveworks/weavecloud-browser-extension

browser-extension grafana monitoring weaveworks

Last synced: about 1 month ago
JSON representation

Browser extension to integrate Grafana dashboards with Weave Cloud

Awesome Lists containing this project

README

        

# Weave Cloud Browser Extensions

Currently chrome-only.

* Inject links into Grafana dashboards to explore queries in Weave Cloud.

## Setup

Install dependencies: `npm install`

Build extension: `npm run build`

Install extension: Open Chrome's extensions settings, enable the Developer mode,
then point "Load unpacked extensions" to the `chrome` directory of this repository.

## Development

`npm start` starts webpack with a watcher.

* `background.js` is responsible for detecting navigation to dashboards. If
a dashboard is detected, its definition is loaded and parsed for graph panels.
The extracted queries are then sent to `content.js`

* `content.js` builds links for the queries and injects them into the dashboard

* `link.jsx` builds the link markup (using React -- this is currently overkill,
but helpful if we want to build browser-action popups)

## Publish

1. Make sure `LOCAL = false` in `src/components/link.jsx`

2. Run `npm i && webpack` to build the bundles.

3. Zip the `chrome` directory.

4. Make sure you are a member of the Weaveworks Group `chrome-webstore`, then
go to https://chrome.google.com/webstore/developer/dashboard and update the
extension by uploading the zip file.

## LICENSE

[APL2.0](LICENSE)

## Getting Help

If you have any questions about, feedback for or problems with `weavecloud-browser-extension`:

- Invite yourself to the Weave Users Slack.
- Ask a question on the [#general](https://weave-community.slack.com/messages/general/) slack channel.
- [File an issue](https://github.com/weaveworks/weavecloud-browser-extension/issues/new).

Weaveworks follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting a Weaveworks project maintainer, or Alexis Richardson ([email protected]).

Your feedback is always welcome!