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

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

Open
Sunyelw opened this issue Feb 9, 2022 · 1 comment
Open

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

Sunyelw opened this issue Feb 9, 2022 · 1 comment

Comments

@Sunyelw
Copy link

Sunyelw commented Feb 9, 2022

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 )

@mauhiz
Copy link

mauhiz commented Mar 20, 2023

I suppose you should query your datasource directly

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