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

Composite Monitor Notification Channel Dropdown Empty #952

Closed
skyallenm opened this issue May 17, 2024 · 5 comments
Closed

Composite Monitor Notification Channel Dropdown Empty #952

skyallenm opened this issue May 17, 2024 · 5 comments
Labels
bug Something isn't working untriaged

Comments

@skyallenm
Copy link

Describe the bug

moniter

Related component

Other

To Reproduce

  1. alert tab
  2. select composite monitor
  3. add trigger
  4. notification channel dropdown

Expected behavior

In composite monitor Notification channel list should be display.

Additional Details

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@skyallenm skyallenm added bug Something isn't working untriaged labels May 17, 2024
@skyallenm skyallenm changed the title composite monitor notification channel dropdown Empty even have channel list Composite Monitor Notification Channel Dropdown Empty May 17, 2024
@andrross
Copy link
Member

@opensearch-project/triage Can you transfer this to the https://github.com/opensearch-project/OpenSearch-Dashboards repo?

@bbarani bbarani transferred this issue from opensearch-project/OpenSearch May 17, 2024
@KyongSik-Yoon
Copy link

KyongSik-Yoon commented May 20, 2024

I have also same problem in "Per query monitor"
Registering two channels(mail, slack) is not appeared.
Each of channel send test success.

I'm using opensearch 2.14.0

  • Channels
    image

  • Actions in Alerts
    image

@AWSHurneyt
Copy link
Collaborator

@opensearch-project/opensearch-dashboards-core
Could someone transfer this to the https://github.com/opensearch-project/alerting-dashboards-plugin repo? The alerting team will take a look.

@huyaboo
Copy link
Member

huyaboo commented May 21, 2024

@opensearch-project/opensearch-dashboards-core
Could someone transfer this to the https://github.com/opensearch-project/alerting-dashboards-plugin repo? The alerting team will take a look.

@opensearch-project/admin ^

@huyaboo huyaboo removed the untriaged label May 21, 2024
@bbarani bbarani transferred this issue from opensearch-project/OpenSearch-Dashboards May 21, 2024
@AWSHurneyt
Copy link
Collaborator

@skyallenm and @KyongSik-Yoon Thanks for reporting this! We've tracked down the cause of this bug.

The following commit refactored the response object that gets returned by the API the Alerting UI uses to retrieve the channels.
opensearch-project/dashboards-notifications@640535e#diff-6495f662f11eb9366b891c845ddac043c64b34f3a11695a2bdb0d55f58169d4cR226

That commit was included in the 2.14 release, but the corresponding PR for the Alerting UI was not (PR #916). We're getting that fix backported so it's included in the next 2.14 patch.

In the meantime, a workaround would involve creating your monitor, and then using the UpdateMonitor API (documentation link) to add an action to your trigger.

For now, I'll close this issue as the fix will be backported today; but feel free to comment if you have additional questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

5 participants