Can this library help us to get dashboard data from grafana?
Sunyelw opened this issue · 1 comments
Sunyelw commented
I got an requirement to obtain the highest tps
by java, which can resolve it by PromQL and Grafana dashboard like this:
rate(gateway_requests_seconds_count{application=~"xxxx"}[1m])
But I do not know how to get this highest tps
from Grafana by Java Program in periods. ( such as a week、a month or a year )
mauhiz commented
I suppose you should query your datasource directly