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

NRQL Drop Rule Getter Function #911

Open
tamirFireFly opened this issue Jun 21, 2022 · 3 comments
Open

NRQL Drop Rule Getter Function #911

tamirFireFly opened this issue Jun 21, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@tamirFireFly
Copy link

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 :)

@stale
Copy link

stale bot commented Jul 10, 2022

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 stale bot added the stale Issue or PR has been inactive for a period of time. This label is configured in stale-bot. label Jul 10, 2022
@kidk kidk removed the stale Issue or PR has been inactive for a period of time. This label is configured in stale-bot. label Jul 13, 2022
@kidk
Copy link
Contributor

kidk commented Jul 26, 2022

Hi @tamirFireFly thanks for your request.

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.

@kidk kidk added the enhancement New feature or request label Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants