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

how to use is? #12

Open
nujo opened this issue Mar 30, 2022 · 1 comment
Open

how to use is? #12

nujo opened this issue Mar 30, 2022 · 1 comment

Comments

@nujo
Copy link

nujo commented Mar 30, 2022

Hi, need some guidance on how to use. Seems it does not provide the metrics by itself, i need to probe it?
curl to localhost:9747/metrics doesn't provide the metrics listed in the documentation

i've noticed /probe endpoint, tried it with no luck

sve_bluecmd]$ curl localhost:9747/probe?target=spectrum_power_watts
probe: Unsupported scheme ""
@nujo
Copy link
Author

nujo commented Mar 30, 2022

stupid me...
it works like this: curl localhost:9747/probe?target=https://my_device:7443

and the prometheus config is required to scrape

metrics_path: /probe
params:
  target: [https://my_device:7443]

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