I need to deploy Grafana on docker for my on prem infra.Then i need to connect Mongo db for dashboard integration but option to connect Mongo db is not available. Once I add the plugins explicitly than after providing Mongo DB details it is showing licens

  • What Grafana version and what operating system are you using?

  • What are you trying to achieve?- I need to deploy Grafana on docker for my on prem infra.Then i need to connect Mongo db for dashboard integration but option to connect Mongo db is not available. Once I add the plugins explicitly than after providing Mongo DB details it is showing licens

  • How are you trying to achieve it?-
    by using docker command
    docker pull grafana/grafana

docker run -d -p 3000:3000 --name=grafana
-e “GF_DATABASE_TYPE=mongodb”
-e “GF_DATABASE_URL=<mongodb_connection_url>”
-e “GF_DATABASE_NAME=<mongodb_database_name>”
-e “GF_DATABASE_USER=<mongodb_username>”
-e “GF_DATABASE_PASSWORD=<mongodb_password>”
grafana/grafana

  • What happened? getting error- Enterprise License Error
    The Enterprise data source grafana-mongodb-datasource is not available with your current subscription. To activate this data source, please upgrade your plan by visiting Grafana Pricing | Free, Pro, Advanced, Enterprise
    Details
    license token file not found: /var/lib/grafana/license.jwt

  • What did you expect to happen?

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?