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

Retrieve all detectors #233

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Retrieve all detectors #233

wants to merge 1 commit into from

Conversation

mudejar
Copy link

@mudejar mudejar commented Dec 15, 2024

This merge request adds code that sends a GET request to the /v2/detector endpoint documented in the following page: https://dev.splunk.com/observability/reference/api/detectors/latest#endpoint-retrieve-detectors-query

This follows the same pattern used in the other endpoints for retrieving objects with the signalfx API. Changes have been tested locally to insure that it works as intended.

@mudejar mudejar requested review from a team as code owners December 15, 2024 23:56
go.mod Outdated Show resolved Hide resolved
detector.go Show resolved Hide resolved
detector.go Show resolved Hide resolved
Copy link
Contributor

@atoulme atoulme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

2 participants