Skip to content

Commit e2aae14

Browse files
committed
Revert "Simplify install instructions"
This reverts commit f6414d2.
1 parent f6414d2 commit e2aae14

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ Visit Grafana on http://localhost:3000. Add a new MongoDB data source with host
5151

5252
### Full steps
5353

54-
1. **Download:** Use the Grafana CLI, from within your Grafana instance, to download and install the plugin.
55-
```sh
56-
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
57-
```
54+
1. **Download:** Obtain the latest plugin build from the [Release page](https://github.com/haohanyang/mongodb-datasource/releases) or [workflow artifacts](https://github.com/haohanyang/mongodb-datasource/actions?query=branch%3Amaster).
5855

59-
3. **Setup:** Configure the plugin as a data source within Grafana, providing your MongoDB connection details.
56+
2. **Install:**
57+
- Extract the downloaded archive (`haohanyang-mongodb-datasource-<version>.zip`) into your Grafana plugins directory (`/var/lib/grafana/plugins` or similar).
58+
- Ensure the plugin binaries (`mongodb-datasource/gpx_mongodb_datasource_*`) have execute permissions (`chmod +x`).
59+
- Configure the plugin as a data source within Grafana, providing your MongoDB connection details.
6060

6161
Refer to the [example docker-compose.prod.yaml](/docker-compose.prod.yaml) file for a production-ready setup.
6262

0 commit comments

Comments
 (0)