You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support more aggregate options and Improve Editor UI (#33)
* Support more aggregate options; Update UI
* Add link to legacy plugin
* Improve language selection UI
* Add SetBypassDocumentValidation in the backend
* Improve loggings
* Change JavaScriptShadow label in test
* Remove \t from label
* Update editor layout
* Update screenshot
* Update README
This plugin enables you to query and visualize data from your MongoDB databases directly within Grafana. Leverage the flexibility of MongoDB's aggregation pipeline to create insightful dashboards and panels.
8
8
9
-

9
+

10
10
11
11
## Features
12
12
13
13
-**Flexible Querying:** Query data using MongoDB's aggregation pipeline syntax in JSON or JavaScript. Support query variables to create dynamic dashboards.
14
14
-**Time Series & Table Data:** Visualize time-based data or display results in tabular format for various Grafana panels.
15
15
-**MongoDB Atlas Support** Connect to MongoDB Atlas Services.
16
16
-**Grafana Alerting Support** Set up alerting rules based on query result
17
-
-**Legacy Plugin Compatibility:** Easy migrate from the legacy plugin with support for its query syntax.
17
+
-**[Legacy Plugin](https://github.com/JamesOsgood/mongodb-grafana) Compatibility:** Easy migrate from the [legacy plugin](https://github.com/JamesOsgood/mongodb-grafana) with support for its query syntax.
18
18
19
19
## Authentication methods
20
20
* No authentication
@@ -73,7 +73,7 @@ Provide the collection name and your MongoDB aggregation pipeline in standard JS
73
73
74
74
### JavaScript (Legacy & ShadowRealm)
75
75
76
-
-**Legacy:** Maintain compatibility with the older plugin's syntax:
76
+
-**Legacy:** Maintain compatibility with the [legacy plugin](https://github.com/JamesOsgood/mongodb-grafana)'s syntax:
77
77
```javascript
78
78
db.listingsAndReviews.aggregate([ /* Your aggregation pipeline (JSON) */ ]);
<InlineFieldlabel="Collection"error="Collection is required"invalid={query.queryLanguage!==QueryLanguage.JAVASCRIPT&&!query.collection}tooltip="Name of the MongoDB collection to query">
<InlineFieldlabel="Max time(ms)"tooltip="The maximum amount of time that the query can run on the server. The default value is nil, meaning that there is no time limit for query execution."
<InlineFieldlabel="Max Await Time(ms)"tooltip="The maximum amount of time that the server should wait for new documents to satisfy a tailable cursor query.">
<InlineFieldlabel="Comment"tooltip="A string that will be included in server logs, profiling logs, and currentOp queries to help trace the operation.">
<InlineFieldlabel="Allow Disk Use"tooltip="If true, the operation can write to temporary files in the _tmp subdirectory of the database directory path on the server. The default value is false.">
<InlineFieldlabel="Bypass Document Validation"tooltip="If true, writes executed as part of the operation will opt out of document-level validation on the server. This option is valid for MongoDB versions >= 3.2 and is ignored for previous server versions. The default value is false.">
0 commit comments