← 返回命令列表

Linux command

grafana 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start Grafana server

grafana server

Start Grafana server

grafana-server

Start with config file

grafana server --config [/etc/grafana/grafana.ini]

Check version

grafana server -v

Run the admin CLI

grafana cli admin reset-admin-password [newpass]

Access web interface

http://localhost:3000

说明

Grafana is an open-source analytics and visualization platform. It creates dashboards for monitoring metrics from data sources like Prometheus, InfluxDB, Elasticsearch, and many others. Grafana provides rich visualization options including graphs, tables, heatmaps, and alerting. It is commonly used for infrastructure monitoring, application metrics, and business analytics.

参数

--config _file_
Configuration file path.
--homepath _path_
Grafana home directory.
--pidfile _file_
PID file path.
-v, --version
Show version.

FAQ

What is the grafana command used for?

Grafana is an open-source analytics and visualization platform. It creates dashboards for monitoring metrics from data sources like Prometheus, InfluxDB, Elasticsearch, and many others. Grafana provides rich visualization options including graphs, tables, heatmaps, and alerting. It is commonly used for infrastructure monitoring, application metrics, and business analytics.

How do I run a basic grafana example?

Run `grafana server` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --config _file_ do in grafana?

Configuration file path.