meln5674 / grafana-mongodb-community-plugin

Open Source Grafana Plugin for querying MongoDB
GNU Affero General Public License v3.0
130 stars 17 forks source link

SSL support #8

Closed rajeshggwp closed 1 year ago

rajeshggwp commented 1 year ago

support SSL mode when connecting to mongodb

meln5674 commented 1 year ago

Working on it

rajeshggwp commented 1 year ago

Thank you @meln5674! let me know if you need help with testing

meln5674 commented 1 year ago

I've created this release candidate. I've done some tests against some dummy DB's, but if you could confirm it works in your environment, that'd be appreciated.

rajeshggwp commented 1 year ago

This was really quick! I'm able to connect to mongodb with SSL however TLS CA field(textbox) does not let me type or copy paste any values in it.

meln5674 commented 1 year ago

Huh. That's what I get for doing all automated tests with pre-provisioned datasources. I'll try and figure out why that's happening. In the meantime, check here for examples of how to set up a datasource for it without the UI.

meln5674 commented 1 year ago

Well, now I just feel silly. Single-character typo. I suppose that's javascript for you. New RC here

rajeshggwp commented 1 year ago

Thanks @meln5674! I too realized it. let me quickly test this out

rajeshggwp commented 1 year ago

It's working now! This should be good for me to start with. When can I expect this RC to be rolled out?

meln5674 commented 1 year ago

I generally cut a new release after each fix. I'll go ahead and close this and if you encounter any issues, go ahead and create a new issue.