Comments (4)
The same error after selecting MongoDB datasource:
Unable to dynamically transpile ES module A loader plugin needs to be configured via SystemJS.config({ transpiler: 'transpiler-module' }).
Any idea how to solve It?
from mongodb-grafana.
I got the same and fixed it by mounting by docker volume as below
-v ./plugins/mongodb-grafana/src:/var/lib/grafana/plugins:z
I then go the "unsigned plugin" message in Grafana which you can fix with
by setting an environment variable as follows
GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=grafana-mongodb-datasource
But then I got an error in Grafana
Unable to dynamically transpile ES module A loader plugin needs to be configured via
SystemJS.config({ transpiler: 'transpiler-module' }). Instantiating http://zadsdcrapp1435:3000/public/plugins/grafana-mongodb-datasource/module.js Loading plugins/grafana-mongodb-datasource/module
Anyway my full docker command is below
sudo docker run --name grafana -v ./plugins/mongodb-grafana/src:/var/lib/grafana/plugins:z --rm -p 3000:3000 -e GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=grafana-mongodb-datasource grafana/grafana
from mongodb-grafana.
I got the same and fixed it by mounting by docker volume as below
-v ./plugins/mongodb-grafana/src:/var/lib/grafana/plugins:z
I then go the "unsigned plugin" message in Grafana which you can fix with by setting an environment variable as follows
GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=grafana-mongodb-datasource
But then I got an error in Grafana
Unable to dynamically transpile ES module A loader plugin needs to be configured via
SystemJS.config({ transpiler: 'transpiler-module' }). Instantiating http://zadsdcrapp1435:3000/public/plugins/grafana-mongodb-datasource/module.js Loading plugins/grafana-mongodb-datasource/module
Anyway my full docker command is below
sudo docker run --name grafana -v ./plugins/mongodb-grafana/src:/var/lib/grafana/plugins:z --rm -p 3000:3000 -e GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=grafana-mongodb-datasource grafana/grafana
Following your instructions I don't see an error message about the transpile (maybe I am not looking in the right spot), but I also don't get any thing in the settings panel when I go to add mongodb-grafana as a data source (see picture). Do you get the same thing there?
Looking at the plugin page for mongodb-grafana on the grafana hosted site, it seems to be a mix of the official mongodb for enterprise users and this plugin (for example it shows all the versions for the enterprise edition but instructions for this external plugin). I wonder if that is causing an issue (but if it was wouldn't others be having the same issue?)
My Dockerfile:
FROM grafana/grafana
USER root
RUN apk update && \
apk upgrade && \
apk add --no-cache npm && \
wget https://github.com/JamesOsgood/mongodb-grafana/archive/master.tar.gz -O - | tar xz -C $GF_PATHS_PLUGINS && \
cd $GF_PATHS_PLUGINS/mongodb-grafana-master && \
npm install --silent && \
npm cache clean --force && \
echo "finished"
USER grafana
ENTRYPOINT ["/bin/sh", "-c" , "npm run server --prefix $GF_PATHS_PLUGINS/mongodb-grafana-master & /run.sh"]
from mongodb-grafana.
I have tried using the same with docker stack on the ubuntu server. This issue seems to be with the newer versions of grafana images.
However, for me, this plugin is working with grafana version 7.1.5.
Furthermore, I have checked with more latest versions one by one on the stable release of grafana and for up to Version 8.3.0, this plugin is working without any error as before.
You can check below in the screenshot, Select button is available in version 8.3.0
from mongodb-grafana.
Related Issues (20)
- Filtering values shows [Object object] HOT 2
- Comparison problems with Grafana variables
- Cannot read property getTime of undefined error HOT 3
- {"message":"Cannot read property 'url' of undefined"} on localhost:3333
- Does this plugin support a containerized setup? HOT 8
- Plugin disabled due to missing plugin signature HOT 1
- Is this project abandoned? HOT 16
- Multi-value variable HOT 1
- Has anyone managed to set the connection string to read only from a secondary node ?
- Why is there no .find()? HOT 1
- Error while installing Mongo Proxy npm install HOT 1
- Unsupported OP_QUERY command: aggregate. The client driver may require an upgrade. MongoDB 6.0.1 HOT 5
- Is $unwind supported?
- Request: Sign the plugin HOT 2
- Cannot add a datasource HOT 3
- Grafana Helm HOT 2
- Times out for mongodb://localhost:27017 HOT 1
- Regarding Bar Graph
- Migration from Angular to React
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongodb-grafana.