VolkovLabs / business-text

The Business Text panel plugin allows you to construct a text visualization template from the values of a dataset returned by a data source query.
https://volkovlabs.io
Apache License 2.0
83 stars 13 forks source link

npm modules #310

Closed yosiasz closed 6 months ago

yosiasz commented 6 months ago

hello

not sure which repo to put this under. is there any way to npm i mongodb for example in one of the grafana public folder and be able to use mongodb from dynamic text plugin?

Thanks

mikhail-vl commented 6 months ago

@yosiasz You can't access MongoDb directly from the browser.

You need a server or Web SDK. Here is a Atlas tutorial from Mongodb: https://www.mongodb.com/developer/products/atlas/querying-mongodb-browser-realm-react/