grafana-api-java-client icon indicating copy to clipboard operation
grafana-api-java-client copied to clipboard

Can this library help us to get dashboard data from grafana?

Open Sunyelw opened this issue 3 years ago • 1 comments

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])

dashboard image

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 )

Sunyelw avatar Feb 09 '22 02:02 Sunyelw

I suppose you should query your datasource directly

mauhiz avatar Mar 20 '23 10:03 mauhiz