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
|1| The profiler collects data for operations that take longer than the value of `slowms` or that match a filter.<br> When a filter is set: <ul><li> The `slowms` and `sampleRate` options are not used for profiling.</li><li>The profiler only captures operations that match the filter.</li></ul>
129
129
|2|The profiler collects data for all operations.|
130
130
131
+
#### Enabling shards metrics gathering
132
+
When shard metrics collection is enabled by `--collector.shards`, the exporter will expose metrics related to sharded Mongo.
133
+
Example, if shards collector is enabled:
134
+
```
135
+
# HELP mongodb_shards_collection_chunks_count sharded collection chunks.
136
+
# TYPE mongodb_shards_collection_chunks_count counter
0 commit comments