Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot add a datasource #138

Open
ktalebian opened this issue Feb 21, 2023 · 3 comments
Open

Cannot add a datasource #138

ktalebian opened this issue Feb 21, 2023 · 3 comments

Comments

@ktalebian
Copy link

I'm running Grafana OSS locally via Docker. I cloned this project in this location /opt/homebrew/Cellar/grafana/9.3.6/share/grafana/public/app/plugins/datasource/mongodb-grafana and restarted the app.

When I visit localhost:3000 to access Grafana and add a datasource, MongoDB shows up but it is not clickable - I cannot configure it.

What seems to be he issue?

@josephjacobmorris
Copy link

josephjacobmorris commented Feb 28, 2023

I am also facing the same issue, It is showing up in the grafana/grafana-oss:9.2.7 UI but on clicking nothing happens
image

My docker-compose.yml is like this :

  datastore:
    image: mongo
    ports:
      - 27017:27017
    volumes:
      - ./mongodb_data:/data/db
    restart: always


  grafana:
    image:
      joseph/grafana-mongodb:v1
    container_name: monitoring_grafana
    ports:
      - "3000:3000"
    restart: always
    env_file:
      - config.grafana

and the docker is built using this Dockerfile

FROM  grafana/grafana-oss:9.2.7

COPY ./grafana.ini /etc/grafana/grafana.ini

COPY ./mongodb-grafana /var/lib/grafana/plugins/

and in grafana.ini I have updated allow_loading_unsigned_plugins =grafana-mongodb-datasource to allow the unsigned plugin.

But Why I am not able to use this as datasource?

@CostasCF
Copy link

CostasCF commented Mar 14, 2023

same issue

Update:
Downgraded to 8.2.4 Grafana version, seems to be working

@denef
Copy link

denef commented Mar 19, 2023

You can go to plugins > MongoDB > "Create a MongoDB data source"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants