You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't have a get function available in the API so there's no way to implement this. I think the only option is to loop the list to find the right one.
Feature Description
Function for GetNRQLDropRule by its id. Currently there is only list function and we need to search
Describe Alternatives
Currently i use the list and search it.
The list from here
https://github.com/newrelic/newrelic-client-go/blob/main/pkg/nrqldroprules/nrqldroprules_api.go
Additional context
Also list and get for nrql alert conditions would be nice :)
The text was updated successfully, but these errors were encountered: