├── .config ├── .eslintrc ├── .prettierrc.js ├── Dockerfile ├── README.md ├── jest-setup.js ├── jest.config.js ├── jest │ ├── mocks │ │ └── react-inlinesvg.tsx │ └── utils.js ├── tsconfig.json ├── types │ └── custom.d.ts └── webpack │ ├── constants.ts │ ├── utils.ts │ └── webpack.config.ts ├── .eslintrc ├── .github └── workflows │ ├── build-plugin.yml │ ├── builder-images.yml │ └── ci.yml ├── .gitignore ├── .gitmodules ├── .nvmrc ├── .prettierrc.js ├── CHANGELOG.md ├── LICENSE ├── Magefile.go ├── README.md ├── TODO.md ├── docker-compose.yaml ├── e2e ├── e2e_suite_test.go └── e2e_test.go ├── examples ├── bare-metal │ ├── grafana.ini │ └── install.sh ├── docker-compose │ ├── bitnami │ │ └── docker-compose.yaml │ └── official │ │ └── docker-compose.yaml ├── docker │ ├── bitnami │ │ └── install.sh │ └── official │ │ └── install.sh ├── helm │ └── bitnami │ │ └── install.sh ├── kubectl │ ├── bitnami │ │ └── deployment.yaml │ └── official │ │ └── deployment.yaml └── test.sh ├── go.mod ├── go.sum ├── integration-test ├── .gitignore ├── dashboards │ ├── retweets.json │ ├── transactions.json │ └── weather.json ├── datasets │ ├── conversion_check.js │ ├── download │ │ └── .gitkeep │ ├── non_default_auth_source.js │ ├── transactions.sh │ ├── tweets.sh │ └── weather.js ├── datasources.yaml ├── grafana.ini ├── kind.config.template ├── mongodb-certs.yaml ├── queries │ ├── conversion_check │ │ └── table.json │ ├── tweets │ │ ├── table-inference.json │ │ ├── timeseries-auto-time-bound-end.json │ │ ├── timeseries-auto-time-bound-start.json │ │ ├── timeseries-auto-time-sort-time-bound-end.json │ │ ├── timeseries-auto-time-sort-time-bound-start.json │ │ └── timeseries.json │ └── weather │ │ ├── table.json │ │ ├── timeseries-date.json │ │ └── timeseries.json └── run.sh ├── jest-setup.js ├── jest.config.js ├── package.json ├── pkg ├── main.go └── plugin │ ├── datasource.go │ ├── documents.go │ ├── model.go │ ├── mongodb.go │ ├── mongodb_test.go │ ├── plugin.go │ ├── plugin_suite_test.go │ ├── plugin_test.go │ ├── schema.go │ └── types.go ├── src ├── ConfigEditor.tsx ├── QueryEditor.tsx ├── VariableQueryEditor.tsx ├── datasource.ts ├── img │ └── logo.svg ├── module.ts ├── plugin.json └── types.ts ├── tsconfig.json └── yarn.lock /.config/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.config/.eslintrc -------------------------------------------------------------------------------- /.config/.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.config/.prettierrc.js -------------------------------------------------------------------------------- /.config/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.config/Dockerfile -------------------------------------------------------------------------------- /.config/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.config/README.md -------------------------------------------------------------------------------- /.config/jest-setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.config/jest-setup.js -------------------------------------------------------------------------------- /.config/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.config/jest.config.js -------------------------------------------------------------------------------- /.config/jest/mocks/react-inlinesvg.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.config/jest/mocks/react-inlinesvg.tsx -------------------------------------------------------------------------------- /.config/jest/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.config/jest/utils.js -------------------------------------------------------------------------------- /.config/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.config/tsconfig.json -------------------------------------------------------------------------------- /.config/types/custom.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.config/types/custom.d.ts -------------------------------------------------------------------------------- /.config/webpack/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.config/webpack/constants.ts -------------------------------------------------------------------------------- /.config/webpack/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.config/webpack/utils.ts -------------------------------------------------------------------------------- /.config/webpack/webpack.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.config/webpack/webpack.config.ts -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./.config/.eslintrc" 3 | } -------------------------------------------------------------------------------- /.github/workflows/build-plugin.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.github/workflows/build-plugin.yml -------------------------------------------------------------------------------- /.github/workflows/builder-images.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.github/workflows/builder-images.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 16 -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/LICENSE -------------------------------------------------------------------------------- /Magefile.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/Magefile.go -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/TODO.md -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /e2e/e2e_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/e2e/e2e_suite_test.go -------------------------------------------------------------------------------- /e2e/e2e_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/e2e/e2e_test.go -------------------------------------------------------------------------------- /examples/bare-metal/grafana.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/examples/bare-metal/grafana.ini -------------------------------------------------------------------------------- /examples/bare-metal/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/examples/bare-metal/install.sh -------------------------------------------------------------------------------- /examples/docker-compose/bitnami/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/examples/docker-compose/bitnami/docker-compose.yaml -------------------------------------------------------------------------------- /examples/docker-compose/official/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/examples/docker-compose/official/docker-compose.yaml -------------------------------------------------------------------------------- /examples/docker/bitnami/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/examples/docker/bitnami/install.sh -------------------------------------------------------------------------------- /examples/docker/official/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/examples/docker/official/install.sh -------------------------------------------------------------------------------- /examples/helm/bitnami/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/examples/helm/bitnami/install.sh -------------------------------------------------------------------------------- /examples/kubectl/bitnami/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/examples/kubectl/bitnami/deployment.yaml -------------------------------------------------------------------------------- /examples/kubectl/official/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/examples/kubectl/official/deployment.yaml -------------------------------------------------------------------------------- /examples/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/examples/test.sh -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/go.sum -------------------------------------------------------------------------------- /integration-test/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/.gitignore -------------------------------------------------------------------------------- /integration-test/dashboards/retweets.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/dashboards/retweets.json -------------------------------------------------------------------------------- /integration-test/dashboards/transactions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/dashboards/transactions.json -------------------------------------------------------------------------------- /integration-test/dashboards/weather.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/dashboards/weather.json -------------------------------------------------------------------------------- /integration-test/datasets/conversion_check.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/datasets/conversion_check.js -------------------------------------------------------------------------------- /integration-test/datasets/download/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /integration-test/datasets/non_default_auth_source.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/datasets/non_default_auth_source.js -------------------------------------------------------------------------------- /integration-test/datasets/transactions.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/datasets/transactions.sh -------------------------------------------------------------------------------- /integration-test/datasets/tweets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/datasets/tweets.sh -------------------------------------------------------------------------------- /integration-test/datasets/weather.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/datasets/weather.js -------------------------------------------------------------------------------- /integration-test/datasources.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/datasources.yaml -------------------------------------------------------------------------------- /integration-test/grafana.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/grafana.ini -------------------------------------------------------------------------------- /integration-test/kind.config.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/kind.config.template -------------------------------------------------------------------------------- /integration-test/mongodb-certs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/mongodb-certs.yaml -------------------------------------------------------------------------------- /integration-test/queries/conversion_check/table.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/queries/conversion_check/table.json -------------------------------------------------------------------------------- /integration-test/queries/tweets/table-inference.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/queries/tweets/table-inference.json -------------------------------------------------------------------------------- /integration-test/queries/tweets/timeseries-auto-time-bound-end.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/queries/tweets/timeseries-auto-time-bound-end.json -------------------------------------------------------------------------------- /integration-test/queries/tweets/timeseries-auto-time-bound-start.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/queries/tweets/timeseries-auto-time-bound-start.json -------------------------------------------------------------------------------- /integration-test/queries/tweets/timeseries-auto-time-sort-time-bound-end.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/queries/tweets/timeseries-auto-time-sort-time-bound-end.json -------------------------------------------------------------------------------- /integration-test/queries/tweets/timeseries-auto-time-sort-time-bound-start.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/queries/tweets/timeseries-auto-time-sort-time-bound-start.json -------------------------------------------------------------------------------- /integration-test/queries/tweets/timeseries.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/queries/tweets/timeseries.json -------------------------------------------------------------------------------- /integration-test/queries/weather/table.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/queries/weather/table.json -------------------------------------------------------------------------------- /integration-test/queries/weather/timeseries-date.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/queries/weather/timeseries-date.json -------------------------------------------------------------------------------- /integration-test/queries/weather/timeseries.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/queries/weather/timeseries.json -------------------------------------------------------------------------------- /integration-test/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/integration-test/run.sh -------------------------------------------------------------------------------- /jest-setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/jest-setup.js -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/package.json -------------------------------------------------------------------------------- /pkg/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/pkg/main.go -------------------------------------------------------------------------------- /pkg/plugin/datasource.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/pkg/plugin/datasource.go -------------------------------------------------------------------------------- /pkg/plugin/documents.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/pkg/plugin/documents.go -------------------------------------------------------------------------------- /pkg/plugin/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/pkg/plugin/model.go -------------------------------------------------------------------------------- /pkg/plugin/mongodb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/pkg/plugin/mongodb.go -------------------------------------------------------------------------------- /pkg/plugin/mongodb_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/pkg/plugin/mongodb_test.go -------------------------------------------------------------------------------- /pkg/plugin/plugin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/pkg/plugin/plugin.go -------------------------------------------------------------------------------- /pkg/plugin/plugin_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/pkg/plugin/plugin_suite_test.go -------------------------------------------------------------------------------- /pkg/plugin/plugin_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/pkg/plugin/plugin_test.go -------------------------------------------------------------------------------- /pkg/plugin/schema.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/pkg/plugin/schema.go -------------------------------------------------------------------------------- /pkg/plugin/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/pkg/plugin/types.go -------------------------------------------------------------------------------- /src/ConfigEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/src/ConfigEditor.tsx -------------------------------------------------------------------------------- /src/QueryEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/src/QueryEditor.tsx -------------------------------------------------------------------------------- /src/VariableQueryEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/src/VariableQueryEditor.tsx -------------------------------------------------------------------------------- /src/datasource.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/src/datasource.ts -------------------------------------------------------------------------------- /src/img/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/src/img/logo.svg -------------------------------------------------------------------------------- /src/module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/src/module.ts -------------------------------------------------------------------------------- /src/plugin.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/src/plugin.json -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/src/types.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meln5674/grafana-mongodb-community-plugin/HEAD/yarn.lock --------------------------------------------------------------------------------