How to configure go+grafana+influxdb
This article introduces the relevant knowledge of "how to configure go+grafana+influxdb". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
/ / launch and log in to grafana. Default username / password: admin/admin
/ / configure grafana data source
/ / url configuration influxdb default service http://localhost:8086, Select database, user name password
/ / Click the save&test button to save and test the connection
/ / create a large screen view
/ / Select the data to be displayed and the refresh time of the data display. In figure 1, the host_info data table is selected and the average value of the cpu_used_percent field is queried. Figure 2, select the refresh time, click apply
/ / the effect of successful application is as follows
/ / Click the pc icon in the upper right corner to display a large screen
/ / when using the grafana template, be sure to select the data source first when using the template. We are using influxdb now.
Grafana official template address
/ / choose your own template according to your business needs
/ / Click the template to enter and copy the id
/ / Home page import
/ / enter id and load
/ / Select a template data source
/ / populate data
This is the end of "how to configure go+grafana+influxdb". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!