
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
github.com/valiton/grafana-mongodb-atlas-datasource
MongoDB Atlas allows to fetch logs from their service. More information can be found here: https://docs.atlas.mongodb.com/reference/api/logs/
This plugin allows to fetch process, database and disk logs from MongoDB Atlas in your Grafana dashboard. This allows you to monitor your whole MongoDB Atlas infrastructure within your grafana dashboards.
Important Note:
grafana-mongodb-atlas-datasource
is renamed tomongodb-atlas-datasource
. Please update the import command correspondingly or stay with v1
You can load the latest plugin version with the following command:
grafana-cli --pluginUrl https://github.com/valiton/grafana-mongodb-atlas-datasource/releases/v2.0.0/download/mongodb-atlas-datasource.zip plugins install mongodb-atlas-datasource
Please note that we currently only build for linux. If you have a windows machine, then you have to update the Makefile accordingly
For docker setup add the following environment variable to automatically install the plugin:
docker run -p 3000:3000 \
-e GF_INSTALL_PLUGINS="https://github.com/valiton/grafana-mongodb-atlas-datasource/releases/download/v2.0.0/mongodb-atlas-datasource.zip;mongodb-atlas-datasource" \
-e "GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=mongodb-atlas-datasource" \
grafana/grafana
For more information about the plugin installation have a look at the plugin official documentation.
This plugin requires node > 8.10 and dep
npm install # install JavaScript dependencies
dep ensure # install go dependencies
make # build JavaScript frontend and Go backend
After installing the datasource in Grafana (see Grafana Setup section), you can create a Grafana datasource.
Please enter here your Atlas email address and the Atlas API token in the two input fields and click on enter. If the credentials are valid, you will see a green info box. For more information, have a look at the MongoDB Atlas documentation to create these credentials.
After setting up the datasource, you are able to create a query for a Grafana panel. You have to first select here the project you want to monitor and the cluster. After that, you can select one of three different metrics:
Next, you are asked different other parameters, such as the database name and then you can select the dimension you want to display in the query. To name the query, please use the alias
input. You can use {{name}}
to use metrics or dimensions for the name (see hint field of alias
for more information).
Pull requests for new features, bug fixes, and suggestions are welcome!
1. Add Release Notes to Changelog in README.md
2. Update version in src/plugin.json
3. Update package.json version
4. Create Tag with format vx.y.z
We use semversion format for tagging the releases.´
5. Create Relase Zip
make
zip -r mongodb-atlas-datasource.zip ./dist
6. Create Release with zip files as attachment
see https://help.github.com/en/articles/creating-releases for more information
1.0.0 - Initial release
Support for process, database and disk logs
1.0.1 - Remove empty data points from atlas logs
The logs by Atlas contain a lot of datapoints with null values. They were removed with this release.
1.0.2 - Rename Email / API Token to Public Key / Private Key
API keys aren't bound to accounts anymore: MongoDB deprecated the Personal API Keys in favor of the Programmatic API Keys.
1.0.3 - Support Other Timezones
1.0.4 - Fix alerting errors
https://github.com/valiton/grafana-mongodb-atlas-datasource/pull/15
1.1.0 - Fix alerting errors https://github.com/valiton/grafana-mongodb-atlas-datasource/commit/8efac61b1d1eb7915373028e2f98986c2c42923a
2.0.0 Add Metric & Improve Documentation
grafana-mongodb-atlas-datasource
to mongodb-atlas-datasource
: Required to sign the pluginFAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.