You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to map my existing MongoDB Atlas alerts to new relic alerts, but there appear to be some missing when I use the mongodb_exporter new relic integration. For example, in Atlas I can alert on:
but when I review the metrics available to me in New Relic using the new mongodb exporter integration these are not visible.
To Reproduce
Steps to reproduce the behavior:
what parameters are being passed to mongodb_exporter
integrations:
- name: nri-mongodb3
config:
# User-defined name to uniquely identify the cluster being monitored. Required.
mongodb_cluster_name: alert-poc-cls
# MongoDB connection URI. If used overwrites all other connection parameters.
mongodb_uri: mongodb+srv://<user>:<password>@my_atlas_cluster.teoz1.mongodb.net/?retryWrites=true&w=majority
# MongoDB direct connect. Whether or not a direct connect should be made.
# Direct connections are not valid if multiple hosts are specified or an SRV URI is used, for example for mongoDB Atlas.
mongodb_direct_connect: false
# List of comma separated databases.collections to retrieve collection stats.
collection_filters:
# List of comma separated databases.collections to retrieve index stats.
index_filters:
# Enable/Disable collection of Database metrics
database_stats: true
# Enable/Disable collection of Collections metrics
collection_stats: true
# Enable/Disable collection of Index metrics
index_stats: true
# Enable/Disable collection of Replica Set metrics
replicaset_stats: true
# Enable/Disable collection of Top Admin metrics
top_stats: true
# Enable/Disable collection of Diagnostic metrics
diagnostic_stats: true
# Port to expose scrape endpoint on, If this is not provided a random port will be used to launch the exporter
exporter_port: 9126
describe steps to reproduce the issue.
Log into new relic and connect to MongoDB infra running the exporter integration and review available metrics
Expected behavior
Within new relic using the mongodb3 integration I expect to see the same set of metrics that are visible to me within the MongoDB Atlas portal.
Logs
Please provide logs relevant to the issue
Environment
MongoDB atlas version 6.0.1
Additional context
Comment from new relic support: Basically this integration uses the mongodb prometheus exporter and it scrapes that exporter set up on the system running the infra agent for the metrics supported by the exporter. Due to this we believe that if the metric isn't listed in the above doc then its not being exporter via the open source exporter. See github for this exporter https://github.com/percona/mongodb_exporter. If you need an update to the metrics being returned from that exporter we suggest putting in an issue on their github page and once that has been implemented then we will get that update downstream and start pulling in that data.
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm trying to map my existing MongoDB Atlas alerts to new relic alerts, but there appear to be some missing when I use the mongodb_exporter new relic integration. For example, in Atlas I can alert on:
QUERY_TARGETING_SCANNED_OBJECTS_PER_RETURNED
QUERY_TARGETING_SCANNED_PER_RETURNED
OPLOG_SLAVE_LAG_MASTER_TIME
OPLOG_MASTER_LAG_TIME_DIFF
CONNECTIONS_PERCENT
but when I review the metrics available to me in New Relic using the new mongodb exporter integration these are not visible.
To Reproduce
Steps to reproduce the behavior:
mongodb_exporter
integrations:
- name: nri-mongodb3
config:
# User-defined name to uniquely identify the cluster being monitored. Required.
mongodb_cluster_name: alert-poc-cls
Log into new relic and connect to MongoDB infra running the exporter integration and review available metrics
Expected behavior
Within new relic using the mongodb3 integration I expect to see the same set of metrics that are visible to me within the MongoDB Atlas portal.
Logs
Please provide logs relevant to the issue
Environment
MongoDB atlas version 6.0.1
Additional context
Comment from new relic support: Basically this integration uses the mongodb prometheus exporter and it scrapes that exporter set up on the system running the infra agent for the metrics supported by the exporter. Due to this we believe that if the metric isn't listed in the above doc then its not being exporter via the open source exporter. See github for this exporter https://github.com/percona/mongodb_exporter. If you need an update to the metrics being returned from that exporter we suggest putting in an issue on their github page and once that has been implemented then we will get that update downstream and start pulling in that data.
The text was updated successfully, but these errors were encountered: