Skip to content

Commit 9f3394f

Browse files
authored
Merge pull request #58 from devSparkle/patch-3
2 parents 7720803 + 3ce86fc commit 9f3394f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,17 @@ Refer to the [example docker-compose.prod.yaml](/docker-compose.prod.yaml) file
6464
- Select your MongoDB data source in a Grafana panel.
6565
- Use the query editor to write your aggregation pipeline queries (see Query Language below).
6666

67+
### Installing with the Grafana CLI
68+
69+
1. **Download:** Use the Grafana CLI, from within your Grafana instance, to download and install the plugin.
70+
```sh
71+
grafana cli --pluginUrl https://github.com/haohanyang/mongodb-datasource/releases/download/v0.3.2/haohanyang-mongodb-datasource-0.3.2.zip plugins install haohanyang-mongodb-datasource
72+
```
73+
74+
2. **Setup:** Configure the plugin as a data source within Grafana, providing your MongoDB connection details.
75+
76+
3. **Start Querying!**
77+
6778
## Query Language
6879

6980
### JSON (Recommended)

0 commit comments

Comments
 (0)