newrelic-cli icon indicating copy to clipboard operation
newrelic-cli copied to clipboard

Are there any plans to implement a feature to be able to communicate with New Relic Alerts?

Open shokada opened this issue 2 years ago • 4 comments

Feature Description

I want to create and delete muting rules from newrelic-cli.

Additional context

It seems that newrelic-client-go already has a feature to communicate with New Relic Alerts. https://github.com/newrelic/newrelic-client-go/tree/main/pkg/alerts

shokada avatar Feb 27 '22 09:02 shokada

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Mar 26 '22 21:03 stale[bot]

Thanks for suggestion @shokada We'll keep this into account for further development.

As a workaround today I would advise taking a look at Terraform and the newrelic_alert_muting_rule resource: https://registry.terraform.io/providers/newrelic/newrelic/latest/docs/resources/alert_muting_rule

kidk avatar Apr 06 '22 10:04 kidk

@kidk

We'll keep this into account for further development.

Thanks!

As a workaround today I would advise taking a look at Terraform and the newrelic_alert_muting_rule resource:

Thank you for sharing your workaround. I will try to create a mute with the workaround you mentioned.

shokada avatar Apr 06 '22 23:04 shokada

Cool, let us know how it goes and if you have any questions on: https://github.com/newrelic/terraform-provider-newrelic

kidk avatar Apr 07 '22 09:04 kidk