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

Target (RestAPI) with multiple Parameters #229

Open
ebachman24 opened this issue May 2, 2023 · 0 comments
Open

Target (RestAPI) with multiple Parameters #229

ebachman24 opened this issue May 2, 2023 · 0 comments

Comments

@ebachman24
Copy link

I'm having issues when targeting restAPI endpoints with multiple Parameters.
For instance im trying to scrape a REST API endpoint from AppDynamics.

https://Our AppD account/controller/rest/applications/application/metric-data?metric-path=Overall%20Application%20Performance%7CCalls%20per%20Minute&output=JSON&rollup=true&time-range-type=BEFORE_NOW&duration-in-mins=5

So a given scrape using json_exporter would be...

http://host:7979/probe?module=AppDMetrics&target=https://Our AppD account/controller/rest/applications/application/metric-data%3Fmetric-path=Overall%20Application%20Performance%7CCalls%20per%20Minute%26output=JSON%26rollup=true%26time-range-type=BEFORE_NOW%26duration-in-mins=5

I've tried this percentencode version as well as the normal version - 400 error each time

Is there a specified way to scrape endpoints that have parameters within the URL?
Is it possible to scrape endpoints with parameters?

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

No branches or pull requests

1 participant