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

Cant get this working #3

Open
bitcrusherr opened this issue May 18, 2023 · 6 comments
Open

Cant get this working #3

bitcrusherr opened this issue May 18, 2023 · 6 comments

Comments

@bitcrusherr
Copy link

bitcrusherr commented May 18, 2023

Only steps i have not followed and that is running it as a system service as i do not wish to

I have run the service which states running and shows listen address localhost:9500

copy and pasted your config into Prometheus but nothing shows up in Prometheus dashboard / gui

@arifintahu
Copy link
Contributor

hi, have you replaced <node hostname or IP>:9500 with your address in prometheus config? and how about if you hit http://127.0.0.1:9500/metrics/coins?ids=cosmos is it working?

@bitcrusherr
Copy link
Author

You instructions need updating, i know to edit the hostname or ip though you were missing ' around job_name its working now thanks yesterday was tired today clear head its here!

Also next time make it so the "request processed aren't printed over everything (Not sure of correct term sorry)

Thanks appreciate the software

- job_name: 'coins-exporter' scrape_interval: 15s metrics_path: /metrics/coins static_configs: - targets: - juno-network,cosmos,osmosis,lukso-token relabel_configs: - source_labels: [__address__] target_label: __param_ids - source_labels: [__param_ids] target_label: instance - target_label: __address__ replacement: localhost:9500

@bitcrusherr
Copy link
Author

Sometimes Prometheus returns with a null / 0 value from coins-exporter

@arifintahu
Copy link
Contributor

Alright thanks for letting me know. Will update instructions later.
There's a rate limit of 40-60 requests per minute on Coingecko API, so it's better to set scrape interval below that rate limit.

@bitcrusherr
Copy link
Author

That is all useful information to list in description! I am putting together something for a coin that uses this, everything is linked to your github so as much information would benefit other users!

@arifintahu
Copy link
Contributor

alright noted!

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

2 participants