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
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
This feature adds a Project Config for the metrics to filter by Project
name and or clusters.
**Link to tracking Issue:** <Issue number if applicable>
open-telemetry#28865
**Testing:** <Describe what testing was performed and which tests were
added.>
- Added test for cluster filtering
- Tested project name alone, project name with IncludeClusters and
project name with ExcludeClusters on a live environment with success.
**Documentation:** <Describe the documentation added.>
Added optional project config fields to README
---------
Co-authored-by: Daniel Jaglowski <[email protected]>
-`granularity` (default `PT1M` - See [MongoDB Atlas Documentation](https://docs.atlas.mongodb.com/reference/api/process-measurements/))
43
43
-`collection_interval` (default `3m`) This receiver collects metrics on an interval. Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`.
44
44
-`storage` (optional) The component ID of a storage extension which can be used when polling for `alerts` or `events` . The storage extension prevents duplication of data after a collector restart by remembering which data were previously collected.
45
+
-`projects` (optional for metrics) a slice of projects this receiver collects metrics from instead of all projects in an organization
46
+
-`name` Name of the project to discover metrics from
47
+
-`include_clusters` (default empty, exclusive with `exclude_clusters`)
48
+
-`exclude_clusters` (default empty, exclusive with `include_clusters`)
49
+
- If both `include_clusters` and `exclude_clusters` are empty, then all clusters in the project will be included
0 commit comments