Guillermo Bonet 4a1df1c1bf | ||
---|---|---|
.vscode | ||
node_modules | ||
.gitignore | ||
.grafana-find.json | ||
LICENSE | ||
README.md | ||
main.js | ||
package-lock.json | ||
package.json |
README.md
Grafana Find
Search for a string both in the grafana queries.
Requirements
- Git
- Grafana
Installation
It's recommended to install the package globally.
$ npm i -g grafana-find
$ grafana-find <string>
You can also install locally and use the npx command to execute it.
$ npm install grafana-find
$ npx grafana-find <string>
Create a file ".grafana-find.json" with this content to don't put everytime the credentials:
{
"grafanaUrl": "<server>",
"user": "<user>",
"password": "<pass>"
}
Save the file into user folder (Windows: %HOMEPATH% || Linux: $HOME) or current path, the user and password are optional.
How to use
Execute grafana-find with the desired command.
$ [npx] grafana-find [-h|--help] [-v|--version] <string>