简体   繁体   中英

Grafana - Number of requests exceeds SLA

I would like to have a bar chart in Grafana with number of requests exceeds SLA. Is there a function or how can I achieve this?

You'll need to connect to the database that stores the number of requests. To do this you'll have to have a datasource plugin that provides the connectivity within Grafana. There are a number of 'out of the box' data source plugins available with Grafana.

If your database isn't listed there you'll need to create your own data source plugin, following the instructions here . It's important to note that to create your own plugins you need to be able to code in either JavaScript or a language that compiles to JavaScript such as TypeScript.

Once you have your data source plugin connecting to you database it should be rather trivial to get a bar chart on screen using the Graph panel.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM