Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[receiver/mongodbatlasreceiver] add metrics project config #28866

Conversation

JonathanWamsley
Copy link
Contributor

Description:

This feature adds a Project Config for the metrics to filter by Project name and or clusters.

Link to tracking Issue:
#28865

Testing:

  • 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:
Added optional project config fields to README

@JonathanWamsley JonathanWamsley marked this pull request as ready for review November 2, 2023 15:59
@JonathanWamsley JonathanWamsley requested a review from a team November 2, 2023 15:59
receiver/mongodbatlasreceiver/receiver.go Outdated Show resolved Hide resolved
receiver/mongodbatlasreceiver/receiver_test.go Outdated Show resolved Hide resolved
receiver/mongodbatlasreceiver/receiver_test.go Outdated Show resolved Hide resolved
@JonathanWamsley
Copy link
Contributor Author

Hey @dehaansa and @fatsheep9146 , PR feedback has been applied and it is ready to be looked at again! Thanks 🙏

@fatsheep9146
Copy link
Contributor

@djaglowski could you help review this pr?

@JonathanWamsley JonathanWamsley force-pushed the mongodbatlasreceiver-add-metrics-project-config branch from fad2fcd to e8ea275 Compare November 9, 2023 15:58
receiver/mongodbatlasreceiver/receiver.go Outdated Show resolved Hide resolved
receiver/mongodbatlasreceiver/receiver.go Outdated Show resolved Hide resolved
receiver/mongodbatlasreceiver/receiver.go Outdated Show resolved Hide resolved
receiver/mongodbatlasreceiver/receiver.go Outdated Show resolved Hide resolved
@JonathanWamsley JonathanWamsley force-pushed the mongodbatlasreceiver-add-metrics-project-config branch from e8ea275 to 0ccc082 Compare November 15, 2023 19:34
@JonathanWamsley JonathanWamsley force-pushed the mongodbatlasreceiver-add-metrics-project-config branch from 91ab449 to ab0ba87 Compare November 16, 2023 19:55
@djaglowski djaglowski merged commit 8372ccc into open-telemetry:main Nov 17, 2023
83 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 17, 2023
graphaelli pushed a commit to graphaelli/opentelemetry-collector-contrib that referenced this pull request Nov 17, 2023
…metry#28866)

**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 <jaglows3@gmail.com>
aishyandapalli pushed a commit to aishyandapalli/opentelemetry-collector-contrib that referenced this pull request Nov 17, 2023
…metry#28866)

**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 <jaglows3@gmail.com>
RoryCrispin pushed a commit to ClickHouse/opentelemetry-collector-contrib that referenced this pull request Nov 24, 2023
…metry#28866)

**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 <jaglows3@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants