Component(s)
No response
What happened?
Description
I am using the mongodbatlasreceiver to scrape metrics. However, when I try to use either exclude_clusters or include_clusters for a specific project, the filtering does not work as expected.
- When I use exclude_clusters, I still receive metrics from all clusters in the project.
- When I use include_clusters with the name of a specific cluster, I do not receive metrics from any cluster in the project.
Steps to Reproduce
mongodb_atlas:
public_key:
private_key:
projects:
- name: "project-name-1"
exclude_clusters: ["cluster1"]
Expected Result
Metrics from cluster1 should not be exported.
Actual Result
Metrics from cluster1 are still being exported.
Collector version
0.145.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Component(s)
No response
What happened?
Description
I am using the mongodbatlasreceiver to scrape metrics. However, when I try to use either exclude_clusters or include_clusters for a specific project, the filtering does not work as expected.
Steps to Reproduce
Expected Result
Metrics from cluster1 should not be exported.
Actual Result
Metrics from cluster1 are still being exported.
Collector version
0.145.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it. Learn more here.