# weavecloud-browser-extension **Repository Path**: mirrors_weaveworks/weavecloud-browser-extension ## Basic Information - **Project Name**: weavecloud-browser-extension - **Description**: Browser extension to integrate Grafana dashboards with Weave Cloud - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2026-09-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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 (alexis@weave.works). Your feedback is always welcome!