Skip to content

Commit

Permalink
Merge pull request #158 from newrelic/fix_mongo_sample_file
Browse files Browse the repository at this point in the history
fix mongodb config sample
  • Loading branch information
carlossscastro authored Feb 15, 2023
2 parents b8d6b62 + 2d5aaf0 commit bed587a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions exporters/mongodb3/mongodb3-config.yml.sample
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
integrations:
- name: nri-mongodb
- name: nri-mongodb3
config:
# User-defined name to uniquely identify the cluster being monitored. Required.
mongodb_cluster_name:
Expand All @@ -24,16 +24,16 @@ integrations:
collection_stats: true

# Enable/Disable collection of Index metrics
index_stats: false
index_stats: true

# Enable/Disable collection of Replica Set metrics
replicaset_stats: false
replicaset_stats: true

# Enable/Disable collection of Top Admin metrics
top_stats: false
top_stats: true

# Enable/Disable collection of Diagnostic metrics
diagnostic_stats: false
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
Expand Down

0 comments on commit bed587a

Please sign in to comment.