Giter VIP home page Giter VIP logo

nri-mongodb's Introduction

New Relic Open Source community plus project banner.

New Relic integration for MongoDB

This integration reports status and metrics for MongoDB service.

Support

This legacy integration is set to reach end-of-life in 2024: we'll add a specific EOL date when we know it. We recommend using our newer MongoDB integration. For information on switching from the legacy integration to the new one, see our migration docs.

Installation and usage

For installation and usage instructions, see our documentation web site.

Compatibility

  • Supported OS: No limitations
  • MongoDB versions: v3-v4

For support to MongoDB v5,v6 and Atlas you may need to install our new MongoDB integration currently in Public Preview

Building

Golang is required to build the integration. We recommend Golang 1.11 or higher.

After cloning this repository, go to the directory of the MongoDB integration and build it:

$ make

The command above executes the tests for the MongoDB integration and builds an executable file called nri-mongodb under the bin directory.

To start the integration, run nri-mongodb:

$ ./bin/nri-mongodb

If you want to know more about usage of ./bin/nri-mongodb, pass the -help parameter:

$ ./bin/nri-mongodb -help

Testing

To run the tests execute:

$ make test

Support

Should you need assistance with New Relic products, you are in good hands with several support diagnostic tools and support channels.

This troubleshooting framework steps you through common troubleshooting questions.

New Relic offers NRDiag, a client-side diagnostic utility that automatically detects common problems with New Relic agents. If NRDiag detects a problem, it suggests troubleshooting steps. NRDiag can also automatically attach troubleshooting data to a New Relic Support ticket.

If the issue has been confirmed as a bug or is a Feature request, please file a Github issue.

Support Channels

Privacy

At New Relic we take your privacy and the security of your information seriously, and are committed to protecting your information. We must emphasize the importance of not sharing personal data in public forums, and ask all users to scrub logs and diagnostic information for sensitive information, whether personal, proprietary, or otherwise.

We define “Personal Data” as any information relating to an identified or identifiable individual, including, for example, your name, phone number, post code or zip code, Device ID, IP address, and email address.

For more information, review New Relic’s General Data Privacy Notice.

Contribute

We encourage your contributions to improve this project! Keep in mind that when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. You only have to sign the CLA one time per project.

If you have any questions, or to execute our corporate CLA (which is required if your contribution is on behalf of a company), drop us an email at [email protected].

A note about vulnerabilities

As noted in our security policy, New Relic is committed to the privacy and security of our customers and their data. We believe that providing coordinated disclosure by security researchers and engaging with the security community are important means to achieve our security goals.

If you believe you have found a security vulnerability in this project or any of New Relic's products or websites, we welcome and greatly appreciate you reporting it to New Relic through HackerOne.

If you would like to contribute to this project, review these guidelines.

To all contributors, we thank you! Without your contribution, this project would not be what it is today.

License

nri-mongodb is licensed under the MIT License.

nri-mongodb's People

Contributors

alejandrodnm avatar alvarocabanas avatar arvdias avatar brushknight avatar camdencheek avatar carlosroman avatar carlossscastro avatar cpheps avatar cristianciutea avatar davidgit avatar davidvak avatar fryckbos avatar gsanchezgavier avatar jfjoly avatar kang-makes avatar lchapman4 avatar mangulonr avatar marcsanmi avatar mariomac avatar matiasburni avatar paologallinaharbur avatar renovate[bot] avatar rhullah avatar roobre avatar sigilioso avatar tanben avatar tangollama avatar wildcardlinux avatar xino12 avatar zackkendra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nri-mongodb's Issues

Panic when `top` command has non-standard keys

Description of the problem

When the keys from the top command are not of the form <database>.<collection>, the integration fails because it attempts to split on . and take indices 0 and 1. We should handle this more gracefully, either logging and skipping or fililng in the database and collection with dummy values.

src/entities/collect.go

174   for key, collectionStats := range topMetrics.Totals {
175     splitKey := strings.SplitN(key, ".", 2)
176     databaseName := splitKey[0]
177     collectionName := splitKey[1]
178
179     ms := e.NewMetricSet("MongodTopSample",
180       metric.Attribute{Key: "displayName", Value: e.Metadata.Name},
181       metric.Attribute{Key: "entityName", Value: fmt.Sprintf("%s:%s", e.Metadata.Namespace, e.Metadata.Name)},
182       metric.Attribute{Key: "database", Value: databaseName},
183       metric.Attribute{Key: "collection", Value: collectionName},
184     )
185
186     logError(ms.MarshalMetrics(collectionStats), "Marshal metrics on top failed: %v")
187
188   }
OS
  • All of them
  • Amazon Linux, all versions
  • CentOS, version 6 or higher
  • Debian, version 7 ("Wheezy") or higher
  • Red Hat Enterprise Linux (RHEL), version 6 or higher
  • Ubuntu, versions 12.04, 14.04, and 16.04 (LTS versions)
  • Windows Server, 2008 and 2012 and their service packs

Monitor standalone instances gracefully

Description of the problem

Currently, the integration litters the logs with errors when a standalone instance is monitored rather than a cluster. Additionally, documentation doesn't clearly describe the differences in metric collection when monitoring a standalone instance.

OS
  • All of them
  • Amazon Linux, all versions
  • CentOS, version 6 or higher
  • Debian, version 7 ("Wheezy") or higher
  • Red Hat Enterprise Linux (RHEL), version 6 or higher
  • Ubuntu, versions 12.04, 14.04, and 16.04 (LTS versions)
  • Windows Server, 2008 and 2012 and their service packs

Fail to connect to Mongos on Sharded cluster in K8s

When monitoring a sharded clusters in K8s the integration fails to discover the mongos endpoint and no MongosSample is generated.

Description

Mongos metrics collection endpoints are discovered in the integration but in K8s the Id on collections.config.mongos contains the Pod name which cannot be resolved by the integration.

Expected Behavior

Support native mongos autodiscovery for K8s environments

Steps to Reproduce

Using bitnami mongo-sharded chart and configured the integration with discovery to the mongos pod

nri-mongodb:
        discovery:
          command:
            exec: /var/db/newrelic-infra/nri-discovery-kubernetes --port 10250 --tls
            match:
              label.app.kubernetes.io/component: mongos
        integrations:
          - name: nri-mongodb
            env:
              HOST: ${discovery.ip}
              ...

The integrations prints the error like:
[ERR] Failed to connect to mongos server <mongos-pod-name>:27017: no reachable servers

Your Environment

Additional context

I workaround this by using creating a service in the Agent namespace that points to the mongos instance and which have the same name of the mongos pod (using StatefulSet kind to deploy mongos to have predictable pod names). But this was just for the propose of validate the issue.

Can't connect to Mongodb 5.x

I get following error in logs
Failed to create session: server returned error on SASL authentication step: BSON field 'saslContinue.mechanism' is an unknown field."

I think the problem is with old drivers.

[Repolinter] Open Source Policy Issues

Repolinter Report

🤖This issue was automatically generated by repolinter-action, developed by the Open Source and Developer Advocacy team at New Relic. This issue will be automatically updated or closed when changes are pushed. If you have any problems with this tool, please feel free to open a GitHub issue or give us a ping in #help-opensource.

This Repolinter run generated the following results:

❗ Error ❌ Fail ⚠️ Warn ✅ Pass Ignored Total
0 0 0 7 0 7

Passed #

Click to see rules

license-file-exists #

Found file (LICENSE). New Relic requires that all open source projects have an associated license contained within the project. This license must be permissive (e.g. non-viral or copyleft), and we recommend Apache 2.0 for most use cases. For more information please visit https://docs.google.com/document/d/1vML4aY_czsY0URu2yiP3xLAKYufNrKsc7o4kjuegpDw/edit.

readme-file-exists #

Found file (README.md). New Relic requires a README file in all projects. This README should give a general overview of the project, and should point to additional resources (security, contributing, etc.) where developers and users can learn further. For more information please visit https://github.com/newrelic/open-by-default.

readme-starts-with-community-plus-header #

