Open shifty11 opened 2 years ago
i had the same issue on JUNO,
the query return me the result after 3m55s ...
:warning: Be careful, this could DDoS your validator
Ah yes I see now that it takes between 2 and 3 minutes. Well okay in that case I will scrape it once every 5 or 10 minutes and it should be fine.
Do you have any idea why is it that long ? I'm running it on Stargaze, Ki, Cheqd, I don't have any issue...
I don't know I run it on Chihuahua, Dig and Kava. Only Kava makes troubles. I will post it if I find out more.
After a chat with @polkachu he had an idea, that could be because the node run indexer="kv"
I'll take a look and keeps in touch
or maybe the --limit
could help
I tried to use it with my Kava node. Everything works except the scraping of validator metrics with a specific address.
Query: MY_IP:9300/metrics/validator?address=kavavaloper16wmsum8eaf6sqmj97k9ayvh3c28u00nuuyt9xt
This is the log output. It seems like the query for delegations never finishes. It has a
Started querying validator delegations
but no end.