Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/weaveworks/weavecloud-browser-extension
- Owner: weaveworks
- License: apache-2.0
- Created: 2017-03-20T11:49:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-02-08T16:40:02.000Z (almost 4 years ago)
- Last Synced: 2024-04-14T23:02:12.450Z (9 months ago)
- Topics: browser-extension, grafana, monitoring, weaveworks
- Language: JavaScript
- Homepage: https://chrome.google.com/webstore/detail/weave-cloud/aihaocdgpjomchhocbnlhoaildnoollo
- Size: 82 KB
- Stars: 9
- Watchers: 51
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
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!