The first 5 lines contain all of the requested patterns. (README.md). The README of a community plus project should have a community plus header at the start of the README. If you already have a community plus header and this rule is failing, your header may be out of date, and you should update your header with the suggested one below. For more information please visit https://opensource.newrelic.com/oss-category/.

readme-contains-link-to-security-policy #

Contains a link to the security policy for this repository (README.md). New Relic recommends putting a link to the open source security policy for your project (https://github.com/newrelic/<repo-name>/security/policy or ../../security/policy) in the README. For an example of this, please see the "a note about vulnerabilities" section of the Open By Default repository. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.

readme-contains-forum-topic #

Contains a link to the appropriate forum.newrelic.com topic (README.md). New Relic recommends directly linking the your appropriate forum.newrelic.com topic in the README, allowing developer an alternate method of getting support. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.

code-of-conduct-should-not-exist-here #

New Relic has moved the CODE_OF_CONDUCT file to a centralized location where it is referenced automatically by every repository in the New Relic organization. Because of this change, any other CODE_OF_CONDUCT file in a repository is now redundant and should be removed. Note that you will need to adjust any links to the local CODE_OF_CONDUCT file in your documentation to point to the central file (README and CONTRIBUTING will probably have links that need updating). For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view. Did not find a file matching the specified patterns. All files passed this test.

third-party-notices-file-exists #

Found file (THIRD_PARTY_NOTICES.md). A THIRD_PARTY_NOTICES.md file can be present in your repository to grant attribution to all dependencies being used by this project. This document is necessary if you are using third-party source code in your project, with the exception of code referenced outside the project's compiled/bundled binary (ex. some Java projects require modules to be pre-installed in the classpath, outside the project binary and therefore outside the scope of the THIRD_PARTY_NOTICES). Please review your project's dependencies and create a THIRD_PARTY_NOTICES.md file if necessary. For JavaScript projects, you can generate this file using the oss-cli. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.

Authentication Failure with Scram and MongoDB 4.2.6

Description

When implementing the MongoDB integration for New Relic, I get an authentication failure when using any credentials using SCRAM. The same credentials works both in the MongoDB service and in the individual pods. I'm able to get all the databases and collections needed based on the role and user to add for New Relic to work properly.

Expected Behavior

The authentication should be working in the integration if it is working both on the service and the individual replicas.

NR Diag

time="2022-03-11T19:11:15Z" level=warning msg="integration exited with error state" component=integrations.runner.Runner env=azure error="exit status 1" integration_name=nri-mongodb stderr="[INFO] Collecting all collections for database 'test'\n[ERR] Failed to create session: server returned error on SASL authentication step: Authentication failed."

Steps to Reproduce

  1. Install the MongoDB community operator then a replica set on K8S.
  2. Create the NR user along with the necessary roles.
  3. Install the nri-bundle helm chart and ensure those values are included:
    - name: mongodb-config.yml data: discovery: command: exec: /var/db/newrelic-infra/nri-discovery-kubernetes --namespaces mongodb --port 10250 --tls match: label.app: mongodb-replica-svc integrations: - name: nri-mongodb env: HOST: ${discovery.ip} PORT: 27017 USERNAME: newrelic PASSWORD: *** AUTH_SOURCE: admin MONGODB_CLUSTER_NAME: abc FILTERS: '{"test":null}' labels: env: dev

This fails, but mongodb://newrelic:***@localhost:27017/admin?authSource=admin&readPreference=primary&appname=MongoDB%20Compass&directConnection=true&ssl=false works without any issues. The password is the same.

Your Environment

I'm using the latest helm chart version of the helm nri-bundle helm chart as well as the mongodb community operator. Kubernetes version is 1.21.

Add support for SCRAM-SHA-256 authentication

Is your feature request related to a problem? Please describe.

Integration fails due to no mongo 4+ SCRAM-SHA-256 authentication support. I've found that the driver you all use has yet to enable support for SCRAM-SHA-256 authentication as well. There's an existing pr (stale - 2+ years old) in the driver repo you all use. I understand that this will need to be done first in order to enable here, so I'm curious and asking if the mgo feature is completed would you all be willing to support it.

Feature Description

Enable mongo 4+ SCRAM-SHA-256 authentication mechanism

Describe Alternatives

n/a

Additional context

Existing mgo pr seeking support for completion

Priority

Blocker

[Repolinter] Open Source Policy Issues

Repolinter Report

🤖This issue was automatically generated by repolinter-action, developed by the Open Source and Developer Advocacy team at New Relic. This issue will be automatically updated or closed when changes are pushed. If you have any problems with this tool, please feel free to open a GitHub issue or give us a ping in #help-opensource.

This Repolinter run generated the following results:

❗ Error ❌ Fail ⚠️ Warn ✅ Pass Ignored Total
0 2 0 5 0 7

Fail #

readme-starts-with-community-plus-header #

The README of a community plus project should have a community plus header at the start of the README. If you already have a community plus header and this rule is failing, your header may be out of date, and you should update your header with the suggested one below. For more information please visit https://opensource.newrelic.com/oss-category/. Below is a list of files or patterns that failed:

  • README.md: The first 5 lines do not contain the pattern(s): Open source Community Plus header (see https://opensource.newrelic.com/oss-category).
    • 🔨 Suggested Fix: prepend [![Community Plus header](https://github.com/newrelic/opensource-website/raw/master/src/images/categories/Community_Plus.png)](https://opensource.newrelic.com/oss-category/#community-plus) to file

code-of-conduct-should-not-exist-here #

New Relic has moved the CODE_OF_CONDUCT file to a centralized location where it is referenced automatically by every repository in the New Relic organization. Because of this change, any other CODE_OF_CONDUCT file in a repository is now redundant and should be removed. Note that you will need to adjust any links to the local CODE_OF_CONDUCT file in your documentation to point to the central file (README and CONTRIBUTING will probably have links that need updating). For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view. Found files. Below is a list of files or patterns that failed:

  • CODE_OF_CONDUCT.md
    • 🔨 Suggested Fix: Remove file

Passed #

Click to see rules

license-file-exists #

Found file (LICENSE). New Relic requires that all open source projects have an associated license contained within the project. This license must be permissive (e.g. non-viral or copyleft), and we recommend Apache 2.0 for most use cases. For more information please visit https://docs.google.com/document/d/1vML4aY_czsY0URu2yiP3xLAKYufNrKsc7o4kjuegpDw/edit.

readme-file-exists #

Found file (README.md). New Relic requires a README file in all projects. This README should give a general overview of the project, and should point to additional resources (security, contributing, etc.) where developers and users can learn further. For more information please visit https://github.com/newrelic/open-by-default.

readme-contains-link-to-security-policy #

Contains a link to the security policy for this repository (README.md). New Relic recommends putting a link to the open source security policy for your project (https://github.com/newrelic/<repo-name>/security/policy or ../../security/policy) in the README. For an example of this, please see the "a note about vulnerabilities" section of the Open By Default repository. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.

readme-contains-discuss-topic #

Contains a link to the appropriate discuss.newrelic.com topic (README.md). New Relic recommends directly linking the your appropriate discuss.newrelic.com topic in the README, allowing developer an alternate method of getting support. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.

third-party-notices-file-exists #

Found file (THIRD_PARTY_NOTICES.md). A THIRD_PARTY_NOTICES.md file can be present in your repository to grant attribution to all dependencies being used by this project. This document is necessary if you are using third-party source code in your project, with the exception of code referenced outside the project's compiled/bundled binary (ex. some Java projects require modules to be pre-installed in the classpath, outside the project binary and therefore outside the scope of the THIRD_PARTY_NOTICES). Please review your project's dependencies and create a THIRD_PARTY_NOTICES.md file if necessary. For JavaScript projects, you can generate this file using the oss-cli. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.

Add Flag to Disable MongoTopSample

Is your feature request related to a problem? Please describe.

CPU and Memory Usage for nri-mongodb seems very high due to collectTop / MongoTopSample

Feature Description

Add flag to disable collectTop / MongoTopSample

Additional context

We have added the nri-mongodb integration on our Servers. CPU and Memory Usage for nri-mongodb seems very high and the amount of data being sent to New Relic is also high.

Is there currently a way to disable collectTop that generates MongodTopSample? Or something someone can add easily? Or is this something we should look into adding and submitting a pull request for?

We are already excluding ingest of this data but dont want to keep collecting them on the server side as it seems to use alot of CPU and Mem resources.

We really only need Cluster Health related metrics, the rest we can debug manually on servers. Its nice to have on New Relic side but ingest amount seems extremely high and CPY and Mem usage also seem high.

Priority

Really Want

[Repolinter] Open Source Policy Issues

Repolinter Report

🤖This issue was automatically generated by repolinter-action, developed by the Open Source and Developer Advocacy team at New Relic. This issue will be automatically updated or closed when changes are pushed. If you have any problems with this tool, please feel free to open a GitHub issue or give us a ping in #help-opensource.

This Repolinter run generated the following results:

❗ Error ❌ Fail ⚠️ Warn ✅ Pass Ignored Total
0 0 0 7 0 7

Passed #

Click to see rules

license-file-exists #

Found file (LICENSE). New Relic requires that all open source projects have an associated license contained within the project. This license must be permissive (e.g. non-viral or copyleft), and we recommend Apache 2.0 for most use cases. For more information please visit https://docs.google.com/document/d/1vML4aY_czsY0URu2yiP3xLAKYufNrKsc7o4kjuegpDw/edit.

readme-file-exists #

Found file (README.md). New Relic requires a README file in all projects. This README should give a general overview of the project, and should point to additional resources (security, contributing, etc.) where developers and users can learn further. For more information please visit https://github.com/newrelic/open-by-default.

readme-starts-with-community-plus-header #

The first 5 lines contain all of the requested patterns. (README.md). The README of a community plus project should have a community plus header at the start of the README. If you already have a community plus header and this rule is failing, your header may be out of date, and you should update your header with the suggested one below. For more information please visit https://opensource.newrelic.com/oss-category/.

readme-contains-link-to-security-policy #

Contains a link to the security policy for this repository (README.md). New Relic recommends putting a link to the open source security policy for your project (https://github.com/newrelic/<repo-name>/security/policy or ../../security/policy) in the README. For an example of this, please see the "a note about vulnerabilities" section of the Open By Default repository. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.

readme-contains-discuss-topic #

Contains a link to the appropriate discuss.newrelic.com topic (README.md). New Relic recommends directly linking the your appropriate discuss.newrelic.com topic in the README, allowing developer an alternate method of getting support. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.

code-of-conduct-should-not-exist-here #

New Relic has moved the CODE_OF_CONDUCT file to a centralized location where it is referenced automatically by every repository in the New Relic organization. Because of this change, any other CODE_OF_CONDUCT file in a repository is now redundant and should be removed. Note that you will need to adjust any links to the local CODE_OF_CONDUCT file in your documentation to point to the central file (README and CONTRIBUTING will probably have links that need updating). For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view. Did not find a file matching the specified patterns. All files passed this test.

third-party-notices-file-exists #

Found file (THIRD_PARTY_NOTICES.md). A THIRD_PARTY_NOTICES.md file can be present in your repository to grant attribution to all dependencies being used by this project. This document is necessary if you are using third-party source code in your project, with the exception of code referenced outside the project's compiled/bundled binary (ex. some Java projects require modules to be pre-installed in the classpath, outside the project binary and therefore outside the scope of the THIRD_PARTY_NOTICES). Please review your project's dependencies and create a THIRD_PARTY_NOTICES.md file if necessary. For JavaScript projects, you can generate this file using the oss-cli. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.

[Repolinter] Open Source Policy Issues

Repolinter Report

🤖This issue was automatically generated by repolinter-action, developed by the Open Source and Developer Advocacy team at New Relic. This issue will be automatically updated or closed when changes are pushed. If you have any problems with this tool, please feel free to open a GitHub issue or give us a ping in #help-opensource.

This Repolinter run generated the following results:

❗ Error ❌ Fail ⚠️ Warn ✅ Pass Ignored Total
0 1 0 6 0 7

Fail #

readme-starts-with-community-plus-header #

The README of a community plus project should have a community plus header at the start of the README. If you already have a community plus header and this rule is failing, your header may be out of date, and you should update your header with the suggested one below. For more information please visit https://opensource.newrelic.com/oss-category/. Below is a list of files or patterns that failed:

  • README.md: The first 5 lines do not contain the pattern(s): Open source Community Plus header (see https://opensource.newrelic.com/oss-category).
    • 🔨 Suggested Fix: prepend [![Community Plus header](https://github.com/newrelic/opensource-website/raw/master/src/images/categories/Community_Plus.png)](https://opensource.newrelic.com/oss-category/#community-plus) to file

Passed #

Click to see rules

license-file-exists #

Found file (LICENSE). New Relic requires that all open source projects have an associated license contained within the project. This license must be permissive (e.g. non-viral or copyleft), and we recommend Apache 2.0 for most use cases. For more information please visit https://docs.google.com/document/d/1vML4aY_czsY0URu2yiP3xLAKYufNrKsc7o4kjuegpDw/edit.

readme-file-exists #

Found file (README.md). New Relic requires a README file in all projects. This README should give a general overview of the project, and should point to additional resources (security, contributing, etc.) where developers and users can learn further. For more information please visit https://github.com/newrelic/open-by-default.

readme-contains-link-to-security-policy #

Contains a link to the security policy for this repository (README.md). New Relic recommends putting a link to the open source security policy for your project (https://github.com/newrelic/<repo-name>/security/policy or ../../security/policy) in the README. For an example of this, please see the "a note about vulnerabilities" section of the Open By Default repository. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.

readme-contains-discuss-topic #

Contains a link to the appropriate discuss.newrelic.com topic (README.md). New Relic recommends directly linking the your appropriate discuss.newrelic.com topic in the README, allowing developer an alternate method of getting support. For more information please visit https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code.

code-of-conduct-should-not-exist-here #

New Relic has moved the CODE_OF_CONDUCT file to a centralized location where it is referenced automatically by every repository in the New Relic organization. Because of this change, any other CODE_OF_CONDUCT file in a repository is now redundant and should be removed. Note that you will need to adjust any links to the local CODE_OF_CONDUCT file in your documentation to point to the central file (README and CONTRIBUTING will probably have links that need updating). For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view. Did not find a file matching the specified patterns. All files passed this test.

third-party-notices-file-exists #

Found file (THIRD_PARTY_NOTICES.md). A THIRD_PARTY_NOTICES.md file can be present in your repository to grant attribution to all dependencies being used by this project. This document is necessary if you are using third-party source code in your project, with the exception of code referenced outside the project's compiled/bundled binary (ex. some Java projects require modules to be pre-installed in the classpath, outside the project binary and therefore outside the scope of the THIRD_PARTY_NOTICES). Please review your project's dependencies and create a THIRD_PARTY_NOTICES.md file if necessary. For JavaScript projects, you can generate this file using the oss-cli. For more information please visit https://docs.google.com/document/d/1y644Pwi82kasNP5VPVjDV8rsmkBKclQVHFkz8pwRUtE/view.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
tests/integration/docker-compose.yml
  • docker.io/bitnami/mongodb-sharded 3.6
  • docker.io/bitnami/mongodb-sharded 3.6
  • docker.io/bitnami/mongodb-sharded 3.6
dockerfile
build/Dockerfile
  • golang 1.21.3-bookworm
tests/integration/Dockerfile
  • golang 1.21.3-bookworm
github-actions
.github/workflows/prerelease.yml
  • actions/checkout v2
  • docker/login-action v1
  • actions/checkout v2
  • docker/login-action v1
  • actions/checkout v2
  • actions/setup-go v3
  • actions/checkout v2
  • actions/setup-go v3
  • docker/login-action v1
  • actions/checkout v2
  • docker/login-action v1
  • newrelic/integrations-pkg-test-action v1
  • actions/checkout v2
  • newrelic/integrations-pkg-test-action v1
  • docker/login-action v1
  • newrelic/infrastructure-publish-action v1
  • newrelic/integrations-pkg-test-action v1
  • ubuntu 22.04
  • ubuntu 22.04
  • windows 2022
  • ubuntu 22.04
  • ubuntu 22.04
  • windows 2022
  • ubuntu 22.04
.github/workflows/push_pr.yml
  • actions/checkout v2
  • newrelic/newrelic-infra-checkers v1
  • golangci/golangci-lint-action v3
  • newrelic/release-toolkit v1
  • actions/checkout v2
  • docker/login-action v1
  • actions/checkout v2
  • docker/login-action v1
  • actions/checkout v2
  • actions/setup-go v3
  • actions/checkout v2
  • actions/setup-go v3
  • docker/login-action v1
  • actions/checkout v2
  • docker/login-action v1
  • ubuntu 22.04
  • ubuntu 22.04
  • ubuntu 22.04
  • windows 2022
  • ubuntu 22.04
  • ubuntu 22.04
.github/workflows/release.yml
  • docker/login-action v1
  • newrelic/infrastructure-publish-action v1
  • newrelic/integrations-pkg-test-action v1
  • ubuntu 22.04
.github/workflows/repolinter.yml
  • actions/github-script v2
  • actions/checkout v2
  • newrelic/repolinter-action v1
.github/workflows/security.yml
  • actions/checkout v3
  • aquasecurity/trivy-action 0.12.0
  • aquasecurity/trivy-action 0.12.0
  • github/codeql-action v2
.github/workflows/trigger_prerelease.yml
  • newrelic/coreint-automation v1
gomod
go.mod
  • go 1.21
  • github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8@eeefdecb41b8
  • github.com/newrelic/infra-integrations-sdk v3.7.3+incompatible
  • github.com/stretchr/testify v1.8.4
  • github.com/xeipuuv/gojsonschema v1.2.0

  • Check this box to trigger a request for Renovate to run again on this repository

Can we use this repo to config Mongo atlas integrate with New Relic

I'm try to integrate MR and MongoDB atlas by using this repo. I have renamed mongodb-atlas-config.yml and added required configurations. But getting below error when try to execute.

[ERR] Invalid arguments: Must supply a cluster name to identify this Mongodb cluster. Use MongodbClusterName config parameter

Could you please share guidance to configure

Thanks
Tharindu

MongoTopSample missing from Documentation

Description of the problem

The MongodTopSample is missing from documentation.

OS
  • All of them
  • Amazon Linux, all versions
  • CentOS, version 6 or higher
  • Debian, version 7 ("Wheezy") or higher
  • Red Hat Enterprise Linux (RHEL), version 6 or higher
  • Ubuntu, versions 12.04, 14.04, and 16.04 (LTS versions)
  • Windows Server, 2008 and 2012 and their service packs

Default Dashboard Issue

Description

The default dashboard for MongoDB in NROne has several widgets querying against MongoSample, which results in empty/blank charts.

Steps to Reproduce

Navigate to Infrastructure >> Third-party services >> MongoDB Dashboard in NROne

MongoDB Atlas

Our Documentation says: MongoDB Atlas is supported for tiers M10 and above.

However, it has been reported that in general we do not have enough documentation for that.

We should test the whole solution again, verify any limitation and improve the documentation.

Support multiple instance scrape in the same cluster

Is your feature request related to a problem? Please describe.

On multi-instance cluster the integration needs to point to one instance and metrics from all the instances are collected. This is a good feature but if the configured instance is down there will be no metrics collected.

Feature Description

Add a flag like MasterOnly that if true will only collect metrics if the current instance is the Master instance. With this flag, multiple instance of the integration can be configured to point all instances of the cluster.
Similar approach as nri-elasticsearch.

Describe Alternatives

A clear and concise description of any alternative solutions or features you've considered. Are there examples you could link us to?

Additional context

Add any other context here.

Priority

Please help us better understand this feature request by choosing a priority from the following options:
[Nice to Have, Really Want, Must Have, Blocker]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.