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/mongodbatlas] Retrieve Alerts Data Through Firewall #14121

Closed
schmikei opened this issue Sep 14, 2022 · 2 comments · Fixed by #14180
Closed

[receiver/mongodbatlas] Retrieve Alerts Data Through Firewall #14121

schmikei opened this issue Sep 14, 2022 · 2 comments · Fixed by #14180
Assignees
Labels

Comments

@schmikei
Copy link
Contributor

schmikei commented Sep 14, 2022

Is your feature request related to a problem? Please describe.

The MongoDB Atlas receiver currently can collect alerts via webhooks. This doesn't work for all customers as they may not be able to open a port in the firewall to accept incoming alerts.

We should add an alternative that allows us to scrape the API for Alerts so that this user case is accomplished.

Describe the solution you'd like

I'd like to propose that we introduce a new mode parameter for the alerts config as to dictate whether to listen or retrieve logs from the API.

receivers:
  mongodbatlas:
    alerts:
      enabled: true
      # new parameters
      mode: poll # one of poll or listen
      projects:
      - name: project-1
        exclude_clusters: [internal_cluster]
        include_clusters: []

Describe alternatives you've considered

Deliberated between adding a new config or mode only parameters and feel like this would be my preference happy to hear other thoughts/concerns though!

Additional context

No response

@schmikei schmikei added enhancement New feature or request needs triage New item requiring triage labels Sep 14, 2022
@schmikei
Copy link
Contributor Author

I will be taking a look at addressing this

@github-actions
Copy link
Contributor

Pinging code owners: @zenmoto. See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants