Release Notes
Announcements
sudo yum install initscripts urw-fonts wgetwget https://dl.grafana.com/oss/release/grafana-8.4.3-1.x86_64.rpmsudo yum install grafana-8.4.3-1.x86_64.rpmsudo systemctl daemon-reloadsudo systemctl start grafana-serversudo systemctl status grafana-serversudo systemctl enable grafana-server
grafana.ini file.
The default timeout period of Grafana is 30s. When you search for a large amount of data, a timeout may occur. For more information, see Grafana proxy queries timeout after 30s with dataproxy.timeout and dataproxy.keep_alive_seconds to > 30s #35505. We recommend you set the timeout period to 60s to maximize the CLS capabilities. Modify the configuration as follows:[dataproxy]timeout = 60dialTimeout = 60keep_alive_seconds = 60
grafana-cli plugins install grafana-piechart-panelservice grafana-server restart

grafana-cli plugins install tencentcloud-monitor-app# If the plugin cannot be found after the installation, it may be because that the plugin directory is not set to the default directory. In this case, go to the plugin installation directory and run the following command.# If your CVM instance is not on CentOS, confirm the location of the Grafana plugin directory first and go to the directory for installation.grafana-cli --pluginsDir ./ plugins install tencentcloud-monitor-app# If you want to install an unofficial latest version of the plugin or install a beta version, run the following command:grafana-cli --pluginUrl https://github.com/TencentCloud/tencentcloud-monitor-grafana-app/archive/refs/tags/${VERSION}.zip plugins install tencentcloud-monitor-app
service grafana-server restart
http://${Grafana IP address}:3000 (3000 is the default port number) in your browser to log in to Grafana.
CLB Demo Access Log dashboard to view preset content.

analytic_time of the time type and log_count of the numeric type, which can be used to complete the drawing.
* | select histogram( cast(__TIMESTAMP__ as timestamp),interval 1 minute) as analytic_time, count(*) as log_count group by analytic_time order by analytic_time limit 1000
Value Options - show chart configuration item on the right must be set to All values).* | select try_cast(status as varchar) as status, count(*) as log_count group by status
status of the character type and log_count of the numeric type. Grafana automatically selects the character type as the tag for drawing.try_cast is not used for type conversion, the chart drawing effect will be affected.
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback