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

Specifying endpoint in config YAML #353

Open
agardnerIT opened this issue Jan 6, 2025 · 0 comments
Open

Specifying endpoint in config YAML #353

agardnerIT opened this issue Jan 6, 2025 · 0 comments

Comments

@agardnerIT
Copy link

I feel like I'm missing something, but it feels odd to me that I specify the JSONPath in the config file but not the endpoint.

For beginners to this exporter (like me), this leads to confusion because the obvious question is: "the json_exporter knows which metric I care about (and how to retrieve it) but it doesn't know where to go and retrieve it".

To me, this is counterintuitively set in Prometheus.

As I say, I feel like I'm missing some foundational knowledge that would help explain this design decision. Can anyone help?

